From patchwork Fri Mar 28 16:10:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 27328 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2959220545 for ; Fri, 28 Mar 2014 16:10:41 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id fb1sf12581692pad.4 for ; Fri, 28 Mar 2014 09:10:40 -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:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=mXjW0oTcI0lJyUPbM4Opc6BJ9dqKcRbkH6+JIhWNWWo=; b=EQsLztU+YP9XqGiXbs5Tl6ZwFS4F+e5d/g1ShdT8PBhnjQ7Se+HeCZNrTzaSK2gFMy jg8NwnX40w4Suxzo/2UBQKgKM96c5gSorZefpag573bc7Npaly+6TvRIiH6rR0M1rCqk 3XX7WJDD/RsBsEJmduqGrOMvqwjeOad3g244upoHU49ZNlahpW00c27UtAt8urj3f5b7 jkkve2marViKPGcBEAoelbBVnoQTR2Z87yZWc+obJQDUPWb5KASZbtWW49PtKS+GqnLO kFg8DeWoK6X1HIF+df4GjLHLPRUVtAAUewButQtjlXH/lns/h41ueOCXCw1wAcHfxCiH x4NQ== X-Gm-Message-State: ALoCoQmWKzIjjlSv67pDtTGnxM38HAref8Yn4vRrixgRXpjHO6Y59Vx3wWhWGpKV2IJ0XdbAVIxW X-Received: by 10.66.252.1 with SMTP id zo1mr3632783pac.40.1396023040418; Fri, 28 Mar 2014 09:10:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.39 with SMTP id n36ls1563895qga.19.gmail; Fri, 28 Mar 2014 09:10:40 -0700 (PDT) X-Received: by 10.52.130.225 with SMTP id oh1mr6633636vdb.8.1396023040290; Fri, 28 Mar 2014 09:10:40 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id cb3si1313765vdc.167.2014.03.28.09.10.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Mar 2014 09:10:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so6063196veb.12 for ; Fri, 28 Mar 2014 09:10:40 -0700 (PDT) X-Received: by 10.53.1.69 with SMTP id be5mr1751766vdd.27.1396023040222; Fri, 28 Mar 2014 09:10:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.12.8 with SMTP id v8csp20551vcv; Fri, 28 Mar 2014 09:10:39 -0700 (PDT) X-Received: by 10.112.64.8 with SMTP id k8mr3246lbs.72.1396023032713; Fri, 28 Mar 2014 09:10:32 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id o5si3640697lae.56.2014.03.28.09.10.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Mar 2014 09:10:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WTZMP-0000ca-Uz; Fri, 28 Mar 2014 16:10:25 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Alexander Graf , Michael Matz , Dirk Mueller , Laurent Desnogues , kvmarm@lists.cs.columbia.edu, Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Christoffer Dall , Will Newton , Peter Crosthwaite Subject: [PATCH v5 25/37] target-arm: Implement AArch64 view of ACTLR Date: Fri, 28 Mar 2014 16:10:12 +0000 Message-Id: <1396023024-2262-26-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1396023024-2262-1-git-send-email-peter.maydell@linaro.org> References: <1396023024-2262-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Implement the AArch64 view of the ACTLR (auxiliary control register). Note that QEMU internally tends to call this AUXCR for historical reasons. Signed-off-by: Peter Maydell --- target-arm/helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 10300aa..f2e6f17 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2316,7 +2316,8 @@ void register_cp_regs_for_features(ARMCPU *cpu) if (arm_feature(env, ARM_FEATURE_AUXCR)) { ARMCPRegInfo auxcr = { - .name = "AUXCR", .cp = 15, .crn = 1, .crm = 0, .opc1 = 0, .opc2 = 1, + .name = "AUXCR", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 0, .crn = 1, .crm = 0, .opc2 = 1, .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = cpu->reset_auxcr };