linux/arch/mips/include/asm/mach-cavium-octeon
Christoph Hellwig ea8c64ace8 dma-mapping: move swiotlb arch helpers to a new header
phys_to_dma, dma_to_phys and dma_capable are helpers published by
architecture code for use of swiotlb and xen-swiotlb only.  Drivers are
not supposed to use these directly, but use the DMA API instead.

Move these to a new asm/dma-direct.h helper, included by a
linux/dma-direct.h wrapper that provides the default linear mapping
unless the architecture wants to override it.

In the MIPS case the existing dma-coherent.h is reused for now as
untangling it will take a bit of work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Robin Murphy <robin.murphy@arm.com>
2018-01-10 16:40:54 +01:00
..
cpu-feature-overrides.h MIPS: Octeon: Expose support for mips32r1, mips32r2 and mips64r1 2017-08-29 15:21:52 +02:00
dma-coherence.h dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
irq.h MIPS: Octeon: Remove forced mappings of USB interrupts. 2016-07-28 12:01:06 +02:00
kernel-entry-init.h MIPS: Octeon: Enable KASLR 2017-01-03 16:34:35 +01:00
mangle-port.h MIPS: Octeon: mangle-port: fix build failure with VDSO code 2016-09-19 17:21:37 +02:00
spaces.h
war.h