Re: powerpc/kdump: skip enabling big endian exception during crash
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2014-12-11 22:40:17
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2014-12-11 22:40:17
On Thu, 2014-11-12 at 16:44:54 UTC, Hari Bathini wrote:
In LE kernel, we currently have a hack for kexec that resets the exception endian before starting a new kernel as the kernel that is loaded could be a big endian or a little endian kernel. In kdump case, resetting exception endian fails when one or more cpus is disabled. But in case of kdump, we can conveniently ignore resetting endianess as crashkernel is always of same endianess as primary kernel.
No, it's not guaranteed to be the same endianess. That tends to be what people do in practice, but it's not an assumption you can hard code. cheers