summaryrefslogtreecommitdiff
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2019-10-23 01:01:20 +0300
committerJoerg Roedel <jroedel@suse.de>2019-10-30 12:36:19 +0300
commit3332364e4ebc0581d133a334645a20fd13b580f1 (patch)
tree3244dce6ffe3c652f0f64858db7a4effa980bcdb /drivers/iommu/Kconfig
parenta5bbbf37c6f8522a1afd46c37b5a0d1ce63232b7 (diff)
downloadlinux-3332364e4ebc0581d133a334645a20fd13b580f1.tar.xz
iommu/amd: Support multiple PCI DMA aliases in device table
Non-Transparent Bridge (NTB) devices (among others) may have many DMA aliases seeing the hardware will send requests with different device ids depending on their origin across the bridged hardware. See commit ad281ecf1c7d ("PCI: Add DMA alias quirk for Microsemi Switchtec NTB") for more information on this. The AMD IOMMU ignores all the PCI aliases except the last one so DMA transfers from these aliases will be blocked on AMD hardware with the IOMMU enabled. To fix this, ensure the DTEs are cloned for every PCI alias. This is done by copying the DTE data for each alias as well as the IVRS alias every time it is changed. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
0 files changed, 0 insertions, 0 deletions