summaryrefslogtreecommitdiff
path: root/purgatory
diff options
context:
space:
mode:
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>2014-01-30 16:06:22 +0100
committerSimon Horman <horms@verge.net.au>2014-01-31 14:20:20 +0900
commitc8e6e13056b08b2f0a0514e6b68b766661a551c3 (patch)
treedebc43a6b2dcea7fd7889523feb631457cd04b7a /purgatory
parente1ffc9e9a0769e1f54185003102e9bec428b84e8 (diff)
kexec/ppc64 fix device tree endianess issues for memory attributes
All the attributes exposed in the device tree are in Big Endian format. This patch add the byte swap operation for some entries which were not yet processed, including those fixed by the following kernel's patch : https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-January/114720.html To work on PPC64 Little Endian mode, kexec now requires that the kernel's patch mentioned above is applied on the kexecing kernel. Tested on ppc64 LPAR (kexec/dump) and ppc64le in a Qemu/KVM guest (kexec) Changes from v1 : * add processing of the following entries : - ibm,dynamic-reconfiguration-memory - chosen/linux,kernel-end - chosen/linux,crashkernel-base & size - chosen/linux,memory-limit - chosen/linux,htab-base & size - linux,tce-base & size - memory@/reg Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
0 files changed, 0 insertions, 0 deletions