aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/riscv/Makefile
diff options
context:
space:
mode:
authorCharlie Jenkins <charlie@rivosinc.com>2024-04-03 16:50:29 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2024-05-22 16:12:57 -0700
commit9d5328eeb18597749b18f42ff7df1c9f485d3c3c (patch)
tree9c3c3a31053479cb08e9f96fe580a3987852b5a0 /tools/testing/selftests/riscv/Makefile
parent4c6c0020427a4547845a83f7e4d6085e16c3e24f (diff)
riscv: selftests: Add signal handling vector tests
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@rivosinc.com> Reviewed-by: Björn Töpel <bjorn@rivosinc.com> Reviewed-by: Andy Chiu <andy.chiu@sifive.com> Tested-by: Andy Chiu <andy.chiu@sifive.com> Link: https://lore.kernel.org/r/20240403-vector_sigreturn_tests-v1-1-2e68b7a3b8d7@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/testing/selftests/riscv/Makefile')
-rw-r--r--tools/testing/selftests/riscv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/riscv/Makefile b/tools/testing/selftests/riscv/Makefile
index 4a9ff515a3a0..7ce03d832b64 100644
--- a/tools/testing/selftests/riscv/Makefile
+++ b/tools/testing/selftests/riscv/Makefile
@@ -5,7 +5,7 @@
ARCH ?= $(shell uname -m 2>/dev/null || echo not)
ifneq (,$(filter $(ARCH),riscv))
-RISCV_SUBTARGETS ?= hwprobe vector mm
+RISCV_SUBTARGETS ?= hwprobe vector mm sigreturn
else
RISCV_SUBTARGETS :=
endif