From patchwork Fri Sep 30 17:48:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 610950 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1663168pvb; Fri, 30 Sep 2022 10:52:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7o12FAWSH6jVeC3Mv9p6PFIPf77tSyEkt0BNTzaL+YBWHtqtEQiGHnNn5JaoYejTsTWcKn X-Received: by 2002:a05:620a:254f:b0:6bc:5763:de4b with SMTP id s15-20020a05620a254f00b006bc5763de4bmr6791966qko.207.1664560346535; Fri, 30 Sep 2022 10:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664560346; cv=none; d=google.com; s=arc-20160816; b=Fc2lwdyTPASVENkakamJDR5mOwTppgBpY3hauZdm+4v9GixauEnzl3cwo1WPNLxWyp jHb+9JolLJqFc/bVbbCourigtWwlUzVTYcuoKuWLyX8fzps65HeoUg8m/wQivcp1+Z09 MZKLPDnkZsZpYurwLQd+nR5R3ziCmFQQoJbqDaZDmH7b2JO+FScSV0LvTCi6GVWc6vax 2F7VMdXQHt+C58YDOGuTWRcx6fFYk7BTt5sBrCz98Jy+dCT9aODFePRtZKfRUApJfR3l ypVlfBBKIx44fufxGzfAlm744kDcoW7obHIQOhU0LqIz05g3pYJ0tQJHMwhkT3spZ4he Jbug== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=JteizUGVldF/G//thhaFP2LIcXVYHyYcFpQ3HMFZOSY=; b=0D/mnVuaOPjVbs9aNWRM+HgwtR7qhP/vJyVLaDoYNgYhg9R77AIGsNOd042Be1MIx4 Ob7ae3gMXM/6VDDN5WfoDhnh5zNKdS+LfYCEx5CYkYvIdiT73McUMUGZqIBcZOIP52Qc 0sKs7QvHySjYtnqg3wqRv/to4uXBEHtGNOyp7wQ0+8laQJn+J6rsbKO4iwi3frmMzsAL fXE0Gv/RKPJvohf8mhKQS2qSuSoKnYRlSOrjSEoKNa1LeCECxAQZisdAn+hRchTnBvDG 8zKVp2MrKK5NM7wNpqVUkWWtcsOrhshO3blTgzQlmEGjwgkT5qIXUU9r6dXLB8rqURrk 5N4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fQEFHskv; 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 kz10-20020a056214544a00b004ad1ff65311si1206881qvb.586.2022.09.30.10.52.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Sep 2022 10:52:26 -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=fQEFHskv; 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]:36192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeKBW-0002Cj-3P for patch@linaro.org; Fri, 30 Sep 2022 13:52:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeK8J-0002BY-Of for qemu-devel@nongnu.org; Fri, 30 Sep 2022 13:49:07 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:41634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeK8F-0006nt-Ue for qemu-devel@nongnu.org; Fri, 30 Sep 2022 13:49:07 -0400 Received: by mail-wr1-x429.google.com with SMTP id r6so7946258wru.8 for ; Fri, 30 Sep 2022 10:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=JteizUGVldF/G//thhaFP2LIcXVYHyYcFpQ3HMFZOSY=; b=fQEFHskvXR11wtJg1+e5Fj4oSzdcMRnLyn+HS9G6QstFOFCstQXcPcxo3SwoO6d0nG qB/6sHV8hrW12o8PkXKoBKmQEgcGEC3d+of1kQaXR92GH4yMM1EjRtzGUzaP2x3SlE8y 8oxgSOjhyQLfPsehHcDIzZD9kBEwyu1lX7Q6prwurps8DnrGfHTwHABiC9chWHuZaE+A wc/4vOuplrBbor6ubePxYx11VG/X2o2yLROlETsf8aMhcMrVqv7oOOaEksqEzk4UG88T 5cmKx2srHCHhLPaIXd7Wi0U+tyLG4B51BhIsMCmh+C7HjLKMOXj6Zb15UxEdIOig8nZ7 yJqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=JteizUGVldF/G//thhaFP2LIcXVYHyYcFpQ3HMFZOSY=; b=yeOgrVLv5/ldogJoxKUXKXGNQgd9Sf1tD5pe1BDZ1qi/45kW1OpEKv42COQ6c1cDlx A1oh+e5Cnb5CTwieN1ByglJzID77vg9C82ZEW+i5G8b4D3ouUzFzfZthP41EE5RuBCHU 5P4StN3rSYe3tND0hZzQyyVjNVR8vfw1+azg1RNIbyAlokJc5TT9wEOR9mLoGHau202a u4Y7AnHBYXvv8IHYgDeOgqztYSYnBJ5JXKclvouLNaIXkgBTIRHwEKA5Yk+fGJpcM7aU mYzpk/i67iTtAXBRV4Xh+HcCBa3GNF79htDVzbqhb75NYjzzvIeqcyfgKp3s7EWKtCeq /ukQ== X-Gm-Message-State: ACrzQf0S5Mv3urZr5exucNJ/C2Kl5WCtdjkHeQjdwCx/3j71zZkW2AFN wFk+qxP49g8ohN/nc48AFcA72hciDPxuJg== X-Received: by 2002:adf:ecc1:0:b0:22c:f296:1114 with SMTP id s1-20020adfecc1000000b0022cf2961114mr2938358wro.462.1664560141553; Fri, 30 Sep 2022 10:49:01 -0700 (PDT) Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id e16-20020a05600c2dd000b003b47e8a5d22sm7703541wmh.23.2022.09.30.10.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 10:49:01 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH 2/2] docs/system/arm/emulation.rst: Report FEAT_GTG support Date: Fri, 30 Sep 2022 18:48:53 +0100 Message-Id: <20220930174853.2233633-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220930174853.2233633-1-peter.maydell@linaro.org> References: <20220930174853.2233633-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x429.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=unavailable 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" FEAT_GTG is a change tho the ID register ID_AA64MMFR0_EL1 so that it can report a different set of supported granule (page) sizes for stage 1 and stage 2 translation tables. As of commit c20281b2a5048 we already report the granule sizes that way for '-cpu max', and now we also correctly make attempts to use unimplemented granule sizes fail, so we can report the support of the feature in the documentation. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson --- docs/system/arm/emulation.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/system/arm/emulation.rst b/docs/system/arm/emulation.rst index be7bbffe595..cfb4b0768b0 100644 --- a/docs/system/arm/emulation.rst +++ b/docs/system/arm/emulation.rst @@ -31,6 +31,7 @@ the following architecture extensions: - FEAT_FRINTTS (Floating-point to integer instructions) - FEAT_FlagM (Flag manipulation instructions v2) - FEAT_FlagM2 (Enhancements to flag manipulation instructions) +- FEAT_GTG (Guest translation granule size) - FEAT_HCX (Support for the HCRX_EL2 register) - FEAT_HPDS (Hierarchical permission disables) - FEAT_I8MM (AArch64 Int8 matrix multiplication instructions)