aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/dscr/Makefile
diff options
context:
space:
mode:
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>2015-05-21 12:13:06 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2015-06-07 19:35:38 +1000
commit4c6315f8f9387d638ccb1cc3a46a28a82a109928 (patch)
tree1a3d07b2a1a39117c59365300cd99584d93c5be0 /tools/testing/selftests/powerpc/dscr/Makefile
parentpowerpc/dscr: Add documentation for DSCR support (diff)
downloadlinux-dev-4c6315f8f9387d638ccb1cc3a46a28a82a109928.tar.xz
linux-dev-4c6315f8f9387d638ccb1cc3a46a28a82a109928.zip
selftests/powerpc: Add test for system wide DSCR default
This patch adds a test case for the system wide DSCR default value, which when changed through it's sysfs interface must be visible to all threads reading DSCR either through the privilege state SPR or the problem state SPR. The DSCR value change should be immediate as well. Acked-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/powerpc/dscr/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/dscr/Makefile b/tools/testing/selftests/powerpc/dscr/Makefile
new file mode 100644
index 000000000000..8e975387023b
--- /dev/null
+++ b/tools/testing/selftests/powerpc/dscr/Makefile
@@ -0,0 +1,12 @@
+TEST_PROGS := dscr_default_test
+
+dscr_default_test: LDLIBS += -lpthread
+
+all: $(TEST_PROGS)
+
+$(TEST_PROGS): ../harness.c
+
+include ../../lib.mk
+
+clean:
+ rm -f $(TEST_PROGS) *.o