mbox series

[0/2] ftrace fixes

Message ID 20240326203017.310422-1-alexghiti@rivosinc.com (mailing list archive)
Headers show
Series ftrace fixes | expand

Message

Alexandre Ghiti March 26, 2024, 8:30 p.m. UTC
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(-)

Comments

Puranjay Mohan March 26, 2024, 10:30 p.m. UTC | #1
Alexandre Ghiti <alexghiti@rivosinc.com> writes:

> 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()
>

Thanks for this.

Acked-by: Puranjay Mohan <puranjay12@gmail.com>

for both patches.

Puranjay
patchwork-bot+linux-riscv@kernel.org April 4, 2024, 10:20 p.m. UTC | #2
Hello:

This series was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@rivosinc.com>:

On Tue, 26 Mar 2024 21:30:15 +0100 you wrote:
> 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()
> 
> [...]

Here is the summary with links:
  - [1/2] riscv: Fix warning by declaring arch_cpu_idle() as noinstr
    https://git.kernel.org/riscv/c/8a48ea87ce89
  - [2/2] riscv: Disable preemption when using patch_map()
    https://git.kernel.org/riscv/c/a370c2419e46

You are awesome, thank you!