]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/ptrace: Enable support for TM SPR state
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 28 Jul 2016 02:57:40 +0000 (10:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 1 Aug 2016 01:15:21 +0000 (11:15 +1000)
commit08e1c01d6aedf00af04d9571a0a5d5867298b719
treeb04d0692fc5d812b1ebafad9c832df42a3731e3b
parent9d3918f7c0e516bb8782915cdb2f8cbdbf6c4f9b
powerpc/ptrace: Enable support for TM SPR state

This patch enables support for TM SPR state related ELF core
note NT_PPC_TM_SPR based ptrace requests through PTRACE_GETREGSET,
PTRACE_SETREGSET calls. This is achieved through adding a register
set REGSET_TM_SPR in powerpc corresponding to the ELF core note
section added. It implements the get, set and active functions for
this new register set added.

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>
arch/powerpc/include/uapi/asm/elf.h
arch/powerpc/kernel/ptrace.c