MIPS: Netlogic: SWIOTLB dma ops for 32-bit DMA
commit79f8511c83f13689913f54d2f189297c226ec064
authorGanesan Ramalingam <ganesanr@broadcom.com>
Mon, 10 Jun 2013 06:28:09 +0000 (10 06:28 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jun 2013 15:46:40 +0000 (13 17:46 +0200)
tree2dc7e379aa8e4284c651194ed200c9cf919afc0d
parent4954a9a211f1863e3ca3958fd56ad06e1bddc22d
MIPS: Netlogic: SWIOTLB dma ops for 32-bit DMA

Add SWIOTLB config option and related files to Netlogic platform.

Some XLP SoC components like the SD/MMC interface cannot do DMA beyond
32-bit physical address. The SD/MMC driver can use memory outside this
range for IO, to support this we have to add bounce buffers implemented
by SWIOTLB.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Cc: Ganesan Ramalingam <ganesanr@broadcom.com>
Patchwork: https://patchwork.linux-mips.org/patch/5410/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/netlogic/common.h
arch/mips/netlogic/Kconfig
arch/mips/netlogic/common/Makefile
arch/mips/netlogic/common/nlm-dma.c [new file with mode: 0644]