aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2019-10-22 16:01:21 -0600
committerJoerg Roedel <jroedel@suse.de>2019-10-30 10:36:19 +0100
commit3c124435e8dd516df4b2fc983f4415386fd6edae (patch)
tree40f1cfb1cafd88d34fd97455bedf32b1380b7d74 /include/linux/iommu.h
parentiommu/amd: Support multiple PCI DMA aliases in device table (diff)
downloadwireguard-linux-3c124435e8dd516df4b2fc983f4415386fd6edae.tar.xz
wireguard-linux-3c124435e8dd516df4b2fc983f4415386fd6edae.zip
iommu/amd: Support multiple PCI DMA aliases in IRQ Remapping
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 IRQ remapping functionality ignores all PCI aliases for IRQs so if devices send an interrupt from one of their aliases they will be blocked on AMD hardware with the IOMMU enabled. To fix this, ensure IRQ remapping is enabled for all aliases with MSI interrupts. This is analogous to the functionality added to the Intel IRQ remapping code in commit 3f0c625c6ae7 ("iommu/vt-d: Allow interrupts from the entire bus for aliased devices") Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions