[RFC,0/3] Add uprobes support for LoongArch

Message ID 1680833701-1727-1-git-send-email-yangtiezhu@loongson.cn
Headers
Series Add uprobes support for LoongArch |

Message

Tiezhu Yang April 7, 2023, 2:14 a.m. UTC
  RFC patches sent for review, more testing is working in progress.

Tiezhu Yang (3):
  LoongArch: Move three functions from kprobes.c to inst.h
  LoongArch: Add larch_insn_gen_break() to generate break insn
  LoongArch: Add uprobes support

 arch/loongarch/Kconfig               |   3 +
 arch/loongarch/include/asm/inst.h    |  63 ++++++++++++++++
 arch/loongarch/include/asm/kprobes.h |   2 +-
 arch/loongarch/include/asm/uprobes.h |  36 +++++++++
 arch/loongarch/kernel/Makefile       |   1 +
 arch/loongarch/kernel/inst.c         |   9 +++
 arch/loongarch/kernel/kprobes.c      |  63 ++--------------
 arch/loongarch/kernel/traps.c        |   7 +-
 arch/loongarch/kernel/uprobes.c      | 138 +++++++++++++++++++++++++++++++++++
 9 files changed, 259 insertions(+), 63 deletions(-)
 create mode 100644 arch/loongarch/include/asm/uprobes.h
 create mode 100644 arch/loongarch/kernel/uprobes.c