mbox series

[0/2] riscv: stacktrace: A fixup and an optimization

Message ID 20221109064937.3643993-1-guoren@kernel.org (mailing list archive)
Headers show
Series riscv: stacktrace: A fixup and an optimization | expand

Message

Guo Ren Nov. 9, 2022, 6:49 a.m. UTC
From: Guo Ren <guoren@linux.alibaba.com>

First is a fixup for the return address pointer. The second makes
walk_stackframe could cross the pt_regs frame.

Guo Ren (2):
  riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
  riscv: stacktrace: Make walk_stackframe cross pt_regs frame

 arch/riscv/kernel/entry.S      |  2 +-
 arch/riscv/kernel/stacktrace.c | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

Comments

Palmer Dabbelt Dec. 6, 2022, 2:59 a.m. UTC | #1
On Wed, 9 Nov 2022 01:49:35 -0500, guoren@kernel.org wrote:
> From: Guo Ren <guoren@linux.alibaba.com>
> 
> First is a fixup for the return address pointer. The second makes
> walk_stackframe could cross the pt_regs frame.
> 
> Guo Ren (2):
>   riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
>   riscv: stacktrace: Make walk_stackframe cross pt_regs frame
> 
> [...]

Applied, thanks!

[1/2] riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
      https://git.kernel.org/palmer/c/5c3022e4a616
[2/2] riscv: stacktrace: Make walk_stackframe cross pt_regs frame
      https://git.kernel.org/palmer/c/7ecdadf7f8c6

Best regards,
patchwork-bot+linux-riscv@kernel.org Dec. 6, 2022, 3:10 a.m. UTC | #2
Hello:

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

On Wed,  9 Nov 2022 01:49:35 -0500 you wrote:
> From: Guo Ren <guoren@linux.alibaba.com>
> 
> First is a fixup for the return address pointer. The second makes
> walk_stackframe could cross the pt_regs frame.
> 
> Guo Ren (2):
>   riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
>   riscv: stacktrace: Make walk_stackframe cross pt_regs frame
> 
> [...]

Here is the summary with links:
  - [1/2] riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
    https://git.kernel.org/riscv/c/5c3022e4a616
  - [2/2] riscv: stacktrace: Make walk_stackframe cross pt_regs frame
    https://git.kernel.org/riscv/c/7ecdadf7f8c6

You are awesome, thank you!