aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/tm/Makefile
diff options
context:
space:
mode:
authorCyril Bur <cyrilbur@gmail.com>2016-06-29 21:41:51 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-07-26 14:28:22 +1000
commita431b946db581d6a121d035a887d370cdc4b8dea (patch)
treeb0b6a6c2049643a5920b8f2b3f63d9a3eecdb64a /tools/testing/selftests/powerpc/tm/Makefile
parentpowerpc: Improve comment explaining why we modify VRSAVE (diff)
downloadlinux-dev-a431b946db581d6a121d035a887d370cdc4b8dea.tar.xz
linux-dev-a431b946db581d6a121d035a887d370cdc4b8dea.zip
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>
Diffstat (limited to 'tools/testing/selftests/powerpc/tm/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/tm/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/testing/selftests/powerpc/tm/Makefile b/tools/testing/selftests/powerpc/tm/Makefile
index d0505dbd22d5..9d301d785d9e 100644
--- a/tools/testing/selftests/powerpc/tm/Makefile
+++ b/tools/testing/selftests/powerpc/tm/Makefile
@@ -1,11 +1,14 @@
-TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack tm-vmxcopy tm-fork tm-tar tm-tmspr
+TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
+ tm-vmxcopy tm-fork tm-tar tm-tmspr tm-exec tm-execed
all: $(TEST_PROGS)
$(TEST_PROGS): ../harness.c ../utils.c
+CFLAGS += -mhtm
+
tm-syscall: tm-syscall-asm.S
-tm-syscall: CFLAGS += -mhtm -I../../../../../usr/include
+tm-syscall: CFLAGS += -I../../../../../usr/include
tm-tmspr: CFLAGS += -pthread
include ../../lib.mk