commit | bea64033dd7b5fb6296eda8266acab6364ce1554 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Tue Nov 08 15:08:26 2016 +0100 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Nov 08 15:08:26 2016 +0100 |
tree | cb561548adf7e4712f9c055f22b7c10122402f38 | |
parent | 8c82d6ec5abcf9691d37f329bf5f42f6868405db [diff] |
iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path It turns out that the disable_dmar_iommu() code-path tried to get the device_domain_lock recursivly, which will dead-lock when this code runs on dmar removal. Fix both code-paths that could lead to the dead-lock. Fixes: 55d940430ab9 ('iommu/vt-d: Get rid of domain->iommu_lock') Signed-off-by: Joerg Roedel <jroedel@suse.de>