commit | 91f65facba5add493fffb643acdb258bd9f54eb2 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Tue Feb 03 13:25:51 2015 +0100 |
committer | Joerg Roedel <jroedel@suse.de> | Wed Feb 04 15:33:36 2015 +0100 |
tree | 7bebcccc51912a17e346d02a144852a0bf71b0dd | |
parent | e36f014edff70fc02b3d3d79cead1d58f289332e [diff] |
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: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Joerg Roedel <jroedel@suse.de>