]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Implement ptrace regs and stack API
authorPatrick Stählin <me@packi.ch>
Thu, 17 Dec 2020 16:01:37 +0000 (16:01 +0000)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 14 Jan 2021 23:09:01 +0000 (15:09 -0800)
commitba64d9db3b57b0b34d0662f3fde1f814081b4e7e
tree8a99135a029e7ec405580149123919f2af81dfdf
parent30619a62baa3f9608ddad2da5dcf634ad5469ff7
RISC-V: Implement ptrace regs and stack API

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@packi.ch>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Reviewed-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig
arch/riscv/include/asm/ptrace.h
arch/riscv/kernel/ptrace.c