mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-06 05:35:19 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
d6e04d2e67
commit
c40c94693c
@@ -299,7 +299,7 @@ static int aca_parse_xgmi_bank(struct ras_core_context *ras_core,
|
||||
|
||||
count = ACA_REG_MISC0_ERRCNT(bank->regs[ACA_REG_IDX__MISC0]);
|
||||
if (bank->ecc_type == RAS_ERR_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;
|
||||
ecc->ue_count = count;
|
||||
} else if (bank->ecc_type == RAS_ERR_TYPE__CE) {
|
||||
|
||||
Reference in New Issue
Block a user