summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-14 16:03:48 +0200
committerMichal Simek <michal.simek@xilinx.com>2019-08-30 11:47:16 +0200
commit04e3543e228fcbb000de922ec5d366f398bdd9ae (patch)
treee074ce510288dc315e7ea1f6eb15a5d5221d45bf /arch/microblaze/Kconfig
parentd3b9f659fac6e5f74f857364c5ed08b94e7f94ae (diff)
downloadlinux-04e3543e228fcbb000de922ec5d366f398bdd9ae.tar.bz2
microblaze: use the generic dma coherent remap allocator
This switches to using common code for the DMA allocations, including potential use of the CMA allocator if configured. Switching to the generic code enables DMA allocations from atomic context, which is required by the DMA API documentation, and also adds various other minor features drivers start relying upon. It also makes sure we have on tested code base for all architectures that require uncached pte bits for coherent DMA allocations. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r--arch/microblaze/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index a0d749c309f3..e477896fbae6 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -17,6 +17,7 @@ config MICROBLAZE
select TIMER_OF
select CLONE_BACKWARDS3
select COMMON_CLK
+ select DMA_DIRECT_REMAP if MMU
select GENERIC_ATOMIC64
select GENERIC_CLOCKEVENTS
select GENERIC_CPU_DEVICES