zephyr/arch/arc/core
Evgeniy Paltsev 1bc2cb7fd7 ARC: fix SMP race in ASM ARC interrupt handling code
In interrupt chandler code we don't save full current task context
on stack (we don't save callee regs) before z_get_next_switch_handle()
call, but we passing _current to it, so z_get_next_switch_handle
saves current task to switch_handle, which means that this CPU
current task can be picked by other CPU before we fully store it
context on this CPU.

Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2022-07-20 09:26:24 -05:00
..
mpu arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
offsets arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
secureshield asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
CMakeLists.txt
arc_connect.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
arc_smp.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
cache.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
cpu_idle.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
fast_irq.S ARC: fix SMP race in ASM ARC interrupt handling code 2022-07-20 09:26:24 -05:00
fatal.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
fault.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
fault_s.S ARC: fix SMP race in ASM ARC interrupt handling code 2022-07-20 09:26:24 -05:00
irq_manage.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
irq_offload.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
isr_wrapper.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
prep_c.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
regular_irq.S ARC: fix SMP race in ASM ARC interrupt handling code 2022-07-20 09:26:24 -05:00
reset.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
switch.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
thread.c ARC: fix SMP race in ASM ARC interrupt handling code 2022-07-20 09:26:24 -05:00
thread_entry_wrapper.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
timestamp.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
tls.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
userspace.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
vector_table.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
vector_table.ld arc: vector_table: Automatically place the IRQ vector table 2022-06-28 12:29:42 +02:00