]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/amdgpu: remove the clear of MCA_ADDR
authorTao Zhou <tao.zhou1@amd.com>
Mon, 29 Jul 2019 02:28:57 +0000 (10:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:38 +0000 (10:30 -0500)
clearing MCA_STATUS is enough to reset the whole MCA, writing zero to
MCA_ADDR is unnecessary

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/umc_v6_1.c

index bff1a12f2cc93ad442d48b60b2054d3c92460a4b..035e4fea472c56f58b49e3e4df27060557e5d74c 100644 (file)
@@ -229,8 +229,6 @@ static void umc_v6_1_query_ras_error_address(struct amdgpu_device *adev,
 
                        /* clear umc status */
                        WREG64(mc_umc_status_addr + umc_reg_offset, 0x0ULL);
-                       /* clear error address register */
-                       WREG64_PCIE(smnMCA_UMC0_MCUMC_ADDRT0 + umc_reg_offset * 4, 0x0ULL);
                }
        }