zephyr/arch/arc
Evgeniy Paltsev 9d6ced3822 ARC: SMP: fix livelock in thread abort due to exception
We are missing setting of switch_handle for the thread which
is aborting due to exception (i.e. in case of k_panic or
__ASSERT triggered). This may cause livelock in SMP code
after a08e23f68e commit ("kernel/sched: Fix SMP
must-wait-for-switch conditions in abort/join").

Fix that.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2023-06-08 20:27:06 -04:00
..
arcmwdt treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
core ARC: SMP: fix livelock in thread abort due to exception 2023-06-08 20:27:06 -04:00
include kernel/sched: Rename/redocument wait_for_switch() -> z_sched_switch_spin() 2023-05-26 17:09:35 -04:00
CMakeLists.txt ARC: ARCv2: GCC: restore default TLS behavior for all SDKs 2022-11-28 17:44:13 +01:00
Kconfig ARC: Add HS4x support 2023-05-02 16:54:24 +02:00