]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita50c18196bda09d96638f6f31930da0443bcbf71
treefe93e0de4142d25384bf640ea9c6f6b4f41fc1e0
parent0152ec7ad3b8e86c3493be763d8965922628be62
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