2023-07-30 14:09:03

by Nam Cao

[permalink] [raw]
Subject: [PATCH 0/3] riscv: kprobes: simulate some instructions

Simulate some currently rejected instructions. Still to be simulated are:
- c.jal
- c.ebreak

Nam Cao (3):
riscv: kprobes: simulate c.j instruction
riscv: kprobes: simulate c.jr and c.jalr instructions
riscv: kprobes: simulate c.beqz and c.bnez

arch/riscv/kernel/probes/decode-insn.c | 11 +-
arch/riscv/kernel/probes/simulate-insn.c | 105 +++++++++
arch/riscv/kernel/probes/simulate-insn.h | 5 +
drivers/test_kprobe/Makefile | 3 +
drivers/test_kprobe/test_kprobe.c | 265 +++++++++++++++++++++++
5 files changed, 384 insertions(+), 5 deletions(-)
create mode 100644 drivers/test_kprobe/Makefile
create mode 100644 drivers/test_kprobe/test_kprobe.c

--
2.34.1



Subject: Re: [PATCH 0/3] riscv: kprobes: simulate some instructions

Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <[email protected]>:

On Sun, 30 Jul 2023 10:27:06 +0200 you wrote:
> Simulate some currently rejected instructions. Still to be simulated are:
> - c.jal
> - c.ebreak
>
> Nam Cao (3):
> riscv: kprobes: simulate c.j instruction
> riscv: kprobes: simulate c.jr and c.jalr instructions
> riscv: kprobes: simulate c.beqz and c.bnez
>
> [...]

Here is the summary with links:
- [1/3] riscv: kprobes: simulate c.j instruction
https://git.kernel.org/riscv/c/a93892974f2e
- [2/3] riscv: kprobes: simulate c.jr and c.jalr instructions
https://git.kernel.org/riscv/c/b18256d9b744
- [3/3] riscv: kprobes: simulate c.beqz and c.bnez
https://git.kernel.org/riscv/c/d943705fba3a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html