linux/tools/testing/selftests/powerpc/signal
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 selftests/powerpc: update .gitignore 2020-12-04 01:01:21 +11:00
Makefile powerpc: Use trap metadata to prevent double restart rather than zeroing trap 2020-05-15 11:58:54 +10:00
settings selftests/powerpc: Turn off timeout setting for benchmarks, dscr, signal, tm 2020-03-25 12:09:30 +11:00
sig_sc_double_restart.c powerpc: Use trap metadata to prevent double restart rather than zeroing trap 2020-05-15 11:58:54 +10:00
sigfuz.c selftests/powerpc: Reduce sigfuz runtime to ~60s 2019-10-24 16:57:37 +11:00
signal_tm.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
signal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
signal.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
sigreturn_vdso.c selftests/powerpc: Add a test of sigreturn vs VDSO 2020-03-20 13:10:21 +11:00