[PATCH] ppc64/purgatory: Device tree values should be read/stored in Big Endian

Simon Horman horms at verge.net.au
Mon Apr 28 18:59:13 PDT 2014


On Mon, Apr 28, 2014 at 12:26:50PM +0200, Laurent Dufour wrote:
> The purgatory code reads the device tree's version and stores if needed the
> currently running CPU number. These 2 values are stored in Big Endian
> format in the device tree and should be byte swapped when running in Little
> Endian mode.
> 
> Without this fix, when running in SMP environment, kexec or kdump kernel may
> fail booting with the following message :
> Failed to identify boot CPU
> 
> Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>

Thanks, applied.



More information about the kexec mailing list