mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
drm/amdgpu: add deferred error check for UMC v12 address query
Both RAS UE and deferred errors need page retirement. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f53deddb6b
commit
2c684b9342
|
|
@ -348,7 +348,8 @@ static int umc_v12_0_query_error_address(struct amdgpu_device *adev,
|
|||
}
|
||||
|
||||
/* calculate error address if ue error is detected */
|
||||
if (umc_v12_0_is_uncorrectable_error(adev, mc_umc_status)) {
|
||||
if (umc_v12_0_is_uncorrectable_error(adev, mc_umc_status) ||
|
||||
umc_v12_0_is_deferred_error(adev, mc_umc_status)) {
|
||||
mc_umc_addrt0 =
|
||||
SOC15_REG_OFFSET(UMC, 0, regMCA_UMC_UMC0_MCUMC_ADDRT0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user