OSDN Git Service

MIPS: IP27: use dma_direct_ops
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Jun 2018 11:08:44 +0000 (13:08 +0200)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:26:04 +0000 (09:26 -0700)
commit54aed4dd35269ef15eb1569517f34fb3961d4d34
treef3ac11d100a9c06b3a311aab05836e9904a0f04e
parentdffbfde7582b03f57aed15055dbf8af433c5b1ae
MIPS: IP27: use dma_direct_ops

IP27 is coherent and has a reasonably direct mapping, just with a little
per-bus offset added into the dma address.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Patchwork: https://patchwork.linux-mips.org/patch/19542/
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-ip27/dma-coherence.h [deleted file]
arch/mips/pci/pci-ip27.c