From nobody Tue Feb 10 05:44:57 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1610132166; cv=none; d=zohomail.com; s=zohoarc; b=CyLPlrqbFgfKguga5P76cf4Tl3I1rBu83vuUPhnoJdHuavQHcCdvt6kWPMXlW8aqyg+WK2grW1d2mOMU4PmfemEE9VgZpHO0Snq/wt7MLpIu60XPNdRW9WMzCY1kn8x0Va9oF4OFguvx5295afxCp4NfElq/dYVSNdY7UF5Deww= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610132166; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2hPNMUgLjGsZrofLM5ryEx3n5GB4TeZrlJdrp1nvvfk=; b=QGT09sl9HPm/vcyBBwb76w1N+nFAn1zgrFq/gHdAF/EngKQmgufH6dizxl0HRU+3Pdp+b5WesYdcCsVszhjAgRB6OCgvOM5knzrm+wdbo35d15mpaxFF/Xf2wbTRIAWhLWJIRlLwRYFK7I4Oyd3D1b9hxy6oDxrNU2KMo+qnL7M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1610132166358411.9533267778828; Fri, 8 Jan 2021 10:56:06 -0800 (PST) Received: from localhost ([::1]:52970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxwvd-0007mL-9K for importer@patchew.org; Fri, 08 Jan 2021 13:56:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxwrl-00029C-EK for qemu-devel@nongnu.org; Fri, 08 Jan 2021 13:52:06 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:36484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxwrg-0000tY-0t for qemu-devel@nongnu.org; Fri, 08 Jan 2021 13:52:05 -0500 Received: by mail-wr1-x435.google.com with SMTP id t16so9984402wra.3 for ; Fri, 08 Jan 2021 10:51:59 -0800 (PST) Received: from vanye.hemma.eciton.net (cpc1-cmbg19-2-0-cust915.5-4.cable.virginm.net. [82.27.183.148]) by smtp.gmail.com with ESMTPSA id b19sm12353373wmj.37.2021.01.08.10.51.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 10:51:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2hPNMUgLjGsZrofLM5ryEx3n5GB4TeZrlJdrp1nvvfk=; b=refXlTezGFlTShhI14ujOQG2wRkydbRfMU1xpG2mLGK0IDxt30Iu6spwWEmDtqNBCN rlTnUriaKdxckSpcOTwMHRosc/gQ7cOVDPwZOZLLbPZ2wDqLPOGgbIuOn0GrerN7Ua+0 TYYwV6UtJg+7yhTese+eP3oUc7UHkOlOSqs8UgiIjbwK58y0ao1t2DYak0wv9A3oiovg qEifirTyi9juzBwucnY5D5FVXAoYMProqX7vK0HQS52JqHX0x5Ul98cguXSQwhbhHZX0 BnpfI+BB++rXsZM9HuO7gtLURS1Sc+vup2T5cZ9HONVMcZKAjsi43K+9xeaV5QlSg4iw uQxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2hPNMUgLjGsZrofLM5ryEx3n5GB4TeZrlJdrp1nvvfk=; b=otP53appD+KpWe0/GN9KhvKVjH/6+DqQGNg+SSRFf8ghHzigMR95J5ZZcnMbnEjE3A NdmMktqOh/+ikb+FS3x7oEyhm4nDcQ4pUHI/zoVFk2dWvE1R9ag/LRhiCmWmD8Yd8H1L xZ7aRI6MTc+z4Mqiu84NMmC/XjXdOfZ+Ltyi7qnAoEz+q46uQkXViKsCezVKj68pwLV7 oz3+125adS89RkK/cE1/YnsivdCW7NheS5VbdcUBxLLEDxDYVzJGnHwWvCWhDQSF8Ibl eoXzGcqf33XaYKja54QIM0bAssPl2IVdEm3NRsWXlmXD1BmxYF0HKYEPN5FUMxLJejNR 4eyA== X-Gm-Message-State: AOAM532lSmpv/Sgphtx92BpFbtqa+FcXgJReXO2NRotshzoqQeWLjK6R lPU0S9dwUA95Rb0rOuj4yM6wasCkMacM7suUfTZLaNNRWTc+6mdhwOUQmyQjubS5KJ2LBr/dGyn dFIZ/y/zhFVgKIUVJuWfn0X1ya6es6Bxgh9BDkEnxbvBbNXdB29NU1PpL7HxO1Akj8zdzNw== X-Google-Smtp-Source: ABdhPJyDH7b4UK5Hn5qzzQQor/2N0wRAoAmoGNgBjgAsX8opPc324S1Su4XyxMGNWpmSbKR6lkXlVQ== X-Received: by 2002:adf:b519:: with SMTP id a25mr4908777wrd.263.1610131918416; Fri, 08 Jan 2021 10:51:58 -0800 (PST) From: Leif Lindholm To: qemu-devel@nongnu.org Subject: [PATCH v3 3/6] target/arm: make ARMCPU.ctr 64-bit Date: Fri, 8 Jan 2021 18:51:51 +0000 Message-Id: <20210108185154.8108-4-leif@nuviainc.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210108185154.8108-1-leif@nuviainc.com> References: <20210108185154.8108-1-leif@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=leif@nuviainc.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Desnogues , Peter Maydell , qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" When FEAT_MTE is implemented, the AArch64 view of CTR_EL0 adds the TminLine field in bits [37:32]. Extend the ctr field to be able to hold this context. Signed-off-by: Leif Lindholm Reviewed-by: Hao Wu Reviewed-by: Laurent Desnogues Reviewed-by: Richard Henderson --- target/arm/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index fadd1a47df..063228de2a 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -931,7 +931,7 @@ struct ARMCPU { uint64_t midr; uint32_t revidr; uint32_t reset_fpsid; - uint32_t ctr; + uint64_t ctr; uint32_t reset_sctlr; uint64_t pmceid0; uint64_t pmceid1; --=20 2.20.1