[PATCH] purgatory/arch/ppc64: Reset primary cpu endian to big-endian
Simon Horman
horms at verge.net.au
Fri Sep 4 02:47:35 PDT 2015
On Thu, Sep 03, 2015 at 03:18:02PM +1000, Michael Ellerman wrote:
> On Wed, 2015-09-02 at 10:02 +0900, Simon Horman wrote:
> > [CC linuxppc-dev]
> >
> > On Fri, Aug 21, 2015 at 12:51:16PM +1000, Samuel Mendoza-Jonas wrote:
> > > Older big-endian ppc64 kernels don't include the FIXUP_ENDIAN check,
> > > meaning if we kexec from a little-endian kernel the target kernel will
> > > fail to boot.
> > > Returning to big-endian before we enter the target kernel ensures that
> > > the target kernel can boot whether or not it includes FIXUP_ENDIAN.
> > >
> > > This mirrors commit 150b14e7 in kexec-lite.
> > >
> > > Signed-off-by: Samuel Mendoza-Jonas <sam.mj at au1.ibm.com>
> >
> > I would value a review from one of the PPC folks.
>
> The diff looks good to me, and I've also tested it, so take your pick:
>
> Tested-by: Michael Ellerman <mpe at ellerman.id.au>
> Acked-by: Michael Ellerman <mpe at ellerman.id.au>
Thanks, I took the latter.
More information about the kexec
mailing list