Re: [kexec-lite PATCH V2] trampoline: Reset primary cpu endian to big-endian

2015-10-06 Thread Scott Wood
On Wed, 2015-07-08 at 13:49 +1000, Samuel Mendoza-Jonas wrote: > On 08/07/15 13:37, Scott Wood wrote: > > On Wed, 2015-07-08 at 13:29 +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

Re: [kexec-lite PATCH V2] trampoline: Reset primary cpu endian to big-endian

2015-07-08 Thread Anton Blanchard
Hi Scott, Is kexec-lite meant to be specific to book3s-64? It was originally built to test book3s-64 kexec. Likely some other issues need fixing for other ppc sub arches, but it is nice to have a very simple kexec. Anton ___ Linuxppc-dev mailing

Re: [kexec-lite PATCH V2] trampoline: Reset primary cpu endian to big-endian

2015-07-07 Thread Samuel Mendoza-Jonas
On 08/07/15 13:37, Scott Wood wrote: On Wed, 2015-07-08 at 13:29 +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

Re: [kexec-lite PATCH V2] trampoline: Reset primary cpu endian to big-endian

2015-07-07 Thread Scott Wood
On Wed, 2015-07-08 at 13:29 +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