[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1680833701-1727-1-git-send-email-yangtiezhu@loongson.cn>
Date: Fri, 7 Apr 2023 10:14:58 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>,
WANG Xuerui <kernel@...0n.name>
Cc: loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
loongson-kernel@...ts.loongnix.cn
Subject: [RFC PATCH 0/3] Add uprobes support for LoongArch
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
--
2.1.0
Powered by blists - more mailing lists