[RFC][PATCH] kexec-tools: powerpc: Use the #address-cells information to parsememory/reg - V2

Simon Horman horms at verge.net.au
Wed Jun 15 20:12:45 EDT 2011


On Wed, Jun 08, 2011 at 12:08:55PM +0530, Suzuki Poulose wrote:
> Hi,
> 
> This is version 2 of the patch
> 
> Changes from Version 1 :
>  : Changed the interface for read_memory_region_limits to use 'int fd'
> 	instead of FILE*.
>  : Use sizeof(variable) for read(, instead of sizeof(type).
> 
> 
> ---
> 
> Fix parsing of the memory region information from the device-tree.
> 
> The format of memory/reg is based on the #address-cells,#size-cells. Currently,
> the kexec-tools doesn't use the above values in parsing the memory/reg values.
> Hence the kexec cannot handle cases where #address-cells, #size-cells are
> different, (for e.g, PPC440X ).
> 
> This patch introduces a read_memory_region_limits(), which parses the
> memory/reg contents based on the values of #address-cells and #size-cells.
> 
> Signed-off-by: Suzuki K. Poulose <suzuki at in.ibm.com>

Hi,

this does not seem to apply to the master branch of
git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git



More information about the kexec mailing list