Thread (2 messages) flat view 2 messages, 2 authors, 2016-07-06

Re: powerpc/tm: Fix stack pointer corruption in __tm_recheckpoint

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-07-06 12:27:22

On Wed, 2016-06-07 at 04:58:06 UTC, Michael Neuling wrote:
At the start of __tm_recheckpoint we save the kernel stack pointer
(r1) in SPRG SCRATCH0 (SPRG2) so that we can restore it after the
trecheckpoint.
...
This patches moves the saving of r1 to the SPRG to the region where we
are guaranteed not to take any further SLB misses.

Signed-off-by: Michael Neuling <redacted>
Acked-by: Cyril Bur <redacted>
Cc: stable@vger.kernel.org # v3.9+
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/eb584b3ee4d317cf7e0068bec0

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help