diff options
author | Joerg Roedel <jroedel@suse.de> | 2016-11-08 15:08:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-18 10:48:36 +0100 |
commit | 19426f065d1ebb5f8843bbb5771f8f534a63c972 (patch) | |
tree | 769c57e1d0f505ab6fb9040884baf876dc7b90b2 /kernel/async.c | |
parent | f029e7b34f25cb1cc6ff46d48dfa2a458611b7a9 (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 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions