linux/tools/testing/selftests/powerpc/ptrace
Jordan Niethe e42edf9b9d selftests: Skip TM tests on synthetic TM implementations
Transactional Memory was removed from the architecture in ISA v3.1. For
threads running in P8/P9 compatibility mode on P10 a synthetic TM
implementation is provided. In this implementation, tbegin. always sets
cr0 eq meaning the abort handler is always called. This is not an issue
as users of TM are expected to have a fallback non transactional way to
make forward progress in the abort handler.  The TEXASR indicates if a
transaction failure is due to a synthetic implementation.

Some of the TM self tests need a non-degenerate TM implementation for
their testing to be meaningful so check for a synthetic implementation
and skip the test if so.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210729041317.366612-2-jniethe5@gmail.com
2021-08-26 21:21:06 +10:00
..
.gitignore powerpc/selftests: Add selftest to test concurrent perf/ptrace events 2021-04-23 01:38:03 +10:00
child.h selftests/powerpc: Add ptrace tests for Protection Key registers 2018-05-28 18:46:35 +10:00
core-pkey.c selftests/powerpc: Fix pkey access right updates 2020-06-30 14:37:47 +10:00
Makefile powerpc/selftests: Add selftest to test concurrent perf/ptrace events 2021-04-23 01:38:03 +10:00
perf-hwbreak.c powerpc/selftests/perf-hwbreak: Add testcases for 2nd DAWR 2021-04-23 01:38:03 +10:00
ptrace-gpr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ptrace-gpr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ptrace-hwbreak.c powerpc/selftests/ptrace-hwbreak: Add testcases for 2nd DAWR 2021-04-23 01:38:03 +10:00
ptrace-perf-hwbreak.c powerpc/selftests: Add selftest to test concurrent perf/ptrace events 2021-04-23 01:38:03 +10:00
ptrace-pkey.c selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value 2020-07-22 00:01:06 +10:00
ptrace-syscall.c selftests/powerpc: New PTRACE_SYSEMU test 2018-10-03 15:40:04 +10:00
ptrace-tar.c selftests/powerpc: Skip vmx/vsx/tar/etc tests on older CPUs 2020-08-03 22:12:41 +10:00
ptrace-tar.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ptrace-tm-gpr.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
ptrace-tm-spd-gpr.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
ptrace-tm-spd-tar.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
ptrace-tm-spd-vsx.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
ptrace-tm-spr.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
ptrace-tm-tar.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
ptrace-tm-vsx.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
ptrace-vsx.c selftests/powerpc: Skip vmx/vsx/tar/etc tests on older CPUs 2020-08-03 22:12:41 +10:00
ptrace-vsx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ptrace.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00