linux/tools/testing/selftests/riscv
Thomas Weißschuh 098921ec68 selftests: riscv: vstate_exec_nolibc: Use the regular prctl() function
The my_syscall*() macros are internal implementation details of nolibc.

Now that nolibc has a normal prctl() function, use that.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20260117-nolibc-mysyscall-riscv-v1-1-0ae1ae3513e9@weissschuh.net
Signed-off-by: Paul Walmsley <pjw@kernel.org>
2026-02-09 15:27:33 -07:00
..
abi selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
cfi kselftest/riscv: add kselftest for user mode CFI 2026-01-29 02:38:40 -07:00
hwprobe riscv: hwprobe: add support for RISCV_HWPROBE_KEY_IMA_EXT_1 2026-01-29 02:38:40 -07:00
mm selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
sigreturn selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
vector selftests: riscv: vstate_exec_nolibc: Use the regular prctl() function 2026-02-09 15:27:33 -07:00
Makefile kselftest/riscv: add kselftest for user mode CFI 2026-01-29 02:38:40 -07:00
README selftests: riscv: Add README for RISC-V KSelfTest 2025-09-18 19:26:07 -06:00

KSelfTest RISC-V
================

- These tests are riscv specific and so not built or run but just skipped
  completely when env-variable ARCH is found to be different than 'riscv'.

- Holding true the above, RISC-V KSFT tests can be run within the
  KSelfTest framework using standard Linux top-level-makefile targets:

      $ make TARGETS=riscv kselftest-clean
      $ make TARGETS=riscv kselftest

      or

      $ make -C tools/testing/selftests TARGETS=riscv \
		INSTALL_PATH=<your-installation-path> install

      or, alternatively, only specific riscv/ subtargets can be picked:

      $ make -C tools/testing/selftests TARGETS=riscv RISCV_SUBTARGETS="mm vector" \
		INSTALL_PATH=<your-installation-path> install

   Further details on building and running KSFT can be found in:
     Documentation/dev-tools/kselftest.rst