Skip to contentSkip to conversation

drm/amdgpu: statistic xgmi training error count

PATCH In review Stanley.Yang 2 participants 2 messages Jan 23 – Jan 27

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: statistic xgmi training error count

Report xgmi training error uncorrectable error count.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +1 -1
index 95f3611d743b..a220fa6dcd6e 100644
@@ -1199,7 +1199,7 @@ static int xgmi_v6_4_0_aca_bank_parser(struct aca_handle *handle, struct aca_ban
 
 	switch (type) {
 	case ACA_SMU_TYPE_UE:
-		if (ext_error_code != 0 && ext_error_code != 9)
+		if (ext_error_code != 0 && ext_error_code != 1 && ext_error_code != 9)
 			count = 0ULL;
 
 		bank->aca_err_type = ACA_ERROR_TYPE_UE;
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - AMD Internal Distribution Only]

Quoted 33 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Stanley.Yang
Sent: Friday, January 23, 2026 7:28 PM
To: [email protected]
Cc: Yang, Stanley <[email protected]>
Subject: [PATCH Review 1/1] drm/amdgpu: statistic xgmi training error count

Report xgmi training error uncorrectable error count.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +0 -0
index 95f3611d743b..a220fa6dcd6e 100644
@@ -1199,7 +1199,7 @@ static int xgmi_v6_4_0_aca_bank_parser(struct

aca_handle *handle, struct aca_ban

      switch (type) {
      case ACA_SMU_TYPE_UE:
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +1 -1
-             if (ext_error_code != 0 && ext_error_code != 9)
+             if (ext_error_code != 0 && ext_error_code != 1 && ext_error_code !=

9)

                      count = 0ULL;

              bank->aca_err_type = ACA_ERROR_TYPE_UE;

--
2.25.1