Thread (2 messages) flat view 2 messages, 2 authors, 2011-06-16

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

From: Simon Horman <horms@verge.net.au>
Date: 2011-06-16 00:42:00
Also in: kexec

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 <redacted>
Hi,

this does not seem to apply to the master branch of
git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help