nuttx/arch/arm
chenrun1 91cf97ed84 arm_cache:Disable clean/flush optimization in case of SMP restriction
In a multicore task scenario, there may be a situation where the task runs on different cores at different time slices (when the task is not bound to a particular core).
When the task calls cache clean/flush(range > cache size), depending on the optimization, clean_all, flush_all are called. however, at this point, there may be dirty data or incomplete data profiles in the cache on the kernel that is running the task, which may result in dirty data being flushed into memory or make the application think that the flushed data should be successfully flushed into memory, leading to unknown consequences.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-08-21 03:04:41 +08:00
..
include armv7-a/irq: add up_irq_disable method implementation 2024-08-21 02:53:04 +08:00
src arm_cache:Disable clean/flush optimization in case of SMP restriction 2024-08-21 03:04:41 +08:00
CMakeLists.txt
Kconfig arm:Select ram vector on armv6m 2024-08-12 00:09:56 +08:00