selftests/powerpc: Add ptrace tests for TAR, PPR, DSCR registers
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Fri, 30 Sep 2016 02:32:56 +0000 (10:32 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Nov 2016 06:11:49 +0000 (17:11 +1100)
commit254dae59af6791f02bad50c70a1e5a27cb9deb8c
tree06526037a6543780e12e4f804565f765dd4eb445
parentc7096dc0ee02ee7fd885c8010aad2c7d73d8c640
selftests/powerpc: Add ptrace tests for TAR, PPR, DSCR registers

This patch adds ptrace interface test for TAR, PPR, DSCR
registers. This also adds ptrace interface based helper
functions related to TAR, PPR, DSCR register 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-tar.c [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace-tar.h [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace.h