Re: [RFC PATCH 1/1] arm: add invalidate_dcache_all() after disable cache

2023-05-31 Thread Heinrich Schuchardt
On 5/31/23 00:08, Emanuele Ghidoli wrote: From: Emanuele Ghidoli On Cortex-R5 flushing and disabling cache is not enough to avoid cache and memory incoherence. In particular, when the cache is enabled after a disable, and if there are entry in the cache the value from the cache is used instead

[RFC PATCH 1/1] arm: add invalidate_dcache_all() after disable cache

2023-05-30 Thread Emanuele Ghidoli
From: Emanuele Ghidoli On Cortex-R5 flushing and disabling cache is not enough to avoid cache and memory incoherence. In particular, when the cache is enabled after a disable, and if there are entry in the cache the value from the cache is used instead of the value from the memory. This, in part