mbox series

[v3,0/3] xen: Fix usage of devices behind a VMD bridge

Message ID 20250219092059.90850-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series xen: Fix usage of devices behind a VMD bridge | expand

Message

Roger Pau Monné Feb. 19, 2025, 9:20 a.m. UTC
Hello,

The following series should fix the usage of devices behind a VMD bridge
when running Linux as a Xen PV hardware domain (dom0).  I've only been
able to test PV. I think PVH should also work but I don't have hardware
capable of testing it right now.

I don't expect the first two patches to be problematic, the last patch
is likely to be more controversial.  I've tested it internally and
didn't see any issues, but my testing of PV mode is mostly limited to
dom0.

Thanks, Roger.

Roger Pau Monne (3):
  xen/pci: Do not register devices with segments >= 0x10000
  PCI: vmd: Disable MSI remapping bypass under Xen
  PCI/MSI: Convert pci_msi_ignore_mask to per MSI domain flag

 arch/x86/pci/xen.c           |  8 ++------
 drivers/pci/controller/vmd.c | 20 +++++++++++++++++++
 drivers/pci/msi/msi.c        | 37 ++++++++++++++++++++----------------
 drivers/xen/pci.c            | 32 +++++++++++++++++++++++++++++++
 include/linux/msi.h          |  3 ++-
 kernel/irq/msi.c             |  2 +-
 6 files changed, 78 insertions(+), 24 deletions(-)