linux_dsm_epyc7002/arch/mips/include/asm/mach-generic
Jayachandran C 4954a9a211 MIPS: Support SWIOTLB in default dma operations
Provide a default implementation of phys_to_dma and dma_to_phys in
mach-generic/dma_coherence.h.

If CONFIG_NEED_SG_DMA_LENGTH is defined, the dma_length field in
struct scatterlist is used. Set this up in mips_dma_map_sg so that
the default mips DMA ops can be used when SWIOTLB is enabled.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5409/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-06-13 17:46:40 +02:00
..
cpu-feature-overrides.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dma-coherence.h MIPS: Support SWIOTLB in default dma operations 2013-06-13 17:46:40 +02:00
floppy.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
gpio.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
ide.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
ioremap.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
irq.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
kernel-entry-init.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
kmalloc.h dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-11 08:59:21 -07: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: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
spaces.h KVM/MIPS32: KVM Guest kernel support. 2013-05-08 03:55:35 +02:00
topology.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00