Skip to content

VMD MSI Remapping Bypass

Jon Derrick linux-iommu linux-pci 4 versions – Applied

Status from this message: Applied to pci/vmd, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesApplied
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches8 repliesSuperseded

Changes in v4 from the cover letter

Integrated wording suggestions; no functional changes

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/vt-d: Use Real PCI DMA device for IRTEdrivers/iommu/intel/irq_remapping.c+2 -10 replies
2/2PCI: vmd: Disable MSI-X remapping when possibledrivers/pci/controller/vmd.c+51 -120 replies

Reviews trailers per patch

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

PatchLu BaoluJoerg RoedelKrzysztof Wilczyński
1/2A-b A-b
2/2A-b R-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 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] VMD MSI Remapping Bypass

The Intel Volume Management Device acts similar to a PCI-to-PCI bridge in that it changes downstream devices' requester-ids to its own. As VMD supports PCIe devices, it has its own MSI-X table and transmits child device MSI-X by remapping child device MSI-X and handling like a demultiplexer.

Some newer VMD devices (Icelake Server) have an option to bypass the VMD MSI-X remapping table. This allows for better performance scaling as the child device MSI-X won't be limited by VMD's MSI-X count and IRQ handler.

V3->V4:
Integrated wording suggestions; no functional changes

V2->V3:
Trivial comment fixes
Added acks

V1->V2:
Updated for 5.12-next
Moved IRQ allocation and remapping enable/disable to a more logical location

V1 patches 1-4 were already merged
V1, 5/6: https://patchwork.kernel.org/project/linux-pci/patch/[email protected]/
V1, 6/6: https://patchwork.kernel.org/project/linux-pci/patch/[email protected]/

Jon Derrick (2):
iommu/vt-d: Use Real PCI DMA device for IRTE
PCI: vmd: Disable MSI-X remapping when possible

 drivers/iommu/intel/irq_remapping.c |  3 +-
 drivers/pci/controller/vmd.c        | 63 +++++++++++++++++++++++------
 2 files changed, 53 insertions(+), 13 deletions(-)
Signature · 6 lines
2.27.0

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu