[Xen-devel] [PATCH v3 0/4] iommu groups + cleanup

Paul Durrant posted 4 patches 4 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20190716101657.23327-1-paul.durrant@citrix.com
xen/drivers/passthrough/Makefile            |   1 +
xen/drivers/passthrough/amd/pci_amd_iommu.c |   3 +-
xen/drivers/passthrough/groups.c            | 137 ++++++++++++++++++++++
xen/drivers/passthrough/pci.c               | 172 +++++++++++-----------------
xen/drivers/passthrough/vtd/iommu.c         |   4 -
xen/drivers/passthrough/x86/iommu.c         |  14 ++-
xen/include/xen/iommu.h                     |  10 ++
xen/include/xen/pci.h                       |   3 +
8 files changed, 236 insertions(+), 108 deletions(-)
create mode 100644 xen/drivers/passthrough/groups.c
[Xen-devel] [PATCH v3 0/4] iommu groups + cleanup
Posted by Paul Durrant 4 years, 8 months ago
This series is a mixture of tidying and some preparatory work for grouping
PCI devices for the purposes of assignment.

Paul Durrant (4):
  iommu / x86: move call to scan_pci_devices() out of vendor code
  pci: add all-device iterator function...
  iommu: introduce iommu_groups
  iommu / pci: re-implement XEN_DOMCTL_get_device_group...

 xen/drivers/passthrough/Makefile            |   1 +
 xen/drivers/passthrough/amd/pci_amd_iommu.c |   3 +-
 xen/drivers/passthrough/groups.c            | 137 ++++++++++++++++++++++
 xen/drivers/passthrough/pci.c               | 172 +++++++++++-----------------
 xen/drivers/passthrough/vtd/iommu.c         |   4 -
 xen/drivers/passthrough/x86/iommu.c         |  14 ++-
 xen/include/xen/iommu.h                     |  10 ++
 xen/include/xen/pci.h                       |   3 +
 8 files changed, 236 insertions(+), 108 deletions(-)
 create mode 100644 xen/drivers/passthrough/groups.c
---
v2:
 - Drop iommu_get_ops() move and add all-device iterator

Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Brian Woods <brian.woods@amd.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Julien Grall <julien.grall@arm.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Cc: Tim Deegan <tim@xen.org>
Cc: Wei Liu <wl@xen.org>
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel