selftests/powerpc: exec() with suspended transaction
authorCyril Bur <cyrilbur@gmail.com>
Wed, 29 Jun 2016 11:41:51 +0000 (21:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 Jul 2016 04:28:22 +0000 (14:28 +1000)
commita431b946db581d6a121d035a887d370cdc4b8dea
treeb0b6a6c2049643a5920b8f2b3f63d9a3eecdb64a
parentdd57023747e33572b31867f890b0d99f55b5cc2f
selftests/powerpc: exec() with suspended transaction

Perform an exec() class syscall with a suspended transaction.

This is a test for the bug we fixed in 8e96a87c5431 ("powerpc/tm: Always
reclaim in start_thread() for exec() class syscalls").

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
[mpe: Fix build errors, use a single binary for the test]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/tm/.gitignore
tools/testing/selftests/powerpc/tm/Makefile
tools/testing/selftests/powerpc/tm/tm-exec.c [new file with mode: 0644]
tools/testing/selftests/powerpc/tm/tm-syscall.c
tools/testing/selftests/powerpc/tm/tm.h