]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm64: imx8ulp: Split SRAM0 mapping to isolate the SCMI shared memory as non-cacheable
authorAlice Guo <alice.guo@nxp.com>
Mon, 3 Nov 2025 07:36:54 +0000 (15:36 +0800)
committerFabio Estevam <festevam@nabladev.com>
Tue, 4 Nov 2025 15:44:44 +0000 (12:44 -0300)
commitde5ae3e43c21950b6ba03172fbed1ef42dd32db2
tree1e3d7296cdfe153044bf0fbf734bb0b398f8eb57
parentf008af59aff947e910453227eaea0cb6724757fb
arm64: imx8ulp: Split SRAM0 mapping to isolate the SCMI shared memory as non-cacheable

This patch splits the 2MB SRAM0 mapping into three regions:
- 0x22000000~0x2201f000: cacheable normal memory
- 0x2201f000~0x22020000: non-cacheable device memory
- 0x22020000~0x22200000: cacheable normal memory

The change ensures the SCMI shared memory is non-cacheable, which
avoids cache-related issues after removing
mmu_set_region_dcache_behaviour() from scmi_dt_get_smt_buffer().

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>
arch/arm/mach-imx/imx8ulp/soc.c