All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] VMD MSI Remapping Bypass
@ 2021-02-10 16:13 ` Jon Derrick
  0 siblings, 0 replies; 14+ messages in thread
From: Jon Derrick @ 2021-02-10 16:13 UTC (permalink / raw)
  To: linux-pci, iommu
  Cc: Krzysztof Wilczynski, Nirmal Patel, Kapil Karkra, Bjorn Helgaas,
	Jon Derrick

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/20200728194945.14126-6-jonathan.derrick@intel.com/
V1, 6/6: https://patchwork.kernel.org/project/linux-pci/patch/20200728194945.14126-7-jonathan.derrick@intel.com/


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(-)

-- 
2.27.0

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-03-22 14:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-10 16:13 [PATCH v4 0/2] VMD MSI Remapping Bypass Jon Derrick
2021-02-10 16:13 ` Jon Derrick
2021-02-10 16:13 ` [PATCH v4 1/2] iommu/vt-d: Use Real PCI DMA device for IRTE Jon Derrick
2021-02-10 16:13   ` Jon Derrick
2021-02-10 16:13 ` [PATCH v4 2/2] PCI: vmd: Disable MSI-X remapping when possible Jon Derrick
2021-02-10 16:13   ` Jon Derrick
2021-03-17 19:14 ` [PATCH v4 0/2] VMD MSI Remapping Bypass Derrick, Jonathan
2021-03-17 19:14   ` Derrick, Jonathan
2021-03-18  9:07   ` joro
2021-03-18  9:07     ` joro
2021-03-18 12:38     ` Lorenzo Pieralisi
2021-03-18 12:38       ` Lorenzo Pieralisi
2021-03-22 14:11 ` Lorenzo Pieralisi
2021-03-22 14:11   ` Lorenzo Pieralisi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.