projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa643cd
)
drm/amdgpu: update check condition for XGMI ACA UE
author
Tao Zhou
<tao.zhou1@amd.com>
Mon, 1 Apr 2024 07:46:16 +0000
(15:46 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 10 Apr 2024 02:08:47 +0000
(22:08 -0400)
Check more possible ext error codes.
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
index
523827e
..
dd2ec48
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
@@
-1060,7
+1060,9
@@
static int xgmi_v6_4_0_aca_bank_parser(struct aca_handle *handle, struct aca_ban
switch (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: