From: Ian Campbell Subject: Re: [PATCH v2 8/8] xen: arm: allocate more than one bank for 1:1 domain 0 if needed Date: Thu, 12 Jun 2014 08:31:45 +0100 Message-ID: <1402558305.31087.64.camel@dagon.hellion.org.uk> References: <1402504640.16332.50.camel@kazak.uk.xensource.com> <1402504804-29173-8-git-send-email-ian.campbell@citrix.com> <5398DC8B.5020706@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5398DC8B.5020706@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, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-06-11 at 23:47 +0100, Julien Grall wrote: > Hi Ian, > > On 11/06/14 17:40, Ian Campbell wrote: > > + bank->start = start; > > + bank->size = size; > > + kinfo->mem.nr_banks++; > > + return true; > > + } > > + > > + panic("Failed add pages to DOM0 memory bank"); > > This can happen when there is no more bank, right? How likely will Xen > fill the 8 banks? > > Shall we just continue with only the current number of bank? That was my intention, I think I just got confused about the circumstances which could lead to particular failure. Ian.