u-boot/arch/arm/mach-stm32mp/stm32mp1
Patrice Chotard 25fb58e88a ARM: stm32mp: Fix dram_bank_mmu_setup() for LMB located above ram_top
Previously, all LMB marked with LMB_NOMAP (above and below ram_top)
are considered as invalid entry in TLB.

Since commit 1a48b0be93 ("lmb: prohibit allocations above ram_top
 even from same bank") all LMB located above ram_top are now marked
LMB_NOOVERWRITE and no more LMB_MAP.

This area above ram_top is reserved for OPTEE and must not be cacheable,
otherwise this leads to a Panic on some boards (Issue on STM32MP135F-DK).

Restore previous behavior by marking invalid entry all TLB above ram_top.

Fixes: 1a48b0be93 ("lmb: prohibit allocations above ram_top even from same bank")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
cc: Sughosh Ganu <sughosh.ganu@linaro.org>
Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2024-12-17 09:14:01 -06:00
..
cpu.c ARM: stm32mp: Fix dram_bank_mmu_setup() for LMB located above ram_top 2024-12-17 09:14:01 -06:00
fdt.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Makefile global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
psci.c ARM: stm32: Fix secure_waitbits() mask check 2024-09-25 19:40:46 +02:00
pwr_regulator.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spl.c stm32mp: allow calling optee_get_reserved_memory() from U-Boot 2024-09-03 14:08:50 -06:00
stm32mp13x.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stm32mp15x.c Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD" 2024-10-11 12:23:25 -06:00
tzc400.c stm32mp2: initial support 2023-11-13 10:55:38 +01:00