Skip to content
Commit 9b4a824b authored by Jon Derrick's avatar Jon Derrick Committed by Lorenzo Pieralisi
Browse files

iommu/vt-d: Use Real PCI DMA device for IRTE

VMD retransmits child device MSI-X with the VMD endpoint's requester-id.
In order to support direct interrupt remapping of VMD child devices,
ensure that the IRTE is programmed with the VMD endpoint's requester-id
using pci_real_dma_dev().

Link: https://lore.kernel.org/r/20210210161315.316097-2-jonathan.derrick@intel.com


Signed-off-by: default avatarJon Derrick <jonathan.derrick@intel.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Acked-by: default avatarJoerg Roedel <jroedel@suse.de>
parent a38fd874
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment