IOMMU: make the pcidevs_lock a recursive one

Enterprise / Virtualization / Xen - Quan Xu [intel.com] - 14 March 2016 07:00 UTC

The pcidevs_lock is going to be recursively taken for hiding ATS device, when VT-d Device-TLB flush timed out.

bfa493f IOMMU: make the pcidevs_lock a recursive one
xen/arch/x86/domctl.c | 8 +--
xen/arch/x86/hvm/vmsi.c | 4 +-
xen/arch/x86/irq.c | 8 +--
xen/arch/x86/msi.c | 16 ++---
xen/arch/x86/pci.c | 4 +-
xen/arch/x86/physdev.c | 16 ++---
xen/common/sysctl.c | 4 +-
xen/drivers/passthrough/amd/iommu_init.c | 8 +--
xen/drivers/passthrough/amd/iommu_map.c | 2 +-
xen/drivers/passthrough/amd/pci_amd_iommu.c | 4 +-
xen/drivers/passthrough/pci.c | 97 ++++++++++++++++-----------
xen/drivers/passthrough/vtd/intremap.c | 2 +-
xen/drivers/passthrough/vtd/iommu.c | 14 ++--
xen/drivers/video/vga.c | 4 +-
xen/include/xen/pci.h | 5 +-
15 files changed, 110 insertions(+), 86 deletions(-)

Upstream: xenbits.xen.org


  • Share