]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Use Real PCI DMA device for IRTE
authorJon Derrick <jonathan.derrick@intel.com>
Wed, 10 Feb 2021 16:13:14 +0000 (09:13 -0700)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 22 Mar 2021 14:08:20 +0000 (14:08 +0000)
commit6cf1e199f983012473b4f39affd3900495a34da4
treeef9780302a4204477d2978fc83baaaf93091be26
parent219c9076286fd92026e818ab1375558e5b20649f
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: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Acked-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/irq_remapping.c