]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests/powerpc: Add test for DSCR SPR numbers
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 21 May 2015 06:43:08 +0000 (12:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 7 Jun 2015 09:36:51 +0000 (19:36 +1000)
commitcc6a93f1c3d6923ebf2f305416d080e9afc7ee95
tree3c36a80e644f446bdf074fc0166d898e14a6c40b
parent1554f21a9890301d1b6586474396e7c9de586204
selftests/powerpc: Add test for DSCR SPR numbers

This patch adds a test which verifies that the DSCR privilege and
problem state SPR read & write accesses while making sure that the
results are always the same irrespective of which SPR number is being
used.

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>
tools/testing/selftests/powerpc/dscr/Makefile
tools/testing/selftests/powerpc/dscr/dscr_user_test.c [new file with mode: 0644]