README
1KSelfTest RISC-V
2================
3
4- These tests are riscv specific and so not built or run but just skipped
5 completely when env-variable ARCH is found to be different than 'riscv'.
6
7- Holding true the above, RISC-V KSFT tests can be run within the
8 KSelfTest framework using standard Linux top-level-makefile targets:
9
10 $ make TARGETS=riscv kselftest-clean
11 $ make TARGETS=riscv kselftest
12
13 or
14
15 $ make -C tools/testing/selftests TARGETS=riscv \
16 INSTALL_PATH=<your-installation-path> install
17
18 or, alternatively, only specific riscv/ subtargets can be picked:
19
20 $ make -C tools/testing/selftests TARGETS=riscv RISCV_SUBTARGETS="mm vector" \
21 INSTALL_PATH=<your-installation-path> install
22
23 Further details on building and running KSFT can be found in:
24 Documentation/dev-tools/kselftest.rst
25