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