> Date: Mon, 21 Feb 2022 17:37:22 +
> From: Visa Hankala
>
> When setting up the stack for a (kernel) thread on riscv64, zero the
> frame pointer in switchframe so that the frame chain terminates cleanly.
> At the moment, the unwinding of kernel thread stacks stops to "bad frame
> pointer" er
When setting up the stack for a (kernel) thread on riscv64, zero the
frame pointer in switchframe so that the frame chain terminates cleanly.
At the moment, the unwinding of kernel thread stacks stops to "bad frame
pointer" error.
OK?
Index: arch/riscv64/riscv64/cpuswitch.S
==