[PATCH 1/3] riscv: ftrace: Fixup panic by disabling preemption

Guo Ren guoren at kernel.org
Sat Sep 17 03:46:24 PDT 2022


Thanks! I would add your Signed-off-by: Andy Chiu
<andy.chiu at sifive.com> as the first author, next.

On Sat, Sep 17, 2022 at 9:32 AM Andy Chiu <andy.chiu at sifive.com> wrote:
>
> Yes, by disabling preemption and ensuring all sub-functions called by
> the busy waiting loop of stop_machine, which happens to be true on
> non-preemptive kernels, solve the problem from the original
> implementation.
>
> Andy Chiu <andy.chiu at sifive.com>



-- 
Best Regards
 Guo Ren



More information about the linux-riscv mailing list