<div dir="ltr"> cma_declare_contiguous() allocates memory from memblock.<br> cma_init_reserved_mem() initialize the memory. Then the memory is given to<br>
buddy allocator with migration type MIGRATE_MOVABLE. when CMA needs those pages, it can take it from buddy allocator.<br>
<br> We are supposed to use equivalent DMA api dma_declare_contiguous().<br>
dma_declare_contiguous() calls cma_declare_contiguous().<br>
<br><a href="http://lxr.free-electrons.com/source/arch/arm/mach-davinci/devices-da8xx.c#L833" rel="noreferrer" target="_blank">http://lxr.free-electrons.com/source/arch/arm/mach-davinci/devices-da8xx.c#L833</a><br>
<br> Regards<br>
Manoj Nayak<br>
</div>