Commits
Suman Anna committed ed2d95b1520
HACK: ARM: dts: dra7-ipu-common: Revert to CMA pools for IPU early boots The patch d1a42fca5944 ("TEMP: ARM: dts: dra7-ipu-common: Add a common file for IPU early boots") converts the default CMA pools used in regular remoteproc mode to carveouts/DMA pools for early-boot usage scenarios using the "no-map" property to avoid the kernel from corrupting the remoteproc firmware image sections. The allocation scheme with DMA pools though is different than with CMA pools, and this may cause some of the existing firmwares used in the regular remoteproc mode with CMA to fail. The DMA pools may require a number of changes in general: - Split the firmware RSC_CARVEOUT sections into better aligned memory regions conducive to the DMA pool allocation scheme. - Increase the vmalloc size, as the DMA pools are no longer mapped by default in kernel linear memory (for DDR < 2 GB) and needs to be mapped into vmalloc space to be accessed. This may depend on system configuration, number of remote cores using a DMA pool, and the sizes of the DMA pools. - Increase the size of the carveouts (last resort) Revert back to CMA pools temporarily to make the current firmware images be functional. A short-term fix would be to update the firmwares and the long-term fix would be to eliminate the allocation logic altogether and rely on fixed memory carveout support. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Angela Stegmaier <angelabaker@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com>