MIPS: use generic dma noncoherent ops for simple noncoherent platforms
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Jun 2018 11:08:46 +0000 (13:08 +0200)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:26:05 +0000 (09:26 -0700)
commitf8c55dc6e828324fc58c0bb32d72a5a4041d1c3b
tree2c0f5b326254b53e06a4bee28e025827ed4f698d
parentaa4db775959a65ddbb4a5b2c886cc520614abb81
MIPS: use generic dma noncoherent ops for simple noncoherent platforms

Convert everything not overriding dma-coherence.h to the generic
noncoherent ops.  The new dma-noncoherent.c file duplicates a lot of
the code in dma-default.c, but that file will be gone by the end of
this series.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/19544/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Tom Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: iommu@lists.linux-foundation.org
Cc: linux-mips@linux-mips.org
arch/mips/Kconfig
arch/mips/include/asm/dma-mapping.h
arch/mips/loongson32/Kconfig
arch/mips/mm/Makefile
arch/mips/mm/dma-noncoherent.c [new file with mode: 0644]
arch/mips/pic32/Kconfig
arch/mips/txx9/Kconfig
arch/mips/vr41xx/Kconfig