diff options
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | 2015-05-21 09:43:07 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-06-07 12:36:08 +0300 |
commit | 1554f21a9890301d1b6586474396e7c9de586204 (patch) | |
tree | 2610614525d086a565634cbd2c65c5eb0a3c7178 /tools/testing/selftests/powerpc/dscr/Makefile | |
parent | 4c6315f8f9387d638ccb1cc3a46a28a82a109928 (diff) | |
download | linux-1554f21a9890301d1b6586474396e7c9de586204.tar.xz |
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/Makefile | 2 |
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 |