aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/cavium-octeon/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/cavium-octeon/Kconfig
parent1c33b6b765e63d5cadd621049759244fb25e8fd4 (diff)
download96b-common-ac2e8860cb545799ce9e6c466117c08c3a61c798.tar.gz
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/cavium-octeon/Kconfig')
-rw-r--r--arch/mips/cavium-octeon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/Kconfig b/arch/mips/cavium-octeon/Kconfig
index 204a1670fd9b..b5eee1a57d6c 100644
--- a/arch/mips/cavium-octeon/Kconfig
+++ b/arch/mips/cavium-octeon/Kconfig
@@ -75,6 +75,7 @@ config NEED_SG_DMA_LENGTH
config SWIOTLB
def_bool y
+ select DMA_DIRECT_OPS
select IOMMU_HELPER
select NEED_SG_DMA_LENGTH