OpenCloudOS-Kernel/arch/mips/mm
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
..
Makefile MIPS: microMIPS: uasm: Add microMIPS micro assembler support. 2013-05-01 16:32:46 -05:00
c-octeon.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
c-r3k.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
c-r4k.c Merge branch 'mti-next' of git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill into mips-for-linux-next 2013-05-09 17:57:30 +02:00
c-tx39.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
cache.c MIPS: Export routines needed by the KVM module. 2013-05-08 03:55:36 +02:00
cerr-sb1.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
cex-gen.S MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
cex-oct.S MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
cex-sb1.S MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
dma-default.c MIPS: Support SWIOTLB in default dma operations 2013-06-13 17:46:40 +02:00
extable.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fault.c MIPS: Implement HAVE_CONTEXT_TRACKING. 2013-06-10 18:02:30 +02:00
gup.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
highmem.c MIPS: Highmem: Fix build error if CONFIG_DEBUG_HIGHMEM is disabled 2012-12-13 18:15:27 +01:00
hugetlbpage.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
init.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
ioremap.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mmap.c mips: Move __virt_addr_valid() to a place for MIPS 64 2013-01-31 15:14:59 +01:00
page-funcs.S MIPS: Refactor 'clear_page' and 'copy_page' functions. 2012-07-19 11:23:43 +02:00
page.c MIPS: Build uasm-generated code only once to avoid CPU Hotplug problem 2013-05-08 01:19:06 +02:00
pgtable-32.c MIPS: Limit fixrange_init() to the FIXMAP region 2011-07-25 17:26:54 +01:00
pgtable-64.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
sc-ip22.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
sc-mips.c MIPS: Fix ISA level which causes secondary cache init bypassing and more 2013-04-05 15:10:45 +02:00
sc-r5k.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
sc-rm7k.c MIPS: RM7000: Symbol should be static 2010-10-04 18:33:54 +01:00
tlb-r3k.c Revert "MIPS: Allow ASID size to be determined at boot time." 2013-05-16 20:35:42 +02:00
tlb-r4k.c Revert "MIPS: Allow ASID size to be determined at boot time." 2013-05-16 20:35:42 +02:00
tlb-r8k.c Revert "MIPS: Allow ASID size to be determined at boot time." 2013-05-16 20:35:42 +02:00
tlbex-fault.S MIPS: Don't include <asm/page.h> unnecessarily. 2012-12-28 17:04:04 +01:00
tlbex.c MIPS: Remove duplicate definition of check_for_high_segbits. 2013-05-23 10:19:04 +02:00
uasm-micromips.c MIPS: microMIPS: Fix incorrect mask for jump immediate. 2013-05-09 17:55:18 +02:00
uasm-mips.c MIPS: microMIPS: Fix macro naming in micro-assembler. 2013-05-09 17:55:18 +02:00
uasm.c MIPS: microMIPS: uasm: Split 'uasm.c' into two files. 2013-05-01 16:32:45 -05:00