zephyr/arch/arm64/core
Jiafei Pan d1b9b06b54 arm64: reset: flush D-Cache before it is disabled
In the commit 573a712bed patch "arm64:
reset: disable cache and MMU for safety", it disables D-Cache and MMU
for safety, but in some cases, for example the code is loaded into memory
by hardware debugger, we need to flush D-Cache before disable it in
order to make sure the data is coherent in the system, otherwise it
will report "Synchronous Abort" when D-Cache is disabled.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-06-04 16:59:43 +02:00
..
cortex_r arch: arm: fix compile issue if MEM_ATTR=n and ARM_MPU=y 2025-02-13 16:43:11 +01:00
offsets arch: generalize frame pointer via CONFIG_FRAME_POINTER introduction 2024-05-30 03:00:40 -07:00
xen Revert "arch: arm64: init xen in arch_kernel_init()" 2024-12-06 18:20:40 +01:00
boot.h arch: arm64: Use voting lock for multi-core boot race condition 2023-10-20 15:09:34 +02:00
CMakeLists.txt llext: Introduce AARCH64 relocation support 2024-09-12 14:48:55 +02:00
coredump.c arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
cpu_idle.S arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
early_mem_funcs.S arm64: move simple memcpy/memset alternatives to assembly 2024-06-14 17:11:40 -04:00
elf.c llext: Add parameters to arch_elf_relocate 2025-03-07 19:44:54 +01:00
fatal.c style: add missing curly braces in if/while/for statements. 2025-05-17 14:10:33 +02:00
fpu.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
fpu.S
header.S
irq_init.c
irq_manage.c arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
irq_offload.c arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
isr_wrapper.S arch: arm64: Update current stack limit on every context switch 2023-03-14 10:49:22 +01:00
Kconfig arm64: reset: flush D-Cache before it is disabled 2025-06-04 16:59:43 +02:00
macro_priv.inc arch: arm64: Use voting lock for multi-core boot race condition 2023-10-20 15:09:34 +02:00
mmu.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
mmu.h arm64: mmu: access fault handler for demand paging 2024-09-11 20:18:51 -04:00
mmu.S arch/arm64: Implement ASID support in ARM64 MMU 2022-12-13 17:21:11 +09:00
paging.h arm64: demand_paging: allow page fault processing with IRQs enabled 2024-09-11 20:18:51 -04:00
prep_c.c cache: add new interface arch_cache_init() for initializing cache 2024-09-17 20:05:22 -04:00
reboot.c arm64: add sys_arch_reboot() support 2024-09-12 10:03:52 +02:00
reset.c arm64: reset: flush D-Cache before it is disabled 2025-06-04 16:59:43 +02:00
reset.S Revert "arm64: reset: disable cache and MMU for safety" 2025-06-04 16:59:43 +02:00
semihost.c
smccc-call.S
smp.c Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
swi_tables.ld arch: arm, arm64: Remove zephyr prefix from linker includes 2024-02-05 12:32:46 +01:00
switch.S arm64: core: force data synchronization between context switch 2025-05-26 11:54:13 +02:00
thread.c arch: arm64: fix spelling of "below" 2025-02-19 18:51:13 +01:00
tls.c
userspace.S coding guidelines: comply with MISRA Rule 11.8 2024-05-09 10:28:44 +02:00
vector_table.S arch: arm64: fix spelling of "exception" 2025-02-27 13:28:21 +00:00