From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kirsty.vergenet.net (unknown [IPv6:2406:a000:f000:9500::1]) by ozlabs.org (Postfix) with ESMTP id 623EDB6F7E for ; Fri, 17 Jun 2011 08:00:57 +1000 (EST) Date: Fri, 17 Jun 2011 07:00:43 +0900 From: Simon Horman To: "Suzuki K. Poulose" Subject: Re: [PATCH v2] kexec-tools: powerpc: Use the #address-cells information to parsememory/reg Message-ID: <20110616220043.GA2434@verge.net.au> References: <20110616104441.8065.46187.stgit@suzukikp.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20110616104441.8065.46187.stgit@suzukikp.in.ibm.com> Cc: "kexec@lists.infradead.org" , Sebastian Andrzej Siewior , David Laight , linux ppc dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jun 16, 2011 at 04:15:13PM +0530, Suzuki K. Poulose wrote: > 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. Thanks, applied.