powerpc/kdump: skip enabling big endian exception during crash

Michael Ellerman mpe at ellerman.id.au
Fri Dec 12 09:40:16 AEDT 2014


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


More information about the Linuxppc-dev mailing list