summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-06-20 09:11:15 +0200
committerPaul Burton <paul.burton@mips.com>2018-06-24 09:27:27 -0700
commite905086e6b2fc9d7e2764cf04622743ca86558f1 (patch)
tree5eba7a298ba657f31d8e8d06c539823f7ac56c3f /arch/mips/Kconfig
parentf8c55dc6e828324fc58c0bb32d72a5a4041d1c3b (diff)
downloadlinux-stable-e905086e6b2fc9d7e2764cf04622743ca86558f1.tar.gz
linux-stable-e905086e6b2fc9d7e2764cf04622743ca86558f1.tar.bz2
linux-stable-e905086e6b2fc9d7e2764cf04622743ca86558f1.zip
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
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 47592cc7fa54..aa438f0a0273 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1828,6 +1828,7 @@ config CPU_LOONGSON2
select CPU_SUPPORTS_64BIT_KERNEL
select CPU_SUPPORTS_HIGHMEM
select CPU_SUPPORTS_HUGEPAGES
+ select ARCH_HAS_PHYS_TO_DMA
config CPU_LOONGSON1
bool