summaryrefslogtreecommitdiff
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:07 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2015-06-07 19:36:08 +1000
commit1554f21a9890301d1b6586474396e7c9de586204 (patch)
tree2610614525d086a565634cbd2c65c5eb0a3c7178 /tools/testing/selftests/powerpc/dscr/Makefile
parent4c6315f8f9387d638ccb1cc3a46a28a82a109928 (diff)
selftests/powerpc: Add test for explicitly changing DSCR value
This patch adds a test which modifies the DSCR using mtspr instruction and verifies the change using mfspr instruction. It uses both the privilege state SPR as well as the problem state SPR for the purpose. 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 'tools/testing/selftests/powerpc/dscr/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/dscr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/dscr/Makefile b/tools/testing/selftests/powerpc/dscr/Makefile
index 8e975387023b..d72c3200f696 100644
--- a/tools/testing/selftests/powerpc/dscr/Makefile
+++ b/tools/testing/selftests/powerpc/dscr/Makefile
@@ -1,4 +1,4 @@
-TEST_PROGS := dscr_default_test
+TEST_PROGS := dscr_default_test dscr_explicit_test
dscr_default_test: LDLIBS += -lpthread