From patchwork Sun May 25 01:08:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 352211 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A75FD140083 for ; Sun, 25 May 2014 11:24:30 +1000 (EST) Received: from localhost ([::1]:49965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoNAq-0007sK-Kv for incoming@patchwork.ozlabs.org; Sat, 24 May 2014 21:24:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoNAP-0007Bq-87 for qemu-devel@nongnu.org; Sat, 24 May 2014 21:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoNAF-0007pU-3J for qemu-devel@nongnu.org; Sat, 24 May 2014 21:24:01 -0400 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:43311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoNAE-0007pN-SG for qemu-devel@nongnu.org; Sat, 24 May 2014 21:23:51 -0400 Received: by mail-pa0-f52.google.com with SMTP id fa1so5879654pad.11 for ; Sat, 24 May 2014 18:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pOQUKBk+pkcx0a5qg8Pls6j0wayc5LYYEemKx/UnBig=; b=N/nDUB/MMBrcs1oEI8Umvmm3vgwPLYKspB726hVa/sc+o3aj9Ab3DGZaw8RSojS/QR NYr37r/LytMAhsHaf/8xElJaUXTKG05MhSUpmNtFG2wCC7/1lCtqK3V3SuZzoWz5Z5ew fOwz74BRAdsUA8FasHjQBLgPPYqsXvdiJL+pSgh620QExM/hhaUftf4u9gKP6i2t6JOg nPccYSS+aWZc6IWagD5sF/w1rU/3gr+QxXeDy8PdvG9VO7K8SE5UQat6eXnkblOlQw4M WFSs92kC4z7IZmgDUwOc4V7mNwRkHBOgoSxUVfSMp99fqh0BO1PwkNGOiXLvV76Cy2dL rJ9Q== X-Received: by 10.66.251.136 with SMTP id zk8mr17233135pac.137.1400981030032; Sat, 24 May 2014 18:23:50 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id av2sm11304814pbc.16.2014.05.24.18.23.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 18:23:48 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Sun, 25 May 2014 11:08:50 +1000 Message-Id: <1400980132-25949-22-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400980132-25949-1-git-send-email-edgar.iglesias@gmail.com> References: <1400980132-25949-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:400e:c03::234 Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, aggelerf@ethz.ch, agraf@suse.de, john.williams@xilinx.com, greg.bellows@linaro.org, alex.bennee@linaro.org, christoffer.dall@linaro.org, rth@twiddle.net Subject: [Qemu-devel] [PATCH v5 21/23] 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Edgar E. Iglesias" Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias --- 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 cb7c964a..5a2073e 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.vbar_el[1] = value & ~0x1FULL; + raw_write(env, ri, value & ~0x1FULL); } static uint64_t ccsidr_read(CPUARMState *env, const ARMCPRegInfo *ri)