linux-uconsole/tools/testing/selftests/powerpc
Gustavo Romero 77fad8bfb1 selftests/powerpc: Check FP/VEC on exception in TM
Add a self test to check if FP/VEC/VSX registers are sane (restored
correctly) after a FP/VEC/VSX unavailable exception is caught during a
transaction.

This test checks all possibilities in a thread regarding the combination
of MSR.[FP|VEC] states in a thread and for each scenario raises a
FP/VEC/VSX unavailable exception in transactional state, verifying if
vs0 and vs32 registers, which are representatives of FP/VEC/VSX reg
sets, are not corrupted.

Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-11-09 15:50:21 +11:00
..
alignment selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
benchmarks selftests/powerpc: context_switch: Fix pthread errors 2017-10-13 19:41:56 +11:00
cache_shape selftests/powerpc: Add cache_shape sniff test 2017-03-20 19:02:49 +11:00
context_switch selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
copyloops selftests: enable O and KBUILD_OUTPUT 2017-01-05 13:42:22 -07:00
dscr selftests/powerpc: Use snprintf to construct DSCR sysfs interface paths 2017-10-06 20:51:10 +11:00
include selftests/powerpc: Refactor the AUXV routines 2017-03-20 19:02:49 +11:00
lib selftests/powerpc: Add ptrace tests for VSX, VMX registers 2016-11-17 17:11:51 +11:00
math selftests/powerpc: Fix remaining fallout from recent changes 2017-02-14 08:02:27 -07:00
mm selftests: enable O and KBUILD_OUTPUT 2017-01-05 13:42:22 -07:00
pmu linux-kselftest-4.11-rc1 2017-02-25 15:32:53 -08:00
primitives selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
ptrace selftests/powerpc: Force ptrace tests to build -fno-pie 2017-08-31 14:26:49 +10:00
scripts selftests/powerpc: Add script to test HMI functionality 2015-12-17 10:46:43 +11:00
signal selftests/powerpc: Move shared headers into new include dir 2016-11-17 17:11:47 +11:00
stringloops selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
switch_endian powerpc/asm: Convert .llong directives to .8byte 2017-08-31 14:26:47 +10:00
syscalls selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
tm selftests/powerpc: Check FP/VEC on exception in TM 2017-11-09 15:50:21 +11:00
vphn selftests: remove duplicated all and clean target 2017-01-05 13:41:35 -07:00
harness.c selftest/powerpc: Fix false failures for skipped tests 2017-03-03 11:24:50 +11:00
Makefile linux-kselftest-4.12-rc1 2017-05-08 20:43:30 -07:00
utils.c selftests/powerpc: Refactor the AUXV routines 2017-03-20 19:02:49 +11:00