mirror-linux/tools/testing/selftests/powerpc/tm
Nicholas Piggin 5379ef2a60 selftests/powerpc: Add scv versions of the basic TM syscall tests
The basic TM vs syscall test code hard codes an sc instruction for the
system call, which fails to cover scv even when the userspace libc has
support for it.

Duplicate the tests with hard coded scv variants so both are tested
when possible.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Fix build on old toolchains by using .long for scv]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210903125707.1601269-2-npiggin@gmail.com
2021-09-13 22:34:11 +10:00
..
.gitignore powerpc updates for 5.7 2020-04-05 11:12:59 -07:00
Makefile selftests/powerpc: Always build the tm-poison test 64-bit 2020-04-04 21:41:40 +11:00
settings
tm-exec.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-fork.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-poison.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-resched-dscr.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal-context-chk-fpu.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal-context-chk-gpr.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal-context-chk-vmx.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal-context-chk-vsx.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal-context-force-tm.c
tm-signal-msr-resv.c
tm-signal-pagefault.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal-sigreturn-nt.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal-stack.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-signal.S
tm-sigreturn.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-syscall-asm.S selftests/powerpc: Add scv versions of the basic TM syscall tests 2021-09-13 22:34:11 +10:00
tm-syscall.c selftests/powerpc: Add scv versions of the basic TM syscall tests 2021-09-13 22:34:11 +10:00
tm-tar.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-tmspr.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-trap.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-unavailable.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-vmx-unavail.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm-vmxcopy.c selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
tm.h selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00