diff options
author | Jon Derrick <jonathan.derrick@intel.com> | 2020-01-21 06:37:48 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-01-24 14:58:33 -0600 |
commit | 2b0140c69637e6f3cf9f8a0b7629567de9645680 (patch) | |
tree | c538ee135bdee6fd31408a0e1a39fed833572fcd /drivers/pci/controller/pci-rcar-gen2.c | |
parent | 2856ba6020fc5cbf051d5a75b2abb3046072c144 (diff) | |
download | linux-2b0140c69637e6f3cf9f8a0b7629567de9645680.tar.bz2 |
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/1579613871-301529-5-git-send-email-jonathan.derrick@intel.com
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Diffstat (limited to 'drivers/pci/controller/pci-rcar-gen2.c')
0 files changed, 0 insertions, 0 deletions