On Fri, Nov 6, 2020 at 9:03 AM Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx> wrote: > > On Sat, 17 Oct 2020 00:06:09 PDT (-0700), guoren@xxxxxxxxxx wrote: > > From: Patrick Stählin <me@xxxxxxxx> > > > > 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 <me@xxxxxxxx> > > Signed-off-by: Guo Ren <guoren@xxxxxxxxxxxxxxxxx> > > Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxx> > > Reviewed-by: Zong Li <zong.li@xxxxxxxxxx> > > Reviewed-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx> > > --- > > arch/riscv/Kconfig | 1 + > > arch/riscv/include/asm/ptrace.h | 29 ++++++++++++ > > arch/riscv/kernel/ptrace.c | 99 +++++++++++++++++++++++++++++++++++++++++ > > 3 files changed, 129 insertions(+) > > > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > > index b7821ac..e6424d8b 100644 > > --- a/arch/riscv/Kconfig > > +++ b/arch/riscv/Kconfig > > @@ -87,6 +87,7 @@ config RISCV > > select SPARSE_IRQ > > select SYSCTL_EXCEPTION_TRACE > > select THREAD_INFO_IN_TASK > > + select HAVE_REGS_AND_STACK_ACCESS_API > > We alphabetize these now -- I'd usually just fix it, but there's a > Signed-off-by issue later in the patch set. ok, I'll fix it and rebase 5.10-rc2. -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/