Skip to content
Commit 91f65fac authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Joerg Roedel
Browse files

iommu/amd: Fix amd_iommu_free_device()



put_device_state_wait() doesn't loop on the condition and a spurious
wakeup will have it free the device state even though there might still
be references out to it.

Fix this by using 'normal' wait primitives.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent e36f014e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment