From: Tim Deegan Subject: Re: [PATCH 28/38] arm: map GICV in all domains, not just dom0. Date: Thu, 7 Jun 2012 10:51:28 +0100 Message-ID: <20120607095128.GI70339@ocelot.phlegethon.org> References: <1338565113.17466.141.camel@zakaz.uk.xensource.com> <1338565207-2888-1-git-send-email-ian.campbell@citrix.com> <1338565207-2888-28-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1338565207-2888-28-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 15:39 +0000 on 01 Jun (1338565197), Ian Campbell wrote: > diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c > index a7fb227..e15c1e8 100644 > --- a/xen/arch/arm/domain.c > +++ b/xen/arch/arm/domain.c > @@ -329,13 +329,17 @@ int arch_domain_create(struct domain *d, unsigned int domcr_flags) > > if ( (rc = p2m_alloc_table(d)) != 0 ) > goto fail; > - } > > - if ( (rc = domain_vgic_init(d)) != 0 ) > - goto fail; > + if ( (rc = gicv_setup(d)) != 0 ) > + goto fail; > + > + if ( (rc = domain_vgic_init(d)) != 0 ) > + goto fail; > + } > > rc = 0; > fail: > + /*XXX unwind allocations etc */ Ahem. :) Tim.