diff options
author | Stuart Hayes <[email protected]> | 2024-09-18 23:31:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-21 11:14:52 +0200 |
commit | 4f2c346e621624315e2a1405e98616a0c5ac146f (patch) | |
tree | 2d0ee10568977846fe3d93465760d01b009a9fec /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 6a36d828bdef0e02b1e6c12e2160f5b83be6aab5 (diff) |
driver core: fix async device shutdown hang
Modify device_shutdown() so that supplier devices do not wait for
consumer devices to be shut down first when the devlink is sync state
only, since the consumer is not dependent on the supplier in this case.
Without this change, a circular dependency could hang the system.
Fixes: 8064952c6504 ("driver core: shut down devices asynchronously")
Signed-off-by: Stuart Hayes <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions