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

Björn Töpel bjorn at kernel.org
Wed Apr 3 22:46:54 PDT 2024


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>



More information about the linux-riscv mailing list