]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Add ptrace tests for Protection Key registers
authorThiago Jung Bauermann <bauerman@linux.ibm.com>
Fri, 25 May 2018 02:11:44 +0000 (23:11 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 28 May 2018 08:46:35 +0000 (18:46 +1000)
commit124c9ca0c9c218096d08fc95e0ce6f284f8496fa
treebc12ecd181faefb0160cbd59a1edeb4ee096b84d
parent4c4f5d8be1329375cf5d17d6166a7813d10d0cff
selftests/powerpc: Add ptrace tests for Protection Key registers

This test exercises read and write access to the AMR, IAMR and UAMOR.

Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
[mpe: Simplify make rule]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/include/reg.h
tools/testing/selftests/powerpc/ptrace/Makefile
tools/testing/selftests/powerpc/ptrace/child.h [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/ptrace.h