This bug is brought in commit 3f88ddd54999. The cleanup of IRQ_ACT.U bit before thread switch is not done. The bug comes out at the case where interrupt comes in user mode, then a thread switch happens, and the target thread is to run in kernel mode. Because the U bit is not sync up correctly, the stack operation is wrong. Signed-off-by: Wayne Ren <wei.ren@synopsys.com> |
||
|---|---|---|
| .. | ||
| v2 | ||
| kernel_arch_data.h | ||
| kernel_arch_func.h | ||
| offsets_short_arch.h | ||
| swap_macros.h | ||
| vector_table.h | ||