From: Ian Campbell Subject: Re: [PATCH v7 5/5] xen/arm: check for GICv3 platform support Date: Wed, 16 Jul 2014 13:11:38 +0100 Message-ID: <1405512698.7019.93.camel@kazak.uk.xensource.com> References: <1405083092-20216-1-git-send-email-vijay.kilari@gmail.com> <1405083092-20216-6-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-6-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: This all looks good apart from: > @@ -188,9 +188,8 @@ struct cpuinfo_arm { > unsigned long el3:4; > unsigned long fp:4; /* Floating Point */ > unsigned long simd:4; /* Advanced SIMD */ > - unsigned long __res0:8; > - > - unsigned long __res1; > + unsigned long gicv3:4; /* GIC support */ > + unsigned long __res0:36; Please leave __res1 alone. so: unsigned long simd:4; /* Advanced SIMD */ - unsigned long __res0:8; + unsigned long __res0:4; + unsigned long gic:4; /* GIC support */ unsigned long __res1; Also note that in the ARMv8 this field is just called "gic", so I have done the same, please do it that way otherwise when gic vN adds a new sysreg we'll just have to rename the field. Ian