]> Git Repo - linux.git/commit
iommu/vt-d: Use pci_real_dma_dev() for mapping
authorJon Derrick <[email protected]>
Tue, 21 Jan 2020 13:37:48 +0000 (06:37 -0700)
committerBjorn Helgaas <[email protected]>
Fri, 24 Jan 2020 20:58:33 +0000 (14:58 -0600)
commit2b0140c69637e6f3cf9f8a0b7629567de9645680
treec538ee135bdee6fd31408a0e1a39fed833572fcd
parent2856ba6020fc5cbf051d5a75b2abb3046072c144
iommu/vt-d: Use pci_real_dma_dev() for mapping

The PCI device may have a DMA requester on another bus, such as VMD
subdevices needing to use the VMD endpoint.  This case requires the real
DMA device for the IOMMU mapping, so use pci_real_dma_dev() to find that
device.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jon Derrick <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Lu Baolu <[email protected]>
drivers/iommu/intel-iommu.c
This page took 0.056782 seconds and 4 git commands to generate.