[PATCH 04/16] riscv: kprobes: Use generated instruction headers

Nam Cao namcao at linutronix.de
Wed Jun 10 23:22:41 PDT 2026


Charlie Jenkins via B4 Relay
<devnull+thecharlesjenkins.gmail.com at kernel.org> writes:
> This was again verified by checking all 32-bit values for each of these
> functions and checking that the two version have the same behavior.

Your checking is missing some cases. branch instructions and c.jr are
broken.

Btw, any chance that check can be added as a new kunit test case? I
wrote the CONFIG_RISCV_KPROBES_KUNIT, but that only tests some values.

Nam



More information about the linux-riscv mailing list