From patchwork Thu May 1 06:34:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 344441 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CFAB5140111 for ; Thu, 1 May 2014 16:36:47 +1000 (EST) Received: from localhost ([::1]:60651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfkbt-0005xW-PY for incoming@patchwork.ozlabs.org; Thu, 01 May 2014 02:36:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfkbR-0005DI-19 for qemu-devel@nongnu.org; Thu, 01 May 2014 02:36:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfkbL-0008OX-1r for qemu-devel@nongnu.org; Thu, 01 May 2014 02:36:16 -0400 Received: from mail-qc0-x22a.google.com ([2607:f8b0:400d:c01::22a]:55193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfkbK-0008ON-Ty for qemu-devel@nongnu.org; Thu, 01 May 2014 02:36:10 -0400 Received: by mail-qc0-f170.google.com with SMTP id x13so3038035qcv.15 for ; Wed, 30 Apr 2014 23:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=tvO2ilYrQo1XrDg1emG8Y2iKokHyMhj8PX0EahfFk5I=; b=D0mS3Q0fZMrYtmpAKt0OhVymDOFYDkC3/bzohwdXuGGCGZtOkmnR0+/uHC9uht9Kxp 22zKhW8Dbw5nr4+bVIh8sig/i05yn6kgWjlMEiAHbuhDyW8gIewW3eq6WlccMnuFqUhz 5niiOYfWk/cZdkpP1n6Cm1j21d6H76uowQkglJ4yOoYr7R2f9IFbjdGIaXJCm3nf1TZt rrH1E4Fry2ZmirL3F/MyO70rdKhHJ8u2gqSvTfYdn6JHbWJg3MHEKqivpym1I6GcsrVG OIaLO/bcSQUU5jmA+ZRsk8PC2H5PxX6TcOBn3Bwx4mMEaq/zuBHc81mwtB85IL6WcMVr AIkA== X-Received: by 10.140.41.200 with SMTP id z66mr10551146qgz.102.1398926170556; Wed, 30 Apr 2014 23:36:10 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id a103sm33941267qge.6.2014.04.30.23.36.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 30 Apr 2014 23:36:09 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Thu, 1 May 2014 16:34:54 +1000 Message-Id: <1398926097-28097-2-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398926097-28097-1-git-send-email-edgar.iglesias@gmail.com> References: <1398926097-28097-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::22a Subject: [Qemu-devel] [PATCH v1 1/4] target-arm: Make vbar_write 64bit friendly on 32bit hosts X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Reviewed-by: Alex Bennée Reviewed-by: Peter Crosthwaite --- 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)