projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26093ce
)
drm/amdgpu: skip whole ras bad page framework on sriov
author
Stanley.Yang
<Stanley.Yang@amd.com>
Mon, 4 Jul 2022 07:41:39 +0000
(15:41 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 5 Jul 2022 20:10:20 +0000
(16:10 -0400)
It should not init whole ras bad page framework on sriov guest side
due to it is handled on host side.
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-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/amdgpu_ras.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index 34ac0c485cb8b5f96641310ddf138f871f67f699..a5b6db5ab53c98baa96664606394e5f6456661ae 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@
-2154,7
+2154,7
@@
int amdgpu_ras_recovery_init(struct amdgpu_device *adev)
bool exc_err_limit = false;
int ret;
- if (!con)
+ if (!con
|| amdgpu_sriov_vf(adev)
)
return 0;
/* Allow access to RAS EEPROM via debugfs, when the ASIC