commit | bf6a4d5b75d1ea87897fe68d0e45d35a2996c678 | [log] [tgz] |
---|---|---|
author | Cyril Bur <cyrilbur@gmail.com> | Mon Feb 29 17:53:51 2016 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Mar 02 23:34:50 2016 +1100 |
tree | 8e967bdd1fe1dcd8bda0b38baa212c945c40cab1 | |
parent | 6f515d842e8e1b205e54f44b9013bf14870b97a7 [diff] |
powerpc: Add the ability to save VSX without giving it up This patch adds the ability to be able to save the VSX registers to the thread struct without giving up (disabling the facility) next time the process returns to userspace. This patch builds on a previous optimisation for the FPU and VEC registers in the thread copy path to avoid a possibly pointless reload of VSX state. Signed-off-by: Cyril Bur <cyrilbur@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>