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

Rahul Singh posted 2 patches 2 years, 11 months ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1620661205.git.rahul.singh@arm.com
xen/arch/x86/Kconfig                    |  1 +
xen/drivers/passthrough/Makefile        |  1 +
xen/drivers/passthrough/msi-intercept.c | 96 +++++++++++++++++++++++++
xen/drivers/passthrough/pci.c           | 54 ++++----------
xen/drivers/pci/Kconfig                 |  4 ++
xen/drivers/vpci/Makefile               |  3 +-
xen/drivers/vpci/header.c               | 19 ++---
xen/drivers/vpci/msix.c                 | 54 ++++++++++++++
xen/drivers/vpci/vpci.c                 |  3 +-
xen/include/xen/msi-intercept.h         | 57 +++++++++++++++
xen/include/xen/pci.h                   | 11 +--
xen/include/xen/vpci.h                  | 43 +++++------
xen/xsm/flask/hooks.c                   |  8 +--
13 files changed, 262 insertions(+), 92 deletions(-)
create mode 100644 xen/drivers/passthrough/msi-intercept.c
create mode 100644 xen/include/xen/msi-intercept.h
[PATCH v5 0/2] xen/pci: Make PCI passthrough code non-x86 specific
Posted by Rahul Singh 2 years, 11 months ago
This patch series is preparatory work to implement the PCI passthrough support
for the ARM architecture.

Rahul Singh (2):
  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 | 96 +++++++++++++++++++++++++
 xen/drivers/passthrough/pci.c           | 54 ++++----------
 xen/drivers/pci/Kconfig                 |  4 ++
 xen/drivers/vpci/Makefile               |  3 +-
 xen/drivers/vpci/header.c               | 19 ++---
 xen/drivers/vpci/msix.c                 | 54 ++++++++++++++
 xen/drivers/vpci/vpci.c                 |  3 +-
 xen/include/xen/msi-intercept.h         | 57 +++++++++++++++
 xen/include/xen/pci.h                   | 11 +--
 xen/include/xen/vpci.h                  | 43 +++++------
 xen/xsm/flask/hooks.c                   |  8 +--
 13 files changed, 262 insertions(+), 92 deletions(-)
 create mode 100644 xen/drivers/passthrough/msi-intercept.c
 create mode 100644 xen/include/xen/msi-intercept.h

-- 
2.17.1