linux/tools/testing/selftests/powerpc/tm
Breno Leitao 34642d70ac selftests/powerpc: Add checks for transactional sigreturn
This is a new test case that creates a signal and starts a suspended
transaction inside the signal handler.

It returns from the signal handler with the CPU at suspended state, but
without setting user context MSR Transaction State (TS) field.

The kernel signal handler code should be able to handle this discrepancy
instead of crashing.

This code could be compiled and used to test 32 and 64-bits signal
handlers.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-12-21 14:46:50 +11:00
..
.gitignore selftests/powerpc: Add checks for transactional sigreturn 2018-12-21 14:46:50 +11:00
Makefile selftests/powerpc: Add checks for transactional sigreturn 2018-12-21 14:46:50 +11:00
tm-exec.c selftests/powerpc: exec() with suspended transaction 2016-07-26 14:28:22 +10:00
tm-fork.c selftests/powerpc: Add test for forking inside transaction 2016-05-11 21:54:13 +10:00
tm-resched-dscr.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tm-signal-context-chk-fpu.c selftests/powerpc: Add checks for transactional FPUs in signal contexts 2016-10-04 20:33:14 +11:00
tm-signal-context-chk-gpr.c selftests/powerpc: Add checks for transactional GPRs in signal contexts 2016-10-04 20:33:12 +11:00
tm-signal-context-chk-vmx.c selftests/powerpc: Add checks for transactional VMXs in signal contexts 2016-10-04 20:33:14 +11:00
tm-signal-context-chk-vsx.c selftests/powerpc: Add checks for transactional VSXs in signal contexts 2016-10-04 20:33:15 +11:00
tm-signal-msr-resv.c selftests/powerpc: Fix out of bounds access in TM signal test 2016-03-02 23:34:45 +11:00
tm-signal-sigreturn-nt.c selftests/powerpc: Add checks for transactional sigreturn 2018-12-21 14:46:50 +11:00
tm-signal-stack.c selftests/powerpc: Standardise TM calls 2016-05-11 21:54:12 +10:00
tm-signal.S selftests/powerpc: Move shared headers into new include dir 2016-11-17 17:11:47 +11:00
tm-sigreturn.c selftests/powerpc: Only run some tests on ppc64le 2018-08-07 21:49:25 +10:00
tm-syscall-asm.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tm-syscall.c selftests/powerpc: exec() with suspended transaction 2016-07-26 14:28:22 +10:00
tm-tar.c selftests/powerpc: Only run some tests on ppc64le 2018-08-07 21:49:25 +10:00
tm-tmspr.c powerpc/selftests: Wait all threads to join 2018-09-17 21:17:25 +10:00
tm-trap.c selftests/powerpc: Skip tm-trap if transactional memory is not enabled 2018-02-26 13:18:25 +11:00
tm-unavailable.c selftests/powerpc: Do not fail with reschedule 2018-09-19 21:58:09 +10:00
tm-vmx-unavail.c selftests/powerpc: Test TM and VMX register state 2017-05-16 13:03:05 +10:00
tm-vmxcopy.c selftests/powerpc: Only run some tests on ppc64le 2018-08-07 21:49:25 +10:00
tm.h selftests/powerpc: Do not fail with reschedule 2018-09-19 21:58:09 +10:00