From patchwork Thu Feb 14 03:43:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 158308 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp875411jaa; Wed, 13 Feb 2019 20:01:56 -0800 (PST) X-Google-Smtp-Source: AHgI3IZRrLWBXVdduyArdwkg01bQoQ/ohWoybYkfZ2KQf88mHm0QBGkWZ7JU1IGy0XnvqEtdRdVP X-Received: by 2002:a25:e684:: with SMTP id d126mr1375745ybh.92.1550116916880; Wed, 13 Feb 2019 20:01:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550116916; cv=none; d=google.com; s=arc-20160816; b=umHxsYDUfK32jDds8ttFNBZ3+ju/9aASaxpSlRUgS3SOZl/gTNykZnAuB0aoBkGyPw VOgwwkf2nrtI2x0FYloqpuniT8MKPBX6pgcScEdbJx6xUE9ddc6QvvtKoMdC6pNyXK+e RukPs/QpA/aBtAfXyx67uuBsmTEK49wldZxFCHDp4/kcfbnip46N9obo1UDHscSjVCmG OntxV4tt/KIzY066BHop+smdeo4ky27+6GYHiTsWNDlBS/3iTdEyH/ojg4G69bFRM1J4 cYJAnvcarDggGl6jVpx311RU44223DksVJIT7pwBDJwUvaLVOZxrOoutoem1aHvzuKmn 2caQ== 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=cbskW479OhNUzyJNbm1VlQPK+6mCdYvQdwJmmMsXd+Q=; b=HJXLpBcLhCVwvVwXEocZBECNuwrQIUVfEsS7Y6NOBtOkAMoI+0psL7S4FbeHC3soJW MRWQFsQFZC3A/yDs4Sfwt1J8qqP+PU1S+lvE6waf4TvdqvzkESrJ1Ve3Xqh6yMRFrY+5 RqpBz0X4F1IDSLqFTnWadZX78tvR6NOqkOD6FWJWVweeMe8MMdZvP9c6mxgMDE8FGqz2 fGiJhkVAQsY1AbnSAMsQsvO0jMTm7Ssr3y4s8lNMynXVx4s4AmE903T5KPzJ0+x1T82d md8JQ74vLjHZbm+USVnm73k0Ud3PQRv30N0Cre62c9w61XFjAcIkJIQX0RH5scZn3Wf4 pTuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LCl+ylO6; 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 l11si673476ybb.174.2019.02.13.20.01.56 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 13 Feb 2019 20:01:56 -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=LCl+ylO6; 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]:39463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu8Dk-0000pw-CL for patch@linaro.org; Wed, 13 Feb 2019 23:01:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu89f-000721-9r for qemu-devel@nongnu.org; Wed, 13 Feb 2019 22:57:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gu7wL-00077Y-Mc for qemu-devel@nongnu.org; Wed, 13 Feb 2019 22:43:59 -0500 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:40950) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gu7wL-00072l-Bj for qemu-devel@nongnu.org; Wed, 13 Feb 2019 22:43:57 -0500 Received: by mail-pf1-x443.google.com with SMTP id h1so2340086pfo.7 for ; Wed, 13 Feb 2019 19:43:54 -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=cbskW479OhNUzyJNbm1VlQPK+6mCdYvQdwJmmMsXd+Q=; b=LCl+ylO6PbH9k5bY860RPQnrt57dxg0qBaRmREX3iYhTgfa9pCH7MFxQWgC7om83o7 boIn8uV+IBsxwiYo0pWqVQiDyjci9/SqDr94cBflTOx/KNFIpGY9/DSOIOd+vaayxgnC tbtloiH0CF5st5JAlead43XtL0+cz4cLagXdfD1Iv+Sf+uzZM6jnPf6kXiI/Lyg8YUEB 3z3/IPKf0rlJOzF6wmaPsAl6qTlCN1Zuu3vTDigmzgk//XFNxGFqvGTG3h4imXih4x7a SDeZFJSc5ZDYXfJLa9CocesK5O/xjNXy20DjNvz8L58BkqpKxx/Gqm4y0VgOIFwmyKWn PQVw== 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=cbskW479OhNUzyJNbm1VlQPK+6mCdYvQdwJmmMsXd+Q=; b=GRSrwYjU0u9pVtvfHtmsIX3356MpBqDmmVa8NiaShB8HcCcpKkSSJ7hzJpu6GsAjBu RoMxnJDyd88wLpV6/bqw4G03cBnwR8FlWQvh1t8LaPRw4iu+0HZa2jQLdAxdFGlYXmXI 5ByTcu+A8aTpGXCaAW1wJqhClNIqWQy3Kl9NCNpVZQmNHVqCeutns1i5mdxt2kAvXsQr tjC5X35qltDFuC0U2J2VbNvPVq6lV8pbg5ayuPSHYIOUl0cy5A/THCDKBAkDADVmfja4 zLvRttwJUgynHJf+y7pFkGoHwm8rNVvTRfA7yudEKvmc46khbfIWBrqWD38k8h+bohsL tC3g== X-Gm-Message-State: AHQUAubStKeLcqttl1sgzxa5909JlK6p73RQ0j4qrROTwetvEqPU3/tR ctX6pRnX6RDD6UvvLSTsg+wRB5zMOV0= X-Received: by 2002:a62:be0c:: with SMTP id l12mr1764171pff.51.1550115833004; Wed, 13 Feb 2019 19:43:53 -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 o2sm972713pgq.90.2019.02.13.19.43.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Feb 2019 19:43:52 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 13 Feb 2019 19:43:45 -0800 Message-Id: <20190214034345.24722-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190214034345.24722-1-richard.henderson@linaro.org> References: <20190214034345.24722-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::443 Subject: [Qemu-devel] [PATCH 4/4] 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, qemu-arm@nongnu.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 diff --git a/target/arm/cpu.c b/target/arm/cpu.c index edf6e0e1f1..f4aa6202f5 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2002,6 +2002,7 @@ static void arm_max_initfn(Object *obj) t = cpu->isar.id_isar6; 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 eff0f164dd..bffce337a4 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; @@ -345,6 +346,7 @@ static void aarch64_max_initfn(Object *obj) u = cpu->isar.id_isar6; u = FIELD_DP32(u, ID_ISAR6, DP, 1); + u = FIELD_DP32(u, ID_ISAR6, FHM, 1); cpu->isar.id_isar6 = u; /*