aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/tm/Makefile
diff options
context:
space:
mode:
authorRashmica Gupta <rashmicy@gmail.com>2015-12-23 16:49:54 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 21:54:14 +1000
commit16aab321872400a4ce35b90ba40484fcb5d636ba (patch)
treef60936e624a55ec9249455a9bed9136f696f9c83 /tools/testing/selftests/powerpc/tm/Makefile
parentselftests/powerpc: Add TM test to check if TAR is corrupted (diff)
downloadlinux-dev-16aab321872400a4ce35b90ba40484fcb5d636ba.tar.xz
linux-dev-16aab321872400a4ce35b90ba40484fcb5d636ba.zip
selftests/powerpc: Add test to check if TM SPRs are corrupted
Testing that the TM SPRs are behaving the way they should. Uses more threads than cpus to see if the following register values persist with context switching: - the FS (failure summary) flag in TEXASR - TFIAR and TFHAR Signed-off-by: Rashmica Gupta <rashmicy@gmail.com> 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/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/tm/Makefile b/tools/testing/selftests/powerpc/tm/Makefile
index cb4b3bf57a4d..d0505dbd22d5 100644
--- a/tools/testing/selftests/powerpc/tm/Makefile
+++ b/tools/testing/selftests/powerpc/tm/Makefile
@@ -1,4 +1,4 @@
-TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack tm-vmxcopy tm-fork tm-tar
+TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack tm-vmxcopy tm-fork tm-tar tm-tmspr
all: $(TEST_PROGS)
@@ -6,6 +6,7 @@ $(TEST_PROGS): ../harness.c ../utils.c
tm-syscall: tm-syscall-asm.S
tm-syscall: CFLAGS += -mhtm -I../../../../../usr/include
+tm-tmspr: CFLAGS += -pthread
include ../../lib.mk