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

From: Michael Ellerman <[email-masked]>
Date: Wed, 6 Jul 2016 22:27:21 +1000 (AEST)

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 <[email-masked]>
> Acked-by: Cyril Bur <[email-masked]>
> Cc: [email-masked] # v3.9+

Applied to powerpc fixes, thanks.

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

cheers