Skip to content

Commit c40c946

Browse files
Stanley.Yangalexdeucher
authored andcommitted
drm/amd/ras: statistic xgmi training error count
Report xgmi training error uncorrectable error count. Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent d6e04d2 commit c40c946

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/ras/rascore/ras_aca_v1_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ static int aca_parse_xgmi_bank(struct ras_core_context *ras_core,
299299

300300
count = ACA_REG_MISC0_ERRCNT(bank->regs[ACA_REG_IDX__MISC0]);
301301
if (bank->ecc_type == RAS_ERR_TYPE__UE) {
302-
if (ext_error_code != 0 && ext_error_code != 9)
302+
if (ext_error_code != 0 && ext_error_code != 1 && ext_error_code != 9)
303303
count = 0ULL;
304304
ecc->ue_count = count;
305305
} else if (bank->ecc_type == RAS_ERR_TYPE__CE) {

0 commit comments

Comments
 (0)