Two patches for using the SWIOTLB lib in Netlogic XLP code. The first one adds support for SWIOTLB in generic MIPS operations. Without this platforms cannot use generic MIPS dma ops when SWIOTLB is enabled. The second adds SWIOTLB based dma ops for Netlogic XLP, which will be used by a few drivers which cannot do 64-bit DMA. Comments welcome. Regards, JC. Ganesan Ramalingam (1): MIPS: Netlogic: SWIOTLB dma ops for 32-bit DMA Jayachandran C (1): MIPS: Support SWIOTLB in default dma operations arch/mips/include/asm/mach-generic/dma-coherence.h | 12 +++ arch/mips/include/asm/netlogic/common.h | 3 + arch/mips/mm/dma-default.c | 3 + arch/mips/netlogic/Kconfig | 11 ++ arch/mips/netlogic/common/Makefile | 1 + arch/mips/netlogic/common/nlm-dma.c | 107 ++++++++++++++++++++ 6 files changed, 137 insertions(+) create mode 100644 arch/mips/netlogic/common/nlm-dma.c -- 1.7.9.5