summaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-12-24 13:53:50 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-15 09:36:02 +0100
commit0d8488ac1b68d6e2a3a8aa732c45e290e3ae0805 (patch)
tree4d04056cb99186c32572a5ced0904ba1bc78e0ef /arch/arm64/Kconfig
parentad67f5a6545f7fda8ec11d7a81e325a398e1a90f (diff)
downloadlwn-0d8488ac1b68d6e2a3a8aa732c45e290e3ae0805.tar.gz
lwn-0d8488ac1b68d6e2a3a8aa732c45e290e3ae0805.zip
arm64: use swiotlb_alloc and swiotlb_free
The generic swiotlb_alloc and swiotlb_free routines already take care of CMA allocations and adding GFP_DMA32 where needed, so use them instead of the arm specific helpers. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 6b6985f15d02..53205c02b18a 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -59,6 +59,7 @@ config ARM64
select COMMON_CLK
select CPU_PM if (SUSPEND || CPU_IDLE)
select DCACHE_WORD_ACCESS
+ select DMA_DIRECT_OPS
select EDAC_SUPPORT
select FRAME_POINTER
select GENERIC_ALLOCATOR