diff options
author | 2021-07-01 10:19:17 +0800 | |
---|---|---|
committer | 2021-07-08 15:12:58 -0400 | |
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 | wireguard-linux-b5840166dcb8bb03daa420f6c84eb78d46b713e7.tar.xz wireguard-linux-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 <Jingwen.Chen2@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
0 files changed, 0 insertions, 0 deletions