aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2020-07-08 12:25:20 -0400
committerMike Snitzer <[email protected]>2020-07-08 12:50:51 -0400
commit6958c1c640af8c3f40fa8a2eee3b5b905d95b677 (patch)
tree3ad740210f4672ce601d1f994b6eb8fcaa6f88ee /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parent174364f6a8979655f71b04b6492657aec3762703 (diff)
dm: use noio when sending kobject event
kobject_uevent may allocate memory and it may be called while there are dm devices suspended. The allocation may recurse into a suspended device, causing a deadlock. We must set the noio flag when sending a uevent. The observed deadlock was reported here: https://www.redhat.com/archives/dm-devel/2020-March/msg00025.html Reported-by: Khazhismel Kumykov <[email protected]> Reported-by: Tahsin Erdogan <[email protected]> Reported-by: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions