Subject: Re: 4.8.0-rc1: Invalid memory access at $SRR0: 0140f86c $SRR1: 00003030

From: Benjamin Herrenschmidt <[email-masked]>
Date: Wed, 10 Aug 2016 17:18:14 +1000

On Wed, 2016-08-10 at 14:58 +1000, Michael Ellerman wrote:
> Benjamin Herrenschmidt <[email-masked]> writes:
> 
> > 
> > On Tue, 2016-08-09 at 02:06 -0700, Christian Kujau wrote:
> > > 
> > > On Mon, 8 Aug 2016, Christian Kujau wrote:
> > > > 
> > > > 
> > > > while trying to upgrade this PowerBook G4 from 4.7-rc7 to 4.8-
> > > > rc1,
> > > > it's 
> > > > unable to boot the Yaboot (v1.3.16 from Debian/stable) boot
> > > > loader:
> > 
> > There should already be a fix for that:
> > 
> > http://patchwork.ozlabs.org/patch/654560/
> > 
> > It should be in Michael's tree if not already in Linus.
> 
> That fix is in rc1, so this must be a different bug.

It's all the jump label cruft that landed in apply_feature_fixups()

You can't call random call there. On ppc32, it's running in that
weirdo environment where the kernel isn't running at its linked
address and we need to manually RELOC() everything.

I'm moving them to a separate init call, patch on its way...

Cheers,
Ben.