From: Michael Ellerman <mpe@ellerman.id.au>
To: Michael Neuling <mikey@neuling.org>
Cc: linuxppc-dev@lists.ozlabs.org, mikey@neuling.org,
paulus@samba.org, cyrilbur@gmail.com
Subject: Re: powerpc/tm: Fix stack pointer corruption in __tm_recheckpoint
Date: Wed, 6 Jul 2016 22:27:21 +1000 (AEST) [thread overview]
Message-ID: <3rl0Pk0bDhz9snm@ozlabs.org> (raw)
In-Reply-To: <1467781086-21125-1-git-send-email-mikey@neuling.org>
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 <mikey@neuling.org>
> Acked-by: Cyril Bur <cyrilbur@gmail.com>
> Cc: stable@vger.kernel.org # v3.9+
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/eb584b3ee4d317cf7e0068bec0
cheers
prev parent reply other threads:[~2016-07-06 12:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-06 4:58 [PATCH] powerpc/tm: Fix stack pointer corruption in __tm_recheckpoint Michael Neuling
2016-07-06 12:27 ` Michael Ellerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3rl0Pk0bDhz9snm@ozlabs.org \
--to=mpe@ellerman.id.au \
--cc=cyrilbur@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mikey@neuling.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).