commit | 1554f21a9890301d1b6586474396e7c9de586204 | [log] [tgz] |
---|---|---|
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | Thu May 21 12:13:07 2015 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun Jun 07 19:36:08 2015 +1000 |
tree | 2610614525d086a565634cbd2c65c5eb0a3c7178 | |
parent | 4c6315f8f9387d638ccb1cc3a46a28a82a109928 [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>