From patchwork Fri Feb 15 19:23:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 158541 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1065166jaa; Fri, 15 Feb 2019 11:28:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IZaX6RyNxAWeL6GNlIncNWpWNXOUsACIwoviqEMkA55N+IeOxOhfAjfTveGz3kXlLQd1zEy X-Received: by 2002:a25:90a:: with SMTP id 10mr9430136ybj.48.1550258928638; Fri, 15 Feb 2019 11:28:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550258928; cv=none; d=google.com; s=arc-20160816; b=NczpIbbQf5IWQuNYuTPdDYo8OCvKqEEFSNLGcVuG0LSi9/TClsYNKvZ/EIYVQiF4fH 7NYXQ7gVn0/7oY4G09H+FCQAPw7vi7UAzu+icmRaX6bM88BYrxs+Zw54SWGXMgLEiYWi 7miebZ6IE0riPnPZ4vl4sBAfA9UcJdFEdgpMWo4MGUxX68lFXjmoI3J0Jg8Kp7DHr7/d nEPkifC7LlwqLKm7K6zI/nJS4uH37HXFvGdxae3DvAc3HEJVxBukJmmsdh+iu/lH58BF 3mckabDuAg35KECoqfymCpf2pTs8niUxzRm9RQ2AikBO2nl2BIH5VucOf4yqqS5jiwCc QXxw== 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=tsK9dzCgm1k++raud5hkUWeOig3LDz798qJnPSIBFOQ=; b=1LiUdGwfm8EuxsrYVF6fJSyga2hFLDDJ9rK9jC+AWS1pZDpE/22udvJ+3MkGit0Mx6 OVzNE4rQbLjYTJ8tUY8cgnocMuE6I+d7t8VlGfJrbO5gdT1uzv5a/g2F+Rc9D0arIySA KNeeDth4vWA2z2lGkh8YHHUZbReqLtBY+6R1koXh9T1R49fMgjU6PxpYkt30sJR4K8Vp DQ/YaOLrA9whmzQv6hGXMok7skzwUURDECP46UNOgzHtzF1EsI4pGy4TnPTSejqHWwNp RepBB9T+vNMs1yTpqy+LjRsm6n86YkiWrf26EtiHYAYX1LHNNrXnpM2LIQQd6sHt/xLS bYLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mXbn3NIS; 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 a185si3663325ybb.46.2019.02.15.11.28.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Feb 2019 11:28:48 -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=mXbn3NIS; 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]:45102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gujAG-0000Zl-57 for patch@linaro.org; Fri, 15 Feb 2019 14:28:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guj4y-0005Tt-LR for qemu-devel@nongnu.org; Fri, 15 Feb 2019 14:23:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guj4w-0003VA-3G for qemu-devel@nongnu.org; Fri, 15 Feb 2019 14:23:18 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:41893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guj4v-0003Sh-GW for qemu-devel@nongnu.org; Fri, 15 Feb 2019 14:23:17 -0500 Received: by mail-pl1-x644.google.com with SMTP id k15so5404441pls.8 for ; Fri, 15 Feb 2019 11:23:17 -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=tsK9dzCgm1k++raud5hkUWeOig3LDz798qJnPSIBFOQ=; b=mXbn3NISbqXKs3F38ylBAPtDsTfnkjFJ2Co8ukpv5GfEF48Z3kkbK+FANO9ALckYgJ Mykuu9a607EiFseZ9rjS/zshJAiiwPbekEC6GL5ub1vhlNyyG7U6afvjGCtPD7B4N/g1 7YJtBaendv1mZwugCOnBHDvrlxHv1QhiKTjy+v3vcD2vh5uk8JgGQKgQoRr4/1iURpk3 9DTfnuennuBZzuF/47jh55TfpGUiJqhjMje0Ho42AQ6zRg/l1UnHj/wRZhz5f0cnyLRk 8AdkVYf4yn9oDUytriqUkvenadGFYkUHuBWXLCbp0tRQpEoo7Cn6draT2FX+k8F/fKok nINg== 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=tsK9dzCgm1k++raud5hkUWeOig3LDz798qJnPSIBFOQ=; b=LV4oefb4sZ2CNKgCBLIkRnUDBa7Qrlg86YwmKpTwIqe4YeklprQTCo/P+NqwNRm65j NXwjDO6o9o5qN9vYFSoiZ5TEpPzVtBWY8byPSjBDe6tYZ8LtHhmWUjag6LTRkHCB4IJu VRTBiVo9AAz7g5k82ZpKoxqwwRs7yzP3E3RwyOfZMaypyRKecM+UZAU4+QIOZF6A4Hiy DTgceNtfC9CqTQZ0TrmBDwYUNKrRDAUsdlUaBAQzmaChfhgrPZPRgJr8uFOG4om3XSoT BA2xN1Smk6Cwr3GGu48Wx1MZLWDWeHoYHsDaowhmRLkW8Vc4B2URpQZMsaT9sCJRn2Am 5CZQ== X-Gm-Message-State: AHQUAuaBuWAFgz1Lkza6hO/wsSEOatCQI3wjWJhmiD29esmVzMJ1EEZY MtvL8YDji575KP2gGus/ibcWJMO7m2E= X-Received: by 2002:a17:902:930b:: with SMTP id bc11mr11954740plb.101.1550258596085; Fri, 15 Feb 2019 11:23:16 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id o85sm15161596pfi.105.2019.02.15.11.23.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Feb 2019 11:23:15 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 15 Feb 2019 11:23:02 -0800 Message-Id: <20190215192302.27855-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190215192302.27855-1-richard.henderson@linaro.org> References: <20190215192302.27855-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 v4 8/8] target/arm: Enable ARMv8.2-FHM 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/cpu.c | 1 + target/arm/cpu64.c | 2 ++ 2 files changed, 3 insertions(+) -- 2.17.2 Reviewed-by: Peter Maydell diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 8ea6569088..b9fa548718 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2003,6 +2003,7 @@ static void arm_max_initfn(Object *obj) t = cpu->isar.id_isar6; t = FIELD_DP32(t, ID_ISAR6, JSCVT, 1); t = FIELD_DP32(t, ID_ISAR6, DP, 1); + t = FIELD_DP32(t, ID_ISAR6, FHM, 1); cpu->isar.id_isar6 = t; t = cpu->id_mmfr4; diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 69e4134f79..1b0c427277 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -308,6 +308,7 @@ static void aarch64_max_initfn(Object *obj) t = FIELD_DP64(t, ID_AA64ISAR0, SM3, 1); t = FIELD_DP64(t, ID_AA64ISAR0, SM4, 1); t = FIELD_DP64(t, ID_AA64ISAR0, DP, 1); + t = FIELD_DP64(t, ID_AA64ISAR0, FHM, 1); cpu->isar.id_aa64isar0 = t; t = cpu->isar.id_aa64isar1; @@ -347,6 +348,7 @@ static void aarch64_max_initfn(Object *obj) u = cpu->isar.id_isar6; u = FIELD_DP32(u, ID_ISAR6, JSCVT, 1); u = FIELD_DP32(u, ID_ISAR6, DP, 1); + u = FIELD_DP32(u, ID_ISAR6, FHM, 1); cpu->isar.id_isar6 = u; /*