linux/tools/testing/selftests/arm64
Zeng Heng fd49cf0888 kselftest/arm64: add test item that support to capturing the SIGBUS signal
Some enhanced features, such as the LSE2 feature, do not result in
SILLILL if LSE2 is missing and LSE is present, but will generate a
SIGBUS exception when atomic access unaligned.

Therefore, we add test item to test this type of features.

Notice that testing for SIGBUS only makes sense after make sure that
the instruction does not cause a SIGILL signal.

Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230808134036.668954-5-zengheng4@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2023-08-11 12:24:16 +01:00
..
abi kselftest/arm64: add test item that support to capturing the SIGBUS signal 2023-08-11 12:24:16 +01:00
bti kselftest/arm64: Use the tools/include compiler.h rather than our own 2023-08-04 17:36:52 +01:00
fp kselftest/arm64: Validate that changing one VL type does not affect another 2023-07-27 16:52:06 +01:00
mte kselftest/arm64: Remove spurious comment from MTE test Makefile 2023-01-20 14:30:46 +00:00
pauth kselftest/arm64: pac: Fix skipping of tests on systems without PAC 2021-08-20 12:06:59 +01:00
signal kselftest/arm64: Use shared OPTIMZER_HIDE_VAR() definiton 2023-08-04 17:36:52 +01:00
tags selftests: arm64: Fix incorrect kernel headers search path 2023-01-30 15:00:39 -07:00
Makefile kselftest/arm64: Make the tools/include headers available 2023-08-04 17:36:52 +01: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