^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) KSelfTest ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ===============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - These tests are arm64 specific and so not built or run but just skipped
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) completely when env-variable ARCH is found to be different than 'arm64'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) and `uname -m` reports other than 'aarch64'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - Holding true the above, ARM64 KSFT tests can be run within the KSelfTest
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) framework using standard Linux top-level-makefile targets:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) $ make TARGETS=arm64 kselftest-clean
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) $ make TARGETS=arm64 kselftest
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) $ make -C tools/testing/selftests TARGETS=arm64 \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) INSTALL_PATH=<your-installation-path> install
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) or, alternatively, only specific arm64/ subtargets can be picked:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) $ make -C tools/testing/selftests TARGETS=arm64 ARM64_SUBTARGETS="tags signal" \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) INSTALL_PATH=<your-installation-path> install
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Further details on building and running KFST can be found in:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Documentation/dev-tools/kselftest.rst