linux/tools/testing/selftests/powerpc
Michael Ellerman 09275d717d selftests/powerpc: Don't touch VMX/VSX on older CPUs
If we're running on a CPU without VMX/VSX then don't touch them. This
is fragile, the compiler could spill a VMX/VSX register and break the
test anyway. But in practice it seems to work, ie. the test runs to
completion on a system without VSX with this change.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-8-mpe@ellerman.id.au
2020-09-08 22:24:10 +10:00
..
alignment selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
benchmarks selftests/powerpc: Don't touch VMX/VSX on older CPUs 2020-09-08 22:24:10 +10:00
cache_shape .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
copyloops .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
dscr selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
eeh selftests/powerpc: Squash spurious errors due to device removal 2020-07-29 21:02:11 +10:00
include selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
math selftests/powerpc: Skip vmx/vsx/tar/etc tests on older CPUs 2020-08-03 22:12:41 +10:00
mm selftests/powerpc: Give the bad_accesses test longer to run 2020-09-08 22:23:54 +10:00
nx-gzip selftests/powerpc: Use proper error code to check fault address 2020-07-15 23:10:17 +10:00
pmu selftests/powerpc: Skip L3 bank test on older CPUs 2020-09-08 22:24:08 +10:00
primitives .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
ptrace selftests/powerpc: Skip vmx/vsx/tar/etc tests on older CPUs 2020-08-03 22:12:41 +10:00
scripts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
security selftests/powerpc: Skip security tests on older CPUs 2020-09-08 22:24:05 +10:00
signal powerpc: Use trap metadata to prevent double restart rather than zeroing trap 2020-05-15 11:58:54 +10:00
stringloops selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
switch_endian .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
syscalls .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
tm selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
vphn .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
harness.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
Makefile selftests/powerpc: Add NX-GZIP engine compress testcase 2020-04-21 22:51:34 +10:00
utils.c selftests/powerpc: Move set_dscr() into rfi_flush.c 2020-09-08 22:23:57 +10:00