drm/amdgpu: update check condition for XGMI ACA UE
Subsystems (2)
PATCH 1/1 drm/amdgpu: update check condition for XGMI ACA UE
Check more possibile ext error codes.
Signed-off-by Tao Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +3 -1
@@ -1066,7 +1066,9 @@ static int xgmi_v6_4_0_aca_bank_parser(struct aca_handle *handle, struct aca_banswitch (type) {case ACA_SMU_TYPE_UE : - count = ext_error_code ==0 ? count :0ULL ; +if (ext_error_code !=0 && ext_error_code !=9 ) + count =0ULL ; + ret =aca_error_cache_log_bank_error (handle, &info,ACA_ERROR_TYPE_UE , count);break ;case ACA_SMU_TYPE_CE :
Signature · 1 line
2.34.1
[AMD Official Use Only - General]
Reviewed-by Yang Wang <[email protected]>
Best Regards,
Kevin
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Tao Zhou
Sent: Monday, April 1, 2024 3:50 PM
To: [email protected]
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH] drm/amdgpu: update check condition for XGMI ACA UE
Check more possibile ext error codes.
Signed-off-by Tao Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +3 -1
@@ -1066,7 +1066,9 @@ static int xgmi_v6_4_0_aca_bank_parser(struct aca_handle *handle, struct aca_banswitch (type) {case ACA_SMU_TYPE_UE : - count = ext_error_code ==0 ? count :0ULL ; +if (ext_error_code !=0 && ext_error_code !=9 ) + count =0ULL ; + ret =aca_error_cache_log_bank_error (handle, &info,ACA_ERROR_TYPE_UE , count);break ;case ACA_SMU_TYPE_CE :
--
2.34.1