linux/drivers/pci
Sheng Yang c5b1525533 intel-iommu: Fix enabling snooping feature by mistake
Two defects work together result in KVM device passthrough randomly can't
work:
1. iommu_snooping is not initialized to zero when vm_iommu_init() called.
So it is possible to get a random value.
2. One line added by commit 2c2e2c38("IOMMU Identity Mapping Support")
change the code path, let it bypass domain_update_iommu_cap(), as well as
missing the increment of domain iommu reference count.

The latter is also likely to cause a leak of domains on repeated VMM 
assignment and deassignment.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-08-06 11:35:50 +01:00
..
hotplug headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
pcie PCI ECRC: Remove unnecessary semicolons 2009-06-29 12:10:35 -07:00
.gitignore
access.c
bus.c
dmar.c
hotplug-pci.c
hotplug.c
htirq.c
intel-iommu.c intel-iommu: Fix enabling snooping feature by mistake 2009-08-06 11:35:50 +01:00
intr_remapping.c
intr_remapping.h
iov.c
iova.c Fix iommu address space allocation 2009-07-01 11:19:29 -07:00
irq.c
Kconfig
Makefile
msi.c PCI MSI: Fix restoration of MSI/MSI-X mask states in suspend/resume 2009-06-29 12:18:13 -07:00
msi.h PCI MSI: shorten PCI_MSIX_ENTRY_* symbol names 2009-06-29 12:15:19 -07:00
pci-acpi.c
pci-driver.c
pci-stub.c
pci-sysfs.c
pci.c PCI: Fix IRQ swizzling for ARI-enabled devices 2009-07-01 14:24:30 -07:00
pci.h
probe.c
proc.c
quirks.c PCI: More PATA quirks for not entering D3 2009-06-29 12:14:04 -07:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c Make pci_claim_resource() use request_resource() rather than insert_resource() 2009-08-02 14:10:18 -07:00
slot.c PCI: fix kernel-doc warnings 2009-06-29 12:13:56 -07:00
syscall.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00