linux/tools/testing/selftests/powerpc
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
..
alignment selftests/powerpc: Suggest memtrace instead of /dev/mem for ci memory 2021-04-08 21:17:44 +10:00
benchmarks powerpc/selftests: Use gettid() instead of getppid() for null_syscall 2021-06-17 00:09:10 +10:00
cache_shape
copyloops x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() 2020-10-06 11:18:04 +02:00
dscr selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
eeh selftests/powerpc: Add VF recovery tests 2021-01-31 22:35:47 +11:00
include selftests/powerpc: refactor entry and rfi_flush tests 2020-11-19 23:47:23 +11:00
lib
math selftests/powerpc: Skip vmx/vsx/tar/etc tests on older CPUs 2020-08-03 22:12:41 +10:00
mm Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
nx-gzip selftests/powerpc: Use req_max_processed_len from sysfs NX capabilities 2021-06-25 14:47:19 +10:00
pmu selftests/powerpc: EBB selftest for MMCR0 control for PMU SPRs in ISA v3.1 2021-06-17 00:09:11 +10:00
primitives powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm goto 2021-08-15 13:49:24 +10:00
ptrace selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
scripts
security selftests/powerpc: Add test of mitigation patching 2021-05-17 15:27:47 +10:00
signal selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
stringloops selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
switch_endian selftests/powerpc: Properly handle failure in switch_endian_test 2020-09-08 22:24:13 +10:00
syscalls selftests/powerpc: update .gitignore 2020-12-04 01:01:21 +11:00
tm selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
vphn
harness.c
Makefile
utils.c selftests/powerpc: Move set_dscr() into rfi_flush.c 2020-09-08 22:23:57 +10:00