Skip to content

xen: Fix usage of devices behind a VMD bridge

Roger Pau Monne linux-pci lkml xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 24 repliesIn review
  2. v23 patches 9 repliesSuperseded
  3. v13 patches 17 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/pci: Do not register devices with segments >= 0x10000drivers/xen/pci.c+32 -00 replies
2/3PCI: vmd: Disable MSI remapping bypass under Xendrivers/pci/controller/vmd.c+20 -02 replies
3/3PCI/MSI: Convert pci_msi_ignore_mask to per MSI domain flagarch/x86/pci/xen.c drivers/pci/msi/msi.c include/linux/msi.h +1 more+26 -2424 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJuergen GrossThomas GleixnerBjorn HelgaasDaniel GomezBorislav Petkov (AMD)Marek Szyprowski
1/3A-b
2/3A-b
3/3A-b A-b R-b R-b R-b A-b A-b T-b T-b T-b T-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v3 thread

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

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(-)
Signature · 1 line
2.46.0