Re: [PATCH] powerpc: Don't corrupt user registers on 32-bit

2014-05-22 Thread shiva7
Paul Mackerras wrote > Commit de79f7b9f6 ("powerpc: Put FP/VSX and VR state into structures") > modified load_up_fpu() and load_up_altivec() in such a way that they > now use r7 and r8. Unfortunately, the callers of these functions on > 32-bit machines then return to userspace via fast_exception_r

[PATCH] powerpc: Don't corrupt user registers on 32-bit

2013-10-23 Thread Paul Mackerras
Commit de79f7b9f6 ("powerpc: Put FP/VSX and VR state into structures") modified load_up_fpu() and load_up_altivec() in such a way that they now use r7 and r8. Unfortunately, the callers of these functions on 32-bit machines then return to userspace via fast_exception_return, which doesn't restore