]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc62e17e9cc1dd8dc9376660e0a86b0750d816d2b
treefb0f41091be5c56b4aba8dec76ee7d1d399cd1d5
parent4c5579f746a998ed50565594d5469f5e5a5973fe
microblaze: Wire CMA allocator

Based on commit dad9d046f8a3 ("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