aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/dscr/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-06-07 19:25:16 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-06-07 19:38:18 +1000
commitaf0be08ee6ab83666f2cb3c56285cf7a312eaeab (patch)
tree86826308e0d8edeb093e3a55a13dd5eabf095478 /tools/testing/selftests/powerpc/dscr/Makefile
parentselftests/powerpc: Add test for all DSCR sysfs interfaces (diff)
downloadlinux-dev-af0be08ee6ab83666f2cb3c56285cf7a312eaeab.tar.xz
linux-dev-af0be08ee6ab83666f2cb3c56285cf7a312eaeab.zip
selftests/powerpc: Add thread based stress test for DSCR sysfs interfaces
This patch adds a test to update the system wide DSCR value repeatedly and then verifies that any thread on any given CPU on the system must be able to see the same DSCR value whether its is being read through the problem state based SPR or the privilege state based SPR. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/powerpc/dscr/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/dscr/Makefile b/tools/testing/selftests/powerpc/dscr/Makefile
index de0b53b533d4..49327ee84e3a 100644
--- a/tools/testing/selftests/powerpc/dscr/Makefile
+++ b/tools/testing/selftests/powerpc/dscr/Makefile
@@ -1,5 +1,6 @@
TEST_PROGS := dscr_default_test dscr_explicit_test dscr_user_test \
- dscr_inherit_test dscr_inherit_exec_test dscr_sysfs_test
+ dscr_inherit_test dscr_inherit_exec_test dscr_sysfs_test \
+ dscr_sysfs_thread_test
dscr_default_test: LDLIBS += -lpthread