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

From: Nam Cao

Date: Thu Jun 18 2026 - 11:32:07 EST


Charlie Jenkins <thecharlesjenkins@xxxxxxxxx> writes:
> Since I was checking against the previous version it's not possible to
> do a straight one-to-one conversion to the kunit. I think it might be
> possible to do something similar but I will need to mess with that to
> determine a good way of doing it.

Perhaps not to the existing kunit, but a new kunit which calls the
simulate_*() functions directly. Just an idea.

Nam