summaryrefslogtreecommitdiff
path: root/arch/mips/loongson64/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-12-24 13:37:55 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-15 09:36:00 +0100
commitac2e8860cb545799ce9e6c466117c08c3a61c798 (patch)
treef8db888e6963421ad889f33b49a0cfa87d8a6530 /arch/mips/loongson64/Kconfig
parent1c33b6b765e63d5cadd621049759244fb25e8fd4 (diff)
mips: use swiotlb_{alloc,free}
These already include the GFP_DMA/GFP_DMA32 usage, and will use CMA memory if enabled, thus avoiding the GFP_NORETRY hack. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'arch/mips/loongson64/Kconfig')
-rw-r--r--arch/mips/loongson64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/loongson64/Kconfig b/arch/mips/loongson64/Kconfig
index 0d249fc3cfe9..6f109bb54cdb 100644
--- a/arch/mips/loongson64/Kconfig
+++ b/arch/mips/loongson64/Kconfig
@@ -136,6 +136,7 @@ config SWIOTLB
bool "Soft IOMMU Support for All-Memory DMA"
default y
depends on CPU_LOONGSON3
+ select DMA_DIRECT_OPS
select IOMMU_HELPER
select NEED_SG_DMA_LENGTH
select NEED_DMA_MAP_STATE