From nobody Fri Dec 19 04:38:14 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549387370218736.009604831306; Tue, 5 Feb 2019 09:22:50 -0800 (PST) Received: from localhost ([127.0.0.1]:35381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr4Qm-0007PB-50 for importer@patchew.org; Tue, 05 Feb 2019 12:22:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr4AR-0001tt-W6 for qemu-devel@nongnu.org; Tue, 05 Feb 2019 12:05:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gr4AQ-0000YB-RG for qemu-devel@nongnu.org; Tue, 05 Feb 2019 12:05:51 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:39145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gr4AL-0000JD-9d for qemu-devel@nongnu.org; Tue, 05 Feb 2019 12:05:48 -0500 Received: by mail-wm1-x334.google.com with SMTP id y8so4480033wmi.4 for ; Tue, 05 Feb 2019 09:05:16 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id w13sm5583164wmf.5.2019.02.05.09.05.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 09:05:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Phfuh8h4FZ1vAFL/MN93RvHaAK2E1TvTgJVPc6hRE50=; b=ap/qLUdof+d2leNY3RznmnbuSYfu+wcqiqL/TEa2Q+eBpnD3leU3fikiinch2eYeTF iwGLledNsD7XmDiJnyaKKEdPZtzF8ckUW6BmF++W7DWnAFhv8brXPVftk4JzjiWl0eUC 0mI9OxT8aVUhL1hhdrLBN+FaIPudEYkSWHfuhncrSnbHJuJ1P5U3ke1J2f4xyrDozICO 8G2/WpzVF6jlMtG6K1AGad54j+/1j7pFX71qGkrzNN5Xs4YJOM3cafk76CE71GcOvSkF nQOiJGeRfX0QTsznNBEaXujW3M+vpH7HV+C6tNrJn4T0CCzJMeklMe35QTXZkEmxNSFz hLAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Phfuh8h4FZ1vAFL/MN93RvHaAK2E1TvTgJVPc6hRE50=; b=XXMGDm7KAG/gMjfkgaS53iJZr57IXTZBuK3igEZojaRoa6AzklcReXZEr0GQ1xeFng oKcDnLEAenFehRjG5CdJ1qzcXxG0X7bQnX0wm1nygAHNuoFtmkM2ulkW2fqVmeZHeyes R/OuVgsHzddC0+P7GsZmLdbC6yN4XUJqeP0mKY6KdVT+M+biI8X3OrXFlF0OFzXgxJYP I0oCOyYVaPQw6BfcORNcTW6OcldlxKSXpK94qbkCbH906yH1/nCfKVmld+ZG+CPIkbro fZ5ima9kWL1oXNO1Lg3gSvHCNNvXD1iQ6HE5ScPAvp6wZZxj5toX4VmVxbt6pF+yV/LY PoTw== X-Gm-Message-State: AHQUAub/AkcmHj7AY29AEn7gPUHmyLyto0FwVXWiwep1WchAG/e6uTFw SpDJNL97DPgUodaXNflV7EVQXjn2jyObOg== X-Google-Smtp-Source: AHgI3IZLofgi4b9tOl71/wxHILhppgo0kookDBisfG1sg5XR7KueknFx2FZYhrpyy3/PQw5R7v5B6A== X-Received: by 2002:a1c:414:: with SMTP id 20mr4590262wme.67.1549386314825; Tue, 05 Feb 2019 09:05:14 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 5 Feb 2019 17:04:49 +0000 Message-Id: <20190205170510.21984-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190205170510.21984-1-peter.maydell@linaro.org> References: <20190205170510.21984-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 Subject: [Qemu-devel] [PULL 01/22] target/arm: Introduce isar_feature_aa64_bti X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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" From: Richard Henderson Also create field definitions for id_aa64pfr1 from ARMv8.5. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Message-id: 20190128223118.5255-2-richard.henderson@linaro.org Signed-off-by: Peter Maydell --- target/arm/cpu.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index a68bcc9fedb..0c7ea39f1ae 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1681,6 +1681,11 @@ FIELD(ID_AA64PFR0, GIC, 24, 4) FIELD(ID_AA64PFR0, RAS, 28, 4) FIELD(ID_AA64PFR0, SVE, 32, 4) =20 +FIELD(ID_AA64PFR1, BT, 0, 4) +FIELD(ID_AA64PFR1, SBSS, 4, 4) +FIELD(ID_AA64PFR1, MTE, 8, 4) +FIELD(ID_AA64PFR1, RAS_FRAC, 12, 4) + FIELD(ID_AA64MMFR0, PARANGE, 0, 4) FIELD(ID_AA64MMFR0, ASIDBITS, 4, 4) FIELD(ID_AA64MMFR0, BIGEND, 8, 4) @@ -3328,6 +3333,11 @@ static inline bool isar_feature_aa64_lor(const ARMIS= ARegisters *id) return FIELD_EX64(id->id_aa64mmfr1, ID_AA64MMFR1, LO) !=3D 0; } =20 +static inline bool isar_feature_aa64_bti(const ARMISARegisters *id) +{ + return FIELD_EX64(id->id_aa64pfr1, ID_AA64PFR1, BT) !=3D 0; +} + /* * Forward to the above feature tests given an ARMCPU pointer. */ --=20 2.20.1