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

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

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

Posted by Rahul Singh 2 weeks, 4 days 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 | 94 +++++++++++++++++++++++++
 xen/drivers/passthrough/pci.c           | 61 ++++------------
 xen/drivers/pci/Kconfig                 |  4 ++
 xen/drivers/vpci/Makefile               |  3 +-
 xen/drivers/vpci/header.c               | 19 ++---
 xen/drivers/vpci/msix.c                 | 55 +++++++++++++++
 xen/drivers/vpci/vpci.c                 |  3 +-
 xen/include/xen/iommu.h                 | 13 +++-
 xen/include/xen/msi-intercept.h         | 56 +++++++++++++++
 xen/include/xen/pci.h                   | 11 +--
 xen/include/xen/vpci.h                  | 41 +++++------
 xen/xsm/flask/hooks.c                   |  8 +--
 14 files changed, 270 insertions(+), 100 deletions(-)
 create mode 100644 xen/drivers/passthrough/msi-intercept.c
 create mode 100644 xen/include/xen/msi-intercept.h

-- 
2.17.1