selftests/powerpc: Add ptrace tests for TM SPR registers
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Fri, 30 Sep 2016 02:33:02 +0000 (10:33 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Nov 2016 06:11:52 +0000 (17:11 +1100)
commit5bdac52f3c67e1262b1979081a362fdedebd2ed2
treefe93e0de4142d25384bf640ea9c6f6b4f41fc1e0
parenta18b55bf51b32136fb9c5190b1cbf86c75117ead
selftests/powerpc: Add ptrace tests for TM SPR registers

This patch adds ptrace interface test for TM SPR registers. This
also adds ptrace interface based helper functions related to TM
SPR registers access.

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/ptrace/.gitignore
tools/testing/selftests/powerpc/ptrace/Makefile
tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace.h