aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3245-drm-amdgpu-remove-the-clear-of-MCA_ADDR.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3245-drm-amdgpu-remove-the-clear-of-MCA_ADDR.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3245-drm-amdgpu-remove-the-clear-of-MCA_ADDR.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3245-drm-amdgpu-remove-the-clear-of-MCA_ADDR.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3245-drm-amdgpu-remove-the-clear-of-MCA_ADDR.patch
new file mode 100644
index 00000000..9a2706ab
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3245-drm-amdgpu-remove-the-clear-of-MCA_ADDR.patch
@@ -0,0 +1,31 @@
+From 2af391bb445728061428dceaabccc6a6e6ab9b48 Mon Sep 17 00:00:00 2001
+From: Tao Zhou <tao.zhou1@amd.com>
+Date: Mon, 29 Jul 2019 10:28:57 +0800
+Subject: [PATCH 3245/4256] drm/amdgpu: remove the clear of MCA_ADDR
+
+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>
+---
+ drivers/gpu/drm/amd/amdgpu/umc_v6_1.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/umc_v6_1.c b/drivers/gpu/drm/amd/amdgpu/umc_v6_1.c
+index bff1a12f2cc9..035e4fea472c 100644
+--- a/drivers/gpu/drm/amd/amdgpu/umc_v6_1.c
++++ b/drivers/gpu/drm/amd/amdgpu/umc_v6_1.c
+@@ -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);
+ }
+ }
+
+--
+2.17.1
+