summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/mmu.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-10-10 07:34:42 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-10-11 07:25:04 (GMT)
commit072da00ac095a99e27ad40c966a5044fb3798b78 (patch)
tree6a0ea6180b317e33d537fca3080bfa1fffff3f1e /arch/s390/include/asm/mmu.h
parent65d7ad7ed8521fc7f28acbe64e08f5a0263cd294 (diff)
downloadlinux-072da00ac095a99e27ad40c966a5044fb3798b78.tar.xz
arm64: dma-mapping: Only swizzle DMA ops for IOMMU_DOMAIN_DMA
The arm64 DMA-mapping implementation sets the DMA ops to the IOMMU DMA ops if we detect that an IOMMU is present for the master and the DMA ranges are valid. In the case when the IOMMU domain for the device is not of type IOMMU_DOMAIN_DMA, then we have no business swizzling the ops, since we're not in control of the underlying address space. This patch leaves the DMA ops alone for masters attached to non-DMA IOMMU domains. Signed-off-by: Will Deacon <will.deacon@arm.com> Integrated-by: Guanhua Gao <guanhua.gao@nxp.com>
Diffstat (limited to 'arch/s390/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions