mbox series

[v2,0/4] vpci: first series in preparation for vpci on ARM

Message ID 20220718211521.664729-1-volodymyr_babchuk@epam.com (mailing list archive)
Headers show
Series vpci: first series in preparation for vpci on ARM | expand

Message

Volodymyr Babchuk July 18, 2022, 9:15 p.m. UTC
Hello all,

While Oleksandr Andrushchenko is busy with more important matters, I
want to continue his work on preparing different Xen subsystems to
support PCI on ARM platform.

This patch series are mostly focused on next take of PCI locking
rework. It introduces reentrant read/write locking mechanism for
pcidevs, which will be immediatelly used to decouple readers and
writers in the PCI code. There are also some minor changes to a
related vpci code.

Oleksandr Andrushchenko (3):
  pci: add rwlock to pcidevs_lock machinery
  vpci: restrict unhandled read/write operations for guests
  vpci: use pcidevs locking to protect MMIO handlers

Volodymyr Babchuk (1):
  vpci: include xen/vmap.h to fix build on ARM

 xen/arch/x86/hvm/vmsi.c       | 46 +++++++++++++++++--------
 xen/arch/x86/irq.c            |  8 ++---
 xen/arch/x86/msi.c            | 16 ++++-----
 xen/drivers/passthrough/pci.c | 65 +++++++++++++++++++++++++++++++----
 xen/drivers/vpci/header.c     | 24 +++++++++++--
 xen/drivers/vpci/msi.c        | 21 +++++++----
 xen/drivers/vpci/msix.c       | 55 +++++++++++++++++++++++++----
 xen/drivers/vpci/vpci.c       | 29 +++++++++++++---
 xen/include/xen/pci.h         | 11 +++++-
 xen/include/xen/vpci.h        |  2 +-
 10 files changed, 223 insertions(+), 54 deletions(-)