zephyr/arch
Sylvain Chouleur a8b3238437 arm64: core: force data synchronization between context switch
This patch fixes memory corruption that can happen when running in
multi-thread and multi-core environment with heavy scheduling stress.

In SMP configuration, we must ensure that all thread's context is
stored before writing the switch_handle flag. Otherwise some of the
thread context writes could be delayed after another CPU begins to
schedule this thread which could lead to memory corruptions.

Signed-off-by: Sylvain Chouleur <schouleur@snapchat.com>
2025-05-26 11:54:13 +02:00
..
arc style: add missing curly braces in if/while/for statements. 2025-05-17 14:10:33 +02:00
arm arch: arm: update to use CMSIS_6 compatible macros 2025-05-23 17:40:55 -04:00
arm64 arm64: core: force data synchronization between context switch 2025-05-26 11:54:13 +02:00
common arch: common: Make nocache region loadable 2025-04-21 12:42:19 +02:00
mips arch: mips: Rename _Fault to z_mips_fault 2025-01-28 23:42:06 +01:00
posix arch/posix: Add comment on empty function 2025-05-13 12:09:30 +02:00
riscv riscv: Increase TEST_EXTRA_STACK_SIZE to 4096 if c++ exceptions 2025-05-23 17:41:40 -04:00
rx arch: Initial support for RX architecture support 2025-05-02 09:18:16 +02:00
sparc Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
x86 llext: basic x86 support 2025-05-21 19:57:20 +02:00
xtensa style: add missing curly braces in if/while/for statements. 2025-05-17 14:10:33 +02:00
archs.yml arch: nios2: remove arch 2025-05-15 20:01:05 -04:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig arch: nios2: remove arch 2025-05-15 20:01:05 -04:00