summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorJingwen Chen <Jingwen.Chen2@amd.com>2021-07-01 10:19:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-07-08 15:12:58 -0400
commitb5840166dcb8bb03daa420f6c84eb78d46b713e7 (patch)
treeaec238e6c1a74bfc6d6c826b90e67d3255134c69 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parentc0838d3a93fc5e51b4a9654f53f499da1778dad8 (diff)
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