From patchwork Thu Jan 10 12:17:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 155142 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1835107jaa; Thu, 10 Jan 2019 04:24:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ideO1ARaP+yGbsnv5dDkxjXfyk0za78o+HOJvMuDLUWvHVTFhVeQRo9NkppD/sPuHQTwc X-Received: by 2002:a1c:bc82:: with SMTP id m124mr9469009wmf.77.1547123090984; Thu, 10 Jan 2019 04:24:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547123090; cv=none; d=google.com; s=arc-20160816; b=hb5GZ2aHo2VBeRqhxs9l3R70aAE9+Cq1ZiEEXyiYZp0CIBAMREUEChoCGlioK4M4xa LTJk+cZFg15w975yTWEkUcSU2lcQjlNWbODfKgMbGCiePZFXoQ63K4zEZETbI2pmLJsa GmRsX0a01r2rHS+Re4HT8Mm8/P2upiK2pcabv7vKMRyAzJEdX86QUB7Nwrg5Wp/10DP6 yV17n3fU/lsc2aUvkfbuz1CpSU0dNXg4zgg87gfXm4j0CS6xBRi7AGJOCXt407GtLdns QOhbWCwib7umE0YJ6YIF+ZvZcivUV/PCHIzCTKtWTTMNY4ca5ulGXL83m1J6hk0YnvCJ 24uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=2xcblPi8ob/nT206QUAh9O3OrdajZ4sfTdq1UgATXq4=; b=bGhqO2OZQXIPkUAHGp/cDFmT4ByIjpEKqo71tmfdfUNn0Ul2kxrgXX3T9HbKzUC/WX 2sfwH4xHVK2KNfNZYd8eWJqtfsk0FhDnNT+X0XsfYYd4iqzSELvSW9avpTLwMMTioged oEp8S6nmam3TT8obgqTle2yVaI68zOkMu7quP0lfiC4JJYTEr0/5Y6mR57mw0IJzvpn4 lKpR0hf+NerpdnyKMuabkp7h7O9BZaRGtATPVJ0nCIOyme3hHaPOunBh9O5NdqsVodxp LdK0ecUpoKZwYiBKiyDVVYUdqavNajNBzjEXuEIy27TQ9x8PZDO0pD3asKHyd7S2JuS+ DqYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FVMyaHBl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a15si41607624wru.160.2019.01.10.04.24.50 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 10 Jan 2019 04:24:50 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FVMyaHBl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:57541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghZOE-0000DZ-0N for patch@linaro.org; Thu, 10 Jan 2019 07:24:50 -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) 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-Received: by 2002:a17:902:8a95:: with SMTP id p21mr10368637plo.183.1547122686288; Thu, 10 Jan 2019 04:18:06 -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) 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.2 Reviewed-by: Peter Maydell 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 = FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1); cpu->isar.id_aa64pfr0 = t; + t = cpu->isar.id_aa64pfr1; + t = FIELD_DP64(t, ID_AA64PFR1, BT, 1); + cpu->isar.id_aa64pfr1 = t; + t = cpu->isar.id_aa64mmfr1; t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */ t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1);