dma_declare_coherent_memory on main memory

From: Christoph Hellwig
Date: Fri Dec 07 2018 - 10:34:35 EST


Hi all,

the ARM imx27/31 ports and various sh boards use
dma_declare_coherent_memory on main memory taken from the memblock
allocator.

Is there any good reason these couldn't be switched to CMA areas?
Getting rid of these magic dma_declare_coherent_memory area would
help making the dma allocator a lot simpler.