From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfmto-0000aB-1F for qemu-devel@nongnu.org; Thu, 01 May 2014 05:03:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wfmti-00005P-K9 for qemu-devel@nongnu.org; Thu, 01 May 2014 05:03:23 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:40129 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfmti-00005D-Ez for qemu-devel@nongnu.org; Thu, 01 May 2014 05:03:18 -0400 References: <1398926097-28097-1-git-send-email-edgar.iglesias@gmail.com> <1398926097-28097-2-git-send-email-edgar.iglesias@gmail.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1398926097-28097-2-git-send-email-edgar.iglesias@gmail.com> Date: Thu, 01 May 2014 10:04:28 +0100 Message-ID: <87ppjxrhsz.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v1 1/4] target-arm: Make vbar_write 64bitfriendly on 32bit hostss List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org Edgar E. Iglesias writes: > From: "Edgar E. Iglesias" > > Signed-off-by: Edgar E. Iglesias Reviewed-by: Alex Bennée > --- > target-arm/helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target-arm/helper.c b/target-arm/helper.c > index 43c1b4f..330bfc7 100644 > --- a/target-arm/helper.c > +++ b/target-arm/helper.c > @@ -657,7 +657,7 @@ static void vbar_write(CPUARMState *env, const ARMCPRegInfo *ri, > * contexts. (ARMv8 would permit us to do no masking at all, but ARMv7 > * requires the bottom five bits to be RAZ/WI because they're UNK/SBZP.) > */ > - env->cp15.c12_vbar = value & ~0x1Ful; > + env->cp15.c12_vbar = value & ~0x1FULL; > } > > static uint64_t ccsidr_read(CPUARMState *env, const ARMCPRegInfo *ri) -- Alex Bennée