[PATCH v3 0/3] xen/pci: Make PCI passthrough code non-x86 specific

Rahul Singh posted 3 patches 3 weeks ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1619453100.git.rahul.singh@arm.com
xen/arch/x86/Kconfig                    |  1 +
xen/drivers/passthrough/Makefile        |  1 +
xen/drivers/passthrough/msi-intercept.c | 93 +++++++++++++++++++++++++
xen/drivers/passthrough/pci.c           | 57 +++------------
xen/drivers/pci/Kconfig                 |  4 ++
xen/drivers/vpci/Makefile               |  3 +-
xen/drivers/vpci/header.c               | 19 ++---
xen/drivers/vpci/msix.c                 | 25 +++++++
xen/drivers/vpci/vpci.c                 |  3 +-
xen/include/xen/iommu.h                 | 13 +++-
xen/include/xen/msi-intercept.h         | 55 +++++++++++++++
xen/include/xen/pci.h                   | 11 +--
xen/include/xen/vpci.h                  | 23 ++++++
xen/xsm/flask/hooks.c                   |  8 +--
14 files changed, 241 insertions(+), 75 deletions(-)
create mode 100644 xen/drivers/passthrough/msi-intercept.c
create mode 100644 xen/include/xen/msi-intercept.h

[PATCH v3 0/3] xen/pci: Make PCI passthrough code non-x86 specific

Posted by Rahul Singh 3 weeks ago
This patch series is preparatory work to implement the PCI passthrough support
for the ARM architecture.

Rahul Singh (3):
  xen/iommu: Move iommu_update_ire_from_msi(..) to xen/iommu.h
  xen/pci: Refactor PCI MSI intercept related code
  xen/pci: Refactor MSI code that implements MSI functionality within
    XEN

 xen/arch/x86/Kconfig                    |  1 +
 xen/drivers/passthrough/Makefile        |  1 +
 xen/drivers/passthrough/msi-intercept.c | 93 +++++++++++++++++++++++++
 xen/drivers/passthrough/pci.c           | 57 +++------------
 xen/drivers/pci/Kconfig                 |  4 ++
 xen/drivers/vpci/Makefile               |  3 +-
 xen/drivers/vpci/header.c               | 19 ++---
 xen/drivers/vpci/msix.c                 | 25 +++++++
 xen/drivers/vpci/vpci.c                 |  3 +-
 xen/include/xen/iommu.h                 | 13 +++-
 xen/include/xen/msi-intercept.h         | 55 +++++++++++++++
 xen/include/xen/pci.h                   | 11 +--
 xen/include/xen/vpci.h                  | 23 ++++++
 xen/xsm/flask/hooks.c                   |  8 +--
 14 files changed, 241 insertions(+), 75 deletions(-)
 create mode 100644 xen/drivers/passthrough/msi-intercept.c
 create mode 100644 xen/include/xen/msi-intercept.h

-- 
2.17.1