[PATCH] riscv: kprobes: Add test case for c.jal instruction simulation
Nam Cao
namcao at linutronix.de
Sat Jun 27 06:25:21 PDT 2026
Xiaofeng Yuan <xiaofengmian at 163.com> writes:
> Thanks for the test case. Since c.jal is RV32-only, I haven't been able
> to run it on real hardware. I tried running the full kprobes KUNIT test
> suite under QEMU riscv32, but the test appears to hang before
> completing -- even without the c.jal test case included.
That is not supposed to happen.
> I suspect this may be a QEMU emulation speed issue or a pre-existing
> limitation of the test framework in an emulated environment.
>
> Did you run this test on real hardware or in QEMU? If QEMU, any tips
> on how to get it to complete?
I mostly run on QEMU, but I did run on real hardware a few times. I
never observed a problem.
If you want me to look into it, please share your qemu command and
kernel config file.
Nam
More information about the linux-riscv
mailing list