Commits
J, KEERTHY committed 56c3e456955
remoteproc: ipu_rproc: Use reserved memory for IOMMU page tables The memory for IPU IOMMU page tables had previously been placed dynamically at the end of each remoteproc's carveout memory region. This memory region is typically used for all the firmware image sections. Use a separate 1 MB reserved carveout memory region and partition this memory statically for the IOMMU page table memories. 256 KB of memory is currently reserved per remote core providing support for the L1 page table (16 KB) and upto 240 L2 page tables (240 KB). A total of 1 MB memory region at 0x95700000 just before all the current TI DRA7 remoteproc CMA/DMA pools is reserved for this purpose. This region needs to be added as a reserved-memory node with a "no-map" property so that the memory is not modified by the kernel. TODO: Reserve these carveouts through dts in the future instead of hard-coding in the driver. Signed-off-by: Subash Lakkimsetti <x0091084@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> [s-anna@ti.com: Update comments and patch description] Signed-off-by: Suman Anna <s-anna@ti.com>