]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ptrace: Enable in transaction NT_PPC_VMX ptrace requests
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 28 Jul 2016 02:57:33 +0000 (10:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 1 Aug 2016 01:15:16 +0000 (11:15 +1000)
commitc079b3bf1445915fadd7d9ce826a579877a909c8
tree318b305e7ee022ebb0933fe3288ede7a50dbf437
parentdcbb0ff76e6de72f0adaf2239a672ad38edf83cb
powerpc/ptrace: Enable in transaction NT_PPC_VMX ptrace requests

This patch enables in transaction NT_PPC_VMX ptrace requests. The
function vr_get which gets the running value of all VMX registers
and the function vr_set which sets the running value of of all VMX
registers work on the running set of VMX registers whose location
will be different if transaction is active. This patch makes these
functions adapt to situations when the transaction is active.

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/kernel/ptrace.c