Re: [PATCH V1 2/5] RISC-V: Implement ptrace regs and stack API

2020-07-07 Thread Zong Li
On Sat, Jul 4, 2020 at 11:34 AM wrote: > > From: Patrick Stählin > > Needed for kprobes support. Copied and adapted from arm64 code. > > Guo Ren fixup pt_regs type for linux-5.8-rc1. > > Signed-off-by: Patrick Stählin > Signed-off-by: Guo Ren > --- > arch/riscv/Kconfig | 1 + > a

[PATCH V1 2/5] RISC-V: Implement ptrace regs and stack API

2020-07-03 Thread guoren
From: Patrick Stählin Needed for kprobes support. Copied and adapted from arm64 code. Guo Ren fixup pt_regs type for linux-5.8-rc1. Signed-off-by: Patrick Stählin Signed-off-by: Guo Ren --- arch/riscv/Kconfig | 1 + arch/riscv/include/asm/ptrace.h | 29 arch/riscv/