microblaze: Wire CMA allocator
authorMichal Simek <michal.simek@xilinx.com>
Tue, 14 Jan 2020 09:05:24 +0000 (10:05 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 4 Feb 2020 10:38:59 +0000 (11:38 +0100)
commit2602276d3d3811b1a48c48113042cd75fcbfc27d
treefb0f41091be5c56b4aba8dec76ee7d1d399cd1d5
parentdef3f7cefe4e81c296090e1722a76551142c227c
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>
arch/microblaze/Kconfig
arch/microblaze/configs/mmu_defconfig
arch/microblaze/mm/init.c