[PATCH] riscv: selftests: Add signal handling vector tests

Andy Chiu andy.chiu at sifive.com
Mon Apr 8 20:01:46 PDT 2024


On Thu, Apr 4, 2024 at 1:47 PM Björn Töpel <bjorn at kernel.org> wrote:
>
> Charlie Jenkins <charlie at rivosinc.com> writes:
>
> > Add two tests to check vector save/restore when a signal is received
> > during a vector routine. One test ensures that a value is not clobbered
> > during signal handling. The other verifies that vector registers
> > modified in the signal handler are properly reflected when the signal
> > handling is complete.
> >
> > Signed-off-by: Charlie Jenkins <charlie at rivosinc.com>
>
> Nice!
>
> Reviewed-by: Björn Töpel <bjorn at rivosinc.com>

Thanks!

Reviewed-by: Andy Chiu <andy.chiu at sifive.com>
Tested-by: Andy Chiu <andy.chiu at sifive.com>



More information about the linux-riscv mailing list