[RFC PATCH 0/1] Cache incoherent if re-enabled on Cortex-R(5)

Emanuele Ghidoli ghidoliemanuele at gmail.com
Wed May 31 00:08:34 CEST 2023


From: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>

I want to propose this patch cause I experience weird behavior on AM62x 
Cortex-R U-boot spl.
Seem that the stack is "restored" to the time dcache_disable was called.
The effect is that the code between dcache_disable
and dcache_enable is executed twice, but the second execution runs with 
wrong function parameters.

Best regards,

Emanuele

Emanuele Ghidoli (1):
  arm: add invalidate_dcache_all() after disable cache

 arch/arm/lib/cache-cp15.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.34.1



More information about the U-Boot mailing list