]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/ptrace: Enable in transaction NT_PPC_VSX ptrace requests
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 28 Jul 2016 02:57:34 +0000 (10:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 1 Aug 2016 01:15:17 +0000 (11:15 +1000)
commit94b7d3610e5b03399f1791d7905103f5298784bc
treec644eda1914e469213a28eb260590db4bd8ad63d
parentd844e279152c27e5b1a56dc40de08ddfd99176f3
powerpc/ptrace: Enable in transaction NT_PPC_VSX ptrace requests

This patch enables in transaction NT_PPC_VSX ptrace requests. The
function vsr_get which gets the running value of all VSX registers
and the function vsr_set which sets the running value of of all VSX
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