zephyr/arch
Appana Durga Kedareswara rao bb3795b75f arch: arm: cortex_a_r: align reset entry to 32 bytes for ARMv8-R RVBAR
ARMv8-R AArch32 cores determine the CPU start address on reset from
RVBAR (Reset Vector Base Address Register), which only stores bits
[31:5] — bits [4:0] are RES0.  Any firmware or boot-loader that
programs RVBAR from the ELF entry point will silently truncate
a non-aligned address to a 32-byte boundary, causing the CPU to
begin executing at the wrong location.

Whether __start lands on a 32-byte boundary depends on the size of
code sections placed before it, which changes with Kconfig options.
This makes the failure non-deterministic: a build may work today and
break after enabling an unrelated feature like logging.

Force 32-byte alignment on z_arm_reset/__start for ARMv8-R so the
entry point survives RVBAR truncation on any SoC.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-13 16:34:05 +01:00
..
arc arc: mpu: Fix race condition in MPUv6 buffer validation 2026-03-13 14:44:50 +01:00
arm arch: arm: cortex_a_r: align reset entry to 32 bytes for ARMv8-R RVBAR 2026-03-13 16:34:05 +01:00
arm64 arch: arm64: add ISB between SVE trap control and ZCR register writes 2026-03-11 17:56:31 +00:00
common arm*: BTI requires C library built with branch protection 2026-02-03 09:36:09 +01:00
mips cpuidle: optimize out weak stub function call for !TRACING 2026-03-11 23:17:29 -04:00
posix cpuidle: optimize out weak stub function call for !TRACING 2026-03-11 23:17:29 -04:00
riscv cpuidle: optimize out weak stub function call for !TRACING 2026-03-11 23:17:29 -04:00
rx cpuidle: optimize out weak stub function call for !TRACING 2026-03-11 23:17:29 -04:00
sparc arch: *: remove check for CONFIG_SOC_PER_CORE_INIT_HOOK 2026-01-07 19:39:53 +01:00
x86 cpuidle: optimize out weak stub function call for !TRACING 2026-03-11 23:17:29 -04:00
xtensa xtensa: set is_fatal_error before stack bound check 2026-03-12 09:20:28 -05:00
archs.yml scripts: hwm_v2: add full_name property for archs 2025-06-06 10:29:44 +02:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig arch: Remove FPU_SHARING dependence on MULTITHREADING 2026-03-10 17:24:10 +01:00