Skip to content

RFC Cache incoherent if re-enabled on Cortex-R(5)

Emanuele Ghidoli u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1arm: add invalidate_dcache_all() after disable cachearch/arm/lib/cache-cp15.c+8 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Emanuele Ghidoli <[email protected]>

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(+)
Signature · 1 line
2.34.1