OSDN Git Service

MIPS: ath25: use generic dma noncoherent ops
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Jun 2018 11:08:49 +0000 (13:08 +0200)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:27:27 +0000 (09:27 -0700)
commitd1f2564a5639bb54493eaa313aef612aee47ba7c
treee27dc3e062bb8d927c8e999af4f58e83f21b499d
parent03df8229a822ab2c262bf78b05a3ada686b885b9
MIPS: ath25: use generic dma noncoherent ops

Provide phys_to_dma/dma_to_phys helpers only if PCI support is
enabled, everything else is generic.

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