aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dart_iommu.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-02-13 07:01:05 +0000
committerMichael Ellerman <[email protected]>2019-02-18 11:41:02 +0000
commit8617a5c5bc001e52c40d6b2ece78e8f332039217 (patch)
tree79af57e1b85923c38b42c490fcc7b9c21cb32728 /arch/powerpc/sysdev/dart_iommu.c
parentpowerpc/dma: untangle vio_dma_mapping_ops from dma_iommu_ops (diff)
downloadkernel-8617a5c5bc001e52c40d6b2ece78e8f332039217.tar.gz
kernel-8617a5c5bc001e52c40d6b2ece78e8f332039217.zip
powerpc/dma: handle iommu bypass in dma_iommu_ops
Add a new iommu_bypass flag to struct dev_archdata so that the dma_iommu implementation can handle the direct mapping transparently instead of switiching ops around. Setting of this flag is controlled by new pci_controller_ops method. Signed-off-by: Christoph Hellwig <[email protected]> Tested-by: Christian Zigotzky <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions