From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnHXU-0002Rw-3d for qemu-devel@nongnu.org; Wed, 21 May 2014 21:11:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnHXO-0006lS-AA for qemu-devel@nongnu.org; Wed, 21 May 2014 21:11:20 -0400 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:34258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnHXN-0006kS-R6 for qemu-devel@nongnu.org; Wed, 21 May 2014 21:11:14 -0400 Received: by mail-pa0-f45.google.com with SMTP id ey11so1930594pad.4 for ; Wed, 21 May 2014 18:11:12 -0700 (PDT) Date: Thu, 22 May 2014 01:11:44 +0000 From: "Edgar E. Iglesias" Message-ID: <20140522011144.GG30982@hostname> References: <1400491383-6725-1-git-send-email-edgar.iglesias@gmail.com> <1400491383-6725-20-git-send-email-edgar.iglesias@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v3 19/22] target-arm: A64: Register VBAR_EL2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Rob Herring , Peter Crosthwaite , Fabian Aggeler , QEMU Developers , Alexander Graf , John Williams , Alex =?iso-8859-1?Q?Benn=E9e?= , Christoffer Dall , Richard Henderson On Wed, May 21, 2014 at 08:22:27PM +0100, Peter Maydell wrote: > On 19 May 2014 10:23, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" > > > > Signed-off-by: Edgar E. Iglesias > > > @@ -2356,6 +2370,12 @@ void register_cp_regs_for_features(ARMCPU *cpu) > > } > > if (arm_feature(env, ARM_FEATURE_EL2)) { > > define_arm_cp_regs(cpu, v8_el2_cp_reginfo); > > + } else { > > + /* If EL2 is missing but higher ELs are enabled, we need to > > + * register the no_el2 reginfos. */ > > Very nitpicky, but my preferred multiline comment style puts the > final "*/" on its own line rather than at the end of the preceding. I changed it to your style. Personally, I try to avoid these kind of requests because I feel it adds unnecessary friction to upstreaming but I have no problems with fixing it up, so feel free to keep on "nitpicking" :-) Thanks, Edgar > > > + if (arm_feature(env, ARM_FEATURE_EL3)) { > > + define_arm_cp_regs(cpu, v8_no_el2_cp_reginfo); > > + } > > } > > if (arm_feature(env, ARM_FEATURE_EL3)) { > > define_arm_cp_regs(cpu, v8_el3_cp_reginfo); > > -- > > 1.8.3.2 > > thanks > -- PMM