linux/tools/testing/selftests/arm64
Yifan Wu d87c828daa selftest/arm64: Fix sve2p1_sigill() to hwcap test
The FEAT_SVE2p1 is indicated by ID_AA64ZFR0_EL1.SVEver. However,
the BFADD requires the FEAT_SVE_B16B16, which is indicated by
ID_AA64ZFR0_EL1.B16B16. This could cause the test to incorrectly
fail on a CPU that supports FEAT_SVE2.1 but not FEAT_SVE_B16B16.

LD1Q Gather load quadwords which is decoded from SVE encodings and
implied by FEAT_SVE2p1.

Fixes: c5195b027d ("kselftest/arm64: Add SVE 2.1 to hwcap test")
Signed-off-by: Yifan Wu <wuyifan50@huawei.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
2026-03-06 11:54:26 +00:00
..
abi selftest/arm64: Fix sve2p1_sigill() to hwcap test 2026-03-06 11:54:26 +00:00
bti kselftest/arm64: Remove extra blank line 2025-09-08 16:01:21 +01:00
fp kselftest/arm64: Raise default number of loops in fp-pidbench 2026-01-28 13:09:30 +00:00
gcs kselftest/arm64: Use syscall() macro over nolibc my_syscall() 2026-01-22 11:21:09 +00:00
mte kselftest/arm64: Add missing file in .gitignore 2026-01-26 14:29:06 +00:00
pauth selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
signal kselftest: arm64: Check access to GCS after mprotect(PROT_NONE) 2026-02-25 19:53:58 +00:00
tags selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
Makefile kselftest/arm64: Support FORCE_TARGETS 2026-01-05 21:16:46 +00:00
README kselftest: arm64: extend toplevel skeleton Makefile 2019-11-08 11:10:30 +00:00

KSelfTest ARM64
===============

- These tests are arm64 specific and so not built or run but just skipped
  completely when env-variable ARCH is found to be different than 'arm64'
  and `uname -m` reports other than 'aarch64'.

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

      $ make TARGETS=arm64 kselftest-clean
      $ make TARGETS=arm64 kselftest

      or

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

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

      $ make -C tools/testing/selftests TARGETS=arm64 ARM64_SUBTARGETS="tags signal" \
		INSTALL_PATH=<your-installation-path> install

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