From nobody Tue Feb 10 04:07:54 2026 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 (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1547123016496913.0935279477335; Thu, 10 Jan 2019 04:23:36 -0800 (PST) Received: from localhost ([127.0.0.1]:57457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghZN1-0008RF-2g for importer@patchew.org; Thu, 10 Jan 2019 07:23:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghZHQ-0004Qt-Ne for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:17:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghZHQ-0007Tr-1Z for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:17:48 -0500 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:34143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghZHP-0007Sd-Rl for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:17:47 -0500 Received: by mail-pg1-x542.google.com with SMTP id j10so4776284pga.1 for ; Thu, 10 Jan 2019 04:17:47 -0800 (PST) Received: from cloudburst.twiddle.net (c220-239-117-135.belrs4.nsw.optusnet.com.au. [220.239.117.135]) by smtp.gmail.com with ESMTPSA id h74sm140934699pfd.35.2019.01.10.04.17.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 04:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xcgpdHXeoLZj898IpUPl+D9wheSQAsJzisRYxgxJu00=; b=Wg/qPzrMIx626c03pPUtxCovYpM2zLncUfcuG4uZpeXbc0onoITPBfYW+HZR5WnfCb 4We05s+aEQmin1QePft2iw5fAvtMKOX5QPRGfutYf6JUFKXlVsK+qylz3Kcu4MdLBvKd eBqsBTguzlkwHB4UPe0kkhxcj5dfgQG9MlIec= 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; bh=xcgpdHXeoLZj898IpUPl+D9wheSQAsJzisRYxgxJu00=; b=mxX6LfI0X4I0YKOKkcXQA7DgcydaXxt7SKXEfQHBdcNAL/jdTCyDJ/GtPc3I9ntu6b MTzmJqh+t1KfWy4gSEWGQlIlPgmoojETm/yrYeo4BrLIv9DvUtkM8hV95kGQt7nB9gXE smxmc+gH/8KgKdyos7DmjUaiXPzX10Zpj/9EtZZu2H/JdCwZaJ6S61qwGeEbPdCWtKhl ZvBSUAXP7SGIq49n1dNA5o4BgtbyRTmpo5CMGgB/sRMv8Bx5ELQHz07XWnjy61pkGsGs bhu4TBzWe253J+7hjkBihyumPaV8ajCnFA6LgYbeudJ6NlWGPoWfZAh3fKHaq5rMuhvQ +dYA== X-Gm-Message-State: AJcUukdKpAEQsc84+gKQ88K96qUcvWVbiQVLHJynn1HVbe8x4hgp43Mh DxKBhTyjbA/jyG8ECRnNBoeHHSBZgQ4D5Q== X-Google-Smtp-Source: ALg8bN6kOWAjLMVyAkqZDDBcWviObH1bZtqoOIOlfFcIrecrUxg9h/IOUiaXGDEqYE9lp9pfIAPbKQ== X-Received: by 2002:a62:c711:: with SMTP id w17mr10111242pfg.50.1547122666342; Thu, 10 Jan 2019 04:17:46 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 10 Jan 2019 23:17:26 +1100 Message-Id: <20190110121736.23448-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190110121736.23448-1-richard.henderson@linaro.org> References: <20190110121736.23448-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::542 Subject: [Qemu-devel] [PATCH 01/11] 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: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Also create field definitions for id_aa64pfr1 from ARMv8.5. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- target/arm/cpu.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 8512ca3552..fadb74d9a6 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1630,6 +1630,9 @@ 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_AA64MMFR0, PARANGE, 0, 4) FIELD(ID_AA64MMFR0, ASIDBITS, 4, 4) FIELD(ID_AA64MMFR0, BIGEND, 8, 4) @@ -3268,6 +3271,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.17.2