linux/arch/arm64/mm
Will Deacon 4a8d8a14c0 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.

Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-01-23 15:05:40 +00:00
..
cache.S arm64: don't pull uaccess.h into *.S 2016-12-26 13:05:17 -05:00
context.c arm64: Disable TTBR0_EL1 during normal kernel execution 2016-11-21 18:48:54 +00:00
copypage.c arm64: Defer dcache flush in __cpu_copy_user_page 2015-12-17 11:07:13 +00:00
dma-mapping.c arm64: dma-mapping: Only swizzle DMA ops for IOMMU_DOMAIN_DMA 2017-01-23 15:05:40 +00:00
dump.c arm64: dump: Add checking for writable and exectuable pages 2016-11-07 18:15:04 +00:00
extable.c arm64: migrate exception table users off module.h and onto extable.h 2016-09-20 09:36:21 +01:00
fault.c arm64: Remove useless UAO IPI and describe how this gets enabled 2017-01-10 12:38:06 +00:00
flush.c arm64: Remove I-cache invalidation from flush_cache_range() 2016-11-23 18:05:52 +00:00
hugetlbpage.c arm64: hugetlb: fix the wrong address for several functions 2016-11-09 16:55:13 +00:00
init.c arm64: Use __pa_symbol for kernel symbols 2017-01-12 15:05:39 +00:00
ioremap.c arm64: add ioremap physical address information 2015-01-23 15:29:06 +00:00
kasan_init.c arm64: Use __pa_symbol for kernel symbols 2017-01-12 15:05:39 +00:00
Makefile arm64: Add support for CONFIG_DEBUG_VIRTUAL 2017-01-12 15:05:39 +00:00
mmap.c arm64: mm: remove unnecessary EXPORT_SYMBOL_GPL 2016-05-05 09:49:38 +01:00
mmu.c arm64: mm: use phys_addr_t instead of unsigned long in __map_memblock 2017-01-13 12:06:29 +00:00
numa.c ACPI/NUMA: Do not map pxm to node when NUMA is turned off 2016-12-15 11:32:32 +01:00
pageattr.c arm64: hibernate: Support DEBUG_PAGEALLOC 2016-08-25 18:00:30 +01:00
pgd.c arm64: mm: drop fixup_init() and mm.h 2016-09-06 19:09:38 +01:00
physaddr.c arm64: Add support for CONFIG_DEBUG_VIRTUAL 2017-01-12 15:05:39 +00:00
proc.S arm64: Factor out TTBR0_EL1 post-update workaround into a specific asm macro 2016-11-21 17:33:47 +00:00
ptdump_debugfs.c arm64: dump: Make ptdump debugfs a separate option 2016-11-07 18:15:04 +00:00