zephyr/arch
Aurelien Jarno be49df628f arch: arm: cortex_m: z_arm_mpu_init: fix D-Cache invalidation
In case CONFIG_NOCACHE_MEMORY=y, the D-Cache need to be clean and
invalidated before enabling the MPU to make sure no data from a
__nocache__ region is present in the D-Cache.

If the D-Cache is disabled, SCB_CleanInvalidateDCache() shall not be
used as it might contains random data for random addresses, and this
might just create a bus fault.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2021-05-18 11:39:26 -05:00
..
arc cache: Rename sys_{dcache,icache}_* to sys_{data,instr}_cache_* 2021-05-08 07:00:33 +02:00
arm arch: arm: cortex_m: z_arm_mpu_init: fix D-Cache invalidation 2021-05-18 11:39:26 -05:00
arm64 arm64: provide an optimized arch_page_phys_get() 2021-05-08 17:06:58 -04:00
common arch: common: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
nios2 arch: nios2: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
posix arch: replace power/power.h with pm/pm.h 2021-05-05 18:35:49 -04:00
riscv arch: riscv: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
sparc arch: sparc: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
x86 arch/x86: Correct multiboot interpretation when building for EFI 2021-05-15 15:30:02 -04:00
xtensa xtensa: fix booting secondary cores on the dummy thread 2021-05-03 17:13:01 -04:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig cache: Introduce external cache controller system support 2021-05-08 07:00:33 +02:00