[PATCH 0/2] ftrace fixes

Alexandre Ghiti alexghiti at rivosinc.com
Tue Mar 26 13:30:15 PDT 2024


Both were reported recently as there are efforts ongoing to
reimplement ftrace on riscv and both are independent of this rework,
so here they are.

Alexandre Ghiti (2):
  riscv: Fix warning by declaring arch_cpu_idle() as noinstr
  riscv: Disable preemption when using patch_map()

 arch/riscv/kernel/patch.c   | 8 ++++++++
 arch/riscv/kernel/process.c | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

-- 
2.39.2




More information about the linux-riscv mailing list