]> xenbits.xensource.com Git - xen.git/commit
IOMMU/ATS: use a struct pci_dev * instead of SBDF
authorQuan Xu <quan.xu@intel.com>
Fri, 8 Jul 2016 06:44:23 +0000 (00:44 -0600)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Jul 2016 09:50:35 +0000 (10:50 +0100)
commit58869ff6adb483e34091ce052b0ce95f45ffe13f
tree478a13521c5c7aae068d6c125110e237bd974633
parent2ad72c0b4676d62cc72447882306c3df51a6a0f1
IOMMU/ATS: use a struct pci_dev * instead of SBDF

Do away with struct pci_ats_dev; integrate the few bits of information
in struct pci_dev (and as a result drop get_ats_device() altogether).
Hook ATS devices onto a linked list off of each IOMMU instead of on a
global one.

Signed-off-by: Quan Xu <quan.xu@intel.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Quan Xu <quan.xu@intel.com>
xen/drivers/passthrough/amd/iommu_cmd.c
xen/drivers/passthrough/amd/iommu_detect.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/ats.h
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/iommu.h
xen/drivers/passthrough/vtd/x86/ats.c
xen/drivers/passthrough/x86/ats.c
xen/include/asm-x86/amd-iommu.h
xen/include/xen/pci.h