summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2016-11-08 15:08:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-18 10:48:36 +0100
commit19426f065d1ebb5f8843bbb5771f8f534a63c972 (patch)
tree769c57e1d0f505ab6fb9040884baf876dc7b90b2 /drivers/misc
parentf029e7b34f25cb1cc6ff46d48dfa2a458611b7a9 (diff)
iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
commit bea64033dd7b5fb6296eda8266acab6364ce1554 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions