Home
last modified time | relevance | path

Searched hist:ffebf5f391dfa9da3e086abad3eef7d3e5300249 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dmisc_64.Sdiff ffebf5f391dfa9da3e086abad3eef7d3e5300249 Wed Jul 22 00:50:50 CDT 2015 Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> powerpc/kexec: Reset secondary cpu endianness before kexec

If the target kernel does not inlcude the FIXUP_ENDIAN check, coming
from a different-endian kernel will cause the target kernel to panic.
All ppc64 kernels can handle starting in big-endian mode, so return to
big-endian before branching into the target kernel.

This mainly affects pseries as secondaries on powernv are returned to
OPAL.

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>