drm/amdgpu: Fix register access violation
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 21 Jun 2024 03:25:30 +0000 (11:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:10:35 +0000 (17:10 -0400)
commit9da0f7736763aa0fbf63bb15060c6827135f3f67
treec4262fb7804b2d30a7d257bf5ce2df2556c50248
parent4fa0046f11d998c39689ece909b912527081e558
drm/amdgpu: Fix register access violation

fault_status is read only register. fault_cntl
is not accessible from guest environment.

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