From: Ian Campbell Subject: Re: [PATCH v7 3/5] xen/arm: Update Dom0 GIC dt node with GICv3 information Date: Wed, 16 Jul 2014 12:53:06 +0100 Message-ID: <1405511586.7019.90.camel@kazak.uk.xensource.com> References: <1405083092-20216-1-git-send-email-vijay.kilari@gmail.com> <1405083092-20216-4-git-send-email-vijay.kilari@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1405083092-20216-4-git-send-email-vijay.kilari@gmail.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: vijay.kilari@gmail.com Cc: stefano.stabellini@eu.citrix.com, Prasun.Kapoor@caviumnetworks.com, vijaya.kumar@caviumnetworks.com, julien.grall@linaro.org, tim@xen.org, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, manish.jaggi@caviumnetworks.com List-Id: xen-devel@lists.xenproject.org On Fri, 2014-07-11 at 18:21 +0530, vijay.kilari@gmail.com wrote: > From: Vijaya Kumar K > > Update GIC device tree node for DOM0 with GICv3 > information. GIC hw specfic device tree information > is moved to respective GIC driver. > > Signed-off-by: Vijaya Kumar K > Acked-by: Julien Grall Acked-by: Ian Campbell I think this patch represents a bisection hazard, since the previous patch will have enabled gic v3 for dom0 but it is not described until this patch is applied. I think that's a tricky one to resolve so I propose we ignore it so long as systems with GICv2 work fine at each step, which I think should be the case. > diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h > index d5a2fcf..51a0a26 100644 > --- a/xen/include/asm-arm/gic.h > +++ b/xen/include/asm-arm/gic.h > @@ -158,9 +158,9 @@ > #define DT_MATCH_GIC_V2 DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A15), \ > DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7) > > -#define DT_MATCH_GIC_V3_STRING1 "arm,gic-v3" > +#define DT_COMPAT_GIC_V3 "arm,gic-v3" > > -#define DT_MATCH_GIC_V3 DT_MATCH_COMPATIBLE(DT_MATCH_GIC_V3_STRING1); > +#define DT_MATCH_GIC_V3 DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_V3) Ideally you would fold these renamings into the earlier patch which introduced these in the first place. Ian.