From nobody Tue Feb 10 13:17:37 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 1547123037612750.1464245608744; Thu, 10 Jan 2019 04:23:57 -0800 (PST) Received: from localhost ([127.0.0.1]:57541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghZNM-0000DZ-5U for importer@patchew.org; Thu, 10 Jan 2019 07:23:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghZHn-0004g4-S7 for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:18:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghZHk-0007kA-De for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:18:10 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:41738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghZHk-0007jq-5c for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:18:08 -0500 Received: by mail-pl1-x644.google.com with SMTP id u6so5107838plm.8 for ; Thu, 10 Jan 2019 04:18:07 -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.18.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 04:18:05 -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=2xcblPi8ob/nT206QUAh9O3OrdajZ4sfTdq1UgATXq4=; b=FVMyaHBld9lnmZQtITq/P+DHmOC3RTIcG0ICAk+OQpj8pgsejxSHE8U4bD0tm3JFyl VfaPQMeZna/5zPc6zHQrD2FZDt+v1SAKg7u6auO+OWKUSPoo/iOQmh+zJ17KDJOaDIAa aHkdcGlVcYsXEekHYpXgaffEO6xXh3RhoRtMo= 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=2xcblPi8ob/nT206QUAh9O3OrdajZ4sfTdq1UgATXq4=; b=SadIpuIpYE7e9CI1/8Qf4RvGxh7DAvDFJMlrWdu4LuN6j1hYAo05dLVbqrn+r9mVLT zYamcebBsnKXVk8HoTC9GtGCWAiC25FZ9B87dQNebNkmwQMq7WSo4LxHjwCRGZhC2wOO 0lt6S6mh3+esx51UMIbQO9yGFkUYQpWRuRukwLavAF6gy0OOxbznsRxOdkvFHs/45HqU hDLcj9oZ66Ku0J97VY0Vf4i+Nrwy1TzCR0OuyzsGAxgkkOJPsOMokoFfC/z9Nl70dT14 w3hutCkgl7NpF00A2V54yNHvOeqZJOWRuyJhCwLl1/QqDfMx9VRY/Ix/7TyfOhLN+Glq k3Iw== X-Gm-Message-State: AJcUukdWpkHEZgUqkIqzBS6g4hf79CFwAVeG58XAqyQd6H7Pt327TR9I 8vOsFJoZR0fnPwE4JeWVe05cy+arZL0Q/g== X-Google-Smtp-Source: ALg8bN7C+tMb6yKbD8vhlhAF1lpxMmtegeQbQ0q2cbQ8s5fRU/fszoL0VPnmm7VCvbSpX7d6wEdD8A== X-Received: by 2002:a17:902:8a95:: with SMTP id p21mr10368637plo.183.1547122686288; Thu, 10 Jan 2019 04:18:06 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 10 Jan 2019 23:17:34 +1100 Message-Id: <20190110121736.23448-10-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::644 Subject: [Qemu-devel] [PATCH 09/11] target/arm: Enable BTI for -cpu max 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" Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- target/arm/cpu64.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 713d2d5579..64fbe75eca 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -372,6 +372,10 @@ static void aarch64_max_initfn(Object *obj) t =3D FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1); cpu->isar.id_aa64pfr0 =3D t; =20 + t =3D cpu->isar.id_aa64pfr1; + t =3D FIELD_DP64(t, ID_AA64PFR1, BT, 1); + cpu->isar.id_aa64pfr1 =3D t; + t =3D cpu->isar.id_aa64mmfr1; t =3D FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */ t =3D FIELD_DP64(t, ID_AA64MMFR1, LO, 1); --=20 2.17.2