[PATCH v2] kexec/ppc64 fix device tree endianess issues for memory attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 30, 2014 at 04:06:22PM +0100, Laurent Dufour wrote:
> 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 at linux.vnet.ibm.com>

Thanks, applied.



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux