From: Ian Campbell Subject: Re: [PATCH] xen/arm: Dummy implementation of multi-bank support Date: Wed, 17 Jul 2013 11:34:43 +0100 Message-ID: <1374057283.8960.15.camel@kazak.uk.xensource.com> References: <1373899255-19064-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1373899255-19064-1-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Stefano.Stabellini@eu.citrix.com, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2013-07-15 at 15:40 +0100, Julien Grall wrote: > U-boot for the arndale board splits the memory in 8 contiguous banks and > rewrites the memory node. So most of the memory is lost. > > As the frametable is only able to handle contiguous memory, use the first > contiguous banks and warn if some of the memory banks are not used. > > Signed-off-by: Julien Grall Acked-by: Ian Campbell > + if ( i != early_info.mem.nr_banks ) > + early_printk("WARNING: some banks are not used\n"); I made this "some memory banks...." > + > total_pages = ram_pages = ram_size >> PAGE_SHIFT; > > /*