diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-01-14 10:05:24 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-02-04 11:38:59 +0100 |
commit | 2602276d3d3811b1a48c48113042cd75fcbfc27d (patch) | |
tree | fb0f41091be5c56b4aba8dec76ee7d1d399cd1d5 /arch/microblaze/Kconfig | |
parent | def3f7cefe4e81c296090e1722a76551142c227c (diff) |
microblaze: Wire CMA allocator
Based on commit 04e3543e228f ("microblaze: use the generic dma coherent
remap allocator")
CMA can be easily enabled by calling dma_contiguous_reserve() at the end of
mmu_init(). High limit is end of lowmem space which is completely unused at
this point of time.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r-- | arch/microblaze/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 5f46ebe7bfe3..e6289294e7fc 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -27,6 +27,7 @@ config MICROBLAZE select HAVE_ARCH_HASH select HAVE_ARCH_KGDB select HAVE_DEBUG_KMEMLEAK + select HAVE_DMA_CONTIGUOUS select HAVE_DYNAMIC_FTRACE select HAVE_FTRACE_MCOUNT_RECORD select HAVE_FUNCTION_GRAPH_TRACER |