From patchwork Thu Apr 18 15:19:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 789785 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp622893wrm; Thu, 18 Apr 2024 08:21:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXVBh3QyFODdDvPVIlJDeVYgI0FV/eqOdxxWnQueOKk4Fz4IeQnKuNui/WmVOhiw2UtoJ7vyvcuMaAXWA7SiUdo X-Google-Smtp-Source: AGHT+IHHbt/3cPGESnyL20Tc1mdoCUnnwJZjQgq5QbkZoQsG5dj5tCLLf+KAh152y1J+rZetek0x X-Received: by 2002:a05:6214:11a5:b0:69b:70d8:c753 with SMTP id u5-20020a05621411a500b0069b70d8c753mr3965389qvv.6.1713453695649; Thu, 18 Apr 2024 08:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713453695; cv=none; d=google.com; s=arc-20160816; b=eJwhPWNPYKG463cDzjrEJ4NAydtPI39lmcK37fN7Ne8Tf10XcHnR+eQOHpYoU+o98n /VePrAzpmXjD2Gmlyiav5gQJytT6GACEgx+SW9fCCMynZil6CQfXFZhY073Crg++W1G5 5P7C4LE+vCwH+hBGz7RBkrNBctxroJkARBl6JmfAtVnyJptZ22sTzZmoHmqnHc/VvNRy a6r3EM/tzdFmYibe6PSouH9SMLyJhhhh9r+bVu4djN2TixDWT7E2ngJUrYpNEzR2koZ2 sTiNTThHnwjYGvPUYf0enSC11jsjWXUsOJfIvfsEwAn5FxEkfHyBR3Dk99az59Rfwqm1 qNdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=gPIaBM3QM8McnGpdq3qblSpqrPodIkBgwRVjsR+0/1E=; fh=zmS/aL7vo3kWXlsevM9dB+EXUjZZskjNurnOnzW/WVM=; b=vxXqKOnHuw6JSHX3F420bxrKTCC39G90hb9PQC6lzvP9I8kcRHEaFb79Qr/NFMbaXn u8ExvoIkn08R+osnZYShkq0gA8hbRc/hPdOf+c4P6v6TnsguJ7UreubqF28UOIXgeDeE Ssy13ALchYNaWAEIcnaH61FDAruVOhx/j7BDOlInfewEtFFS8e3PGc4ytLXAChiwDzyc YnRSD4h1Y27gfc4T/2YpTm9Te+VpOk+538dUtP6fRC1kAYFpltnKPVKFyJcvoHMaZrtc DjVizfZdZ0wASFCDRb9e0NRlpkx53cCjo63ewW2l2/SXBN/Mri3UCh5cwkzPMjM7jONf Lgbw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YTxnwxx7; 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=pass (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 gv7-20020a056214262700b0069b5d5267e3si1746940qvb.49.2024.04.18.08.21.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Apr 2024 08:21:35 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=YTxnwxx7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxTYj-0003Ff-QP; Thu, 18 Apr 2024 11:20:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxTYg-0003Dm-KE for qemu-devel@nongnu.org; Thu, 18 Apr 2024 11:20:18 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxTYV-0004Th-L0 for qemu-devel@nongnu.org; Thu, 18 Apr 2024 11:20:13 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-418bbc690e1so8579335e9.2 for ; Thu, 18 Apr 2024 08:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713453606; x=1714058406; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=gPIaBM3QM8McnGpdq3qblSpqrPodIkBgwRVjsR+0/1E=; b=YTxnwxx78og9nHusPZmZEh7dW8Ttskztk/VdBSKYAHovY4eJxA3KdNu/0yaWFbWgcF sc27sfyxdVPJ1R1rbCBgAj8QOIcJjLpp3YRc0HZMSTypFIrueXSxQ3y5NA0ZTZRt2nBE h6GZVUA0fsUeDtHPQbSJfBoPJXW5D/gv+p/jen/zl3ZubapspVd+DjPIq98h0SlSKk3b 0+IWEi/mcKxYmDCWixZVyrDPSe+UsPE0769wtdnwMoY7QrweYuDjTVOwJTZI+fugSJE1 mDO8PeDGKDjGYCsS53f9VO9FqaAP3nJnGzxFrhneV4AGQHWJQ1M7zzLQsqsERGbb8+nY 3zsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713453606; x=1714058406; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gPIaBM3QM8McnGpdq3qblSpqrPodIkBgwRVjsR+0/1E=; b=cY7fnB0Htie2qTKAYd2/DOryzhUSM4iPGWQf4m21b7r2k5qrTgXOyiCVkchgVP/mrU SdfEXcB5zpWziF2C9lrXzFxv+HoZZXliSuxk18+RfIxUonvoVfYVKX1WbViC1RwLE3Sc /SZTupWGGn+PCHayBxm8To/fLQPB9hQLDu5iRmbE+9lR59zBV7P04YjnvK0f61X4c4+c 7ZkBiw8x9KyUG+Ny4WlHzk71q5sdnKkpaOSe6bQd7nuxDO5I6ysjSkn37puYfkA15n6B yzeWDBaot8y3FJacQGODpBOLN6y79e6KHbWRIs6rlpfvIZl+7mlvzmArxRIkeDKiKhjg ejKA== X-Forwarded-Encrypted: i=1; AJvYcCWDenCkTRh9Y3JqLgSbTkfQupeRgWdQMrFGZebGnAUfn5+cMV3KKxTbuPH/LOpKfo3JeygK9bXcHA5pOxmNh8epeSHhtlI= X-Gm-Message-State: AOJu0Yys1yZ4YMcrJVwouTpyvblea+BZ1jL4R5yEV5ujwrfZExEJEe3h B5UI+v7ee4/zQvHZCU4yRZY6WmGcXa8jFf16UKiMraQKNcmY6svuRbCmY6sDxRovXov7avCkQbD p X-Received: by 2002:a05:600c:a004:b0:416:bc18:2a00 with SMTP id jg4-20020a05600ca00400b00416bc182a00mr2310119wmb.38.1713453605638; Thu, 18 Apr 2024 08:20:05 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id w17-20020a05600c475100b004162d06768bsm6886839wmo.21.2024.04.18.08.20.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 08:20:05 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH 0/5] target/arm: Update emulation.rst, add some easy features Date: Thu, 18 Apr 2024 16:19:59 +0100 Message-Id: <20240418152004.2106516-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org As of version DDI0487K.a of the Arm ARM, some architectural features which previously didn't have official names have been named. Mostly these are features which we thought of as part of baseline 8.0 support. For SVE and SVE2, the names have been brought into line with the FEAT_* naming convention of other extensions, and some sub-components split into separate FEAT_ items. This patchset updates our list of supported features in emulation.rst to add these. The audit also caught a few cases (eg FEAT_CCIDX, FEAT_DPB2) where the omission from our list was just an oversight. I've also included a few patches enabling "basically no-op for us" features: FEAT_CSV2_3, FEAT_ETS2, and FEAT_Spec_FPACC. (The latter does require us to put in the handling for ID_AA64MMFR3_EL1 as a real ID register rather than an always-zero reserved sysreg.) thanks -- PMM Peter Maydell (5): docs/system/arm/emulation.rst: Add missing implemented features target/arm: Enable FEAT_CSV2_3 for -cpu max target/arm: Enable FEAT_ETS2 for -cpu max target/arm: Implement ID_AA64MMFR3_EL1 target/arm: Enable FEAT_Spec_FPACC for -cpu max docs/system/arm/emulation.rst | 41 ++++++++++++++++++++++++++++++++--- target/arm/cpu.h | 17 +++++++++++++++ target/arm/helper.c | 6 +++-- target/arm/hvf/hvf.c | 2 ++ target/arm/kvm.c | 2 ++ target/arm/tcg/cpu32.c | 2 +- target/arm/tcg/cpu64.c | 10 ++++++--- 7 files changed, 71 insertions(+), 9 deletions(-) Reviewed-by: Richard Henderson