From patchwork Tue May 27 16:28:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 30995 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DFD342066E for ; Tue, 27 May 2014 16:31:54 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id wm4sf47891060obc.10 for ; Tue, 27 May 2014 09:31:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=1svZegvvu2qRG1e7K/TISa0kDr8AyKj8u2FfhW0J+RA=; b=V696UhxY9PP13sM+ihu9m1OuUO6t8ptOD4hF4gsqQsZBUkSbDtgphh2nwemtn3qQP5 NfUSAN3qim+5amtVXfOKss2jyldoOqJmX5VVKK6/M1M+aYxm31YKKDJnoBhvA2e3/ArH E4xATg1GTh5Hww1mPCfyQ6vyGGy22q9kD5qNsJDIj7/VcWWLPRSMxe7diEzxCNicC3aB Tkzb0FRekgzFkjPpJNO6WCowUvrmll0LbZNWfkvYqVwOCQxJ5qxq+j7z2UPBehuI5DOl 0ofPJYkVQzprKSVdpbZOIKrXSgaNL6zB0yEM9lYZyNf+jRfLgLt28fRVSmOAeksr5pmg Bcqg== X-Gm-Message-State: ALoCoQmbkkzK4SIhRd0eogePSmbC/G45GnB9E2HSAUOEfqqBT90Mz8aVtdpqeySqBqR3MfKsIMmK X-Received: by 10.50.35.229 with SMTP id l5mr13409312igj.0.1401208314483; Tue, 27 May 2014 09:31:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.50.143 with SMTP id s15ls3049889qga.33.gmail; Tue, 27 May 2014 09:31:54 -0700 (PDT) X-Received: by 10.52.110.105 with SMTP id hz9mr24310340vdb.9.1401208314332; Tue, 27 May 2014 09:31:54 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id da10si8485749vec.49.2014.05.27.09.31.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 09:31:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id oy12so10842444veb.24 for ; Tue, 27 May 2014 09:31:54 -0700 (PDT) X-Received: by 10.58.245.2 with SMTP id xk2mr28482953vec.9.1401208314262; Tue, 27 May 2014 09:31:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp132871vcb; Tue, 27 May 2014 09:31:53 -0700 (PDT) X-Received: by 10.224.98.141 with SMTP id q13mr44952796qan.64.1401208313420; Tue, 27 May 2014 09:31:53 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 17si16358450qgj.49.2014.05.27.09.31.53 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 27 May 2014 09:31:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:36500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKI4-0008GJ-FN for patch@linaro.org; Tue, 27 May 2014 12:31:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKF3-00035V-3D for qemu-devel@nongnu.org; Tue, 27 May 2014 12:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpKF2-0002op-39 for qemu-devel@nongnu.org; Tue, 27 May 2014 12:28:44 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKF1-0002lf-Tg for qemu-devel@nongnu.org; Tue, 27 May 2014 12:28:44 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WpKEt-0005s0-MS; Tue, 27 May 2014 17:28:35 +0100 From: Peter Maydell To: Anthony Liguori Date: Tue, 27 May 2014 17:28:32 +0100 Message-Id: <1401208114-22404-25-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1401208114-22404-1-git-send-email-peter.maydell@linaro.org> References: <1401208114-22404-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 24/26] target-arm: Make vbar_write writeback to any CPREG 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: "Edgar E. Iglesias" Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias Message-id: 1400980132-25949-22-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell --- 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 e0f3bb8..c5b032f 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -681,7 +681,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.vbar_el[1] = value & ~0x1FULL; + raw_write(env, ri, value & ~0x1FULL); } static uint64_t ccsidr_read(CPUARMState *env, const ARMCPRegInfo *ri)