diff options
| author | Robin Murphy <[email protected]> | 2016-09-12 16:13:59 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2016-09-16 08:34:22 +0000 |
| commit | 44bb7e243bd4b4e5c79de2452cd9762582f58925 (patch) | |
| tree | bf0d949ec860769d523d512dc26b20c9ce26e945 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | iommu/arm-smmu: Set domain geometry (diff) | |
| download | kernel-44bb7e243bd4b4e5c79de2452cd9762582f58925.tar.gz kernel-44bb7e243bd4b4e5c79de2452cd9762582f58925.zip | |
iommu/dma: Add support for mapping MSIs
When an MSI doorbell is located downstream of an IOMMU, attaching
devices to a DMA ops domain and switching on translation leads to a rude
shock when their attempt to write to the physical address returned by
the irqchip driver faults (or worse, writes into some already-mapped
buffer) and no interrupt is forthcoming.
Address this by adding a hook for relevant irqchip drivers to call from
their compose_msi_msg() callback, to swizzle the physical address with
an appropriatly-mapped IOVA for any device attached to one of our DMA
ops domains.
Acked-by: Thomas Gleixner <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
