]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove ATC L2 access for MMHUB 2.1.x
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 30 Sep 2022 05:13:08 +0000 (10:43 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Oct 2022 18:44:03 +0000 (14:44 -0400)
commit21815c4f06ba7408e8f8941aaea9c488f4cd2be1
tree00cc883c0fd4b1452a2be911dcc17e4938d9d8f1
parentaaa79f35cc7bd71cfd44124f0ab2a3347626de25
drm/amdgpu: Remove ATC L2 access for MMHUB 2.1.x

MMHUB 2.1.x versions don't have ATCL2. Remove accesses to ATCL2 registers.

Since they are non-existing registers, read access will cause a
'Completer Abort' and gets reported when AER is enabled with the below patch.
Tagging with the patch so that this is backported along with it.

v2: squash in uninitialized warning fix (Nathan Chancellor)

Fixes: bf516d716bc3 ("PCI/portdrv: Don't disable AER reporting in get_port_device_capability()")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c