ACK / APPLIED[artful]: [PATCH][Zesty] UBUNTU: SAUCE: powerpc: Invalidate ERAT on powersave wakeup for POWER9

Seth Forshee seth.forshee at canonical.com
Tue Jun 27 18:36:09 UTC 2017


On Tue, Jun 27, 2017 at 03:28:15PM -0300, Breno Leitao wrote:
> Hi Seth,
> 
> On Tue, Jun 27, 2017 at 01:23:26PM -0500, Seth Forshee wrote:
> > On Tue, Jun 27, 2017 at 01:45:27PM -0300, Breno Leitao wrote:
> > > From: Michael Neuling <mikey at neuling.org>
> > > 
> > > BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1700521
> > > 
> > > On POWER9 the ERAT may be incorrect on wakeup from some stop states
> > > that lose state. This causes random segvs and illegal instructions
> > > when these stop states are enabled.
> > > 
> > > This patch invalidates the ERAT on wakeup on POWER9 to prevent this
> > > from causing a problem.
> > > 
> > > Signed-off-by: Michael Neuling <mikey at neuling.org>
> > > Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> > > (backported from: https://patchwork.ozlabs.org/patch/780365/)
> > > Signed-off-by: Breno Leitao <leitao at debian.org>
> > 
> > Acked-by: Seth Forshee <seth.forshee at canonical.com>
> > 
> > I also applied this to artful/master-next and unstable/master, using the
> > patch from patchworks since this backport didn't apply cleanly.
> 
> Nice, thanks. I expect that this patch gets integrated very soon, so, it
> will be overwritten on artful by the 'official' commit very soon.

Yeah, that happens a lot. We'll drop the sauce patch when we rebase to
the upstream version which contains the commit.

Seth




More information about the kernel-team mailing list