linux_dsm_epyc7002/arch/mips/include/asm/mach-generic
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: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dma-coherence.h dma-mapping: move swiotlb arch helpers to a new header 2018-01-10 16:40:54 +01:00
floppy.h MIPS: Squash lines for simple wrapper functions 2016-10-04 16:13:57 +02:00
ide.h mips/ide: flush dcache also if icache does not snoop dcache 2014-01-24 22:39:56 +01:00
ioremap.h MIPS: Replace use of phys_t with phys_addr_t. 2014-11-24 22:47:31 +01:00
irq.h MIPS/IRQCHIP: Move irq_chip from arch/mips to drivers/irqchip. 2015-06-21 21:52:50 +02:00
kernel-entry-init.h MIPS: Fix misspellings in comments. 2016-04-03 12:32:09 +02:00
kmalloc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mangle-port.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
mc146818rtc.h MIPS: generic: Set RTC_ALWAYS_BCD to 0 2017-06-28 12:22:41 +02:00
spaces.h MIPS: Adjust MIPS64 CAC_BASE to reflect Config.K0 2016-10-06 18:02:35 +02:00
topology.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
war.h MIPS: Create a common <asm/mach-generic/war.h> 2015-03-31 11:59:40 +02:00