diff options
| author | Jingwen Chen <[email protected]> | 2021-07-01 02:19:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-07-08 19:12:58 +0000 |
| commit | b5840166dcb8bb03daa420f6c84eb78d46b713e7 (patch) | |
| tree | aec238e6c1a74bfc6d6c826b90e67d3255134c69 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amdgpu: The I2C IP doesn't support 0 writes/reads (diff) | |
| download | kernel-b5840166dcb8bb03daa420f6c84eb78d46b713e7.tar.gz kernel-b5840166dcb8bb03daa420f6c84eb78d46b713e7.zip | |
drm/amdgpu: SRIOV flr_work should take write_lock
[Why]
If flr_work takes read_lock, then other threads who takes
read_lock can access hardware when host is doing vf flr.
[How]
flr_work should take write_lock to avoid this case.
Signed-off-by: Jingwen Chen <[email protected]>
Reviewed-by: Monk Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
0 files changed, 0 insertions, 0 deletions
