MIPS: loongson64: use generic dma noncoherent ops
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jun 2018 07:11:15 +0000 (09:11 +0200)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:27:27 +0000 (09:27 -0700)
commite905086e6b2fc9d7e2764cf04622743ca86558f1
tree5eba7a298ba657f31d8e8d06c539823f7ac56c3f
parentf8c55dc6e828324fc58c0bb32d72a5a4041d1c3b
MIPS: loongson64: use generic dma noncoherent ops

Provide phys_to_dma/dma_to_phys helpers, everything else is generic.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/19545/
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/mach-loongson64/dma-coherence.h [deleted file]
arch/mips/loongson64/Kconfig
arch/mips/loongson64/common/Makefile
arch/mips/loongson64/common/dma.c [new file with mode: 0644]