Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E9ABC531CC for ; Fri, 24 Jul 2026 03:07:32 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wn6F1-0003m6-HJ; Thu, 23 Jul 2026 23:06:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wn6Ez-0003kU-Ds for qemu-arm@nongnu.org; Thu, 23 Jul 2026 23:06:25 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wn6Ey-00085W-0V for qemu-arm@nongnu.org; Thu, 23 Jul 2026 23:06:25 -0400 Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-382ef647e20so1385992a91.1 for ; Thu, 23 Jul 2026 20:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1784862382; x=1785467182; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=vZ3wJDJYBL3Ih5BppqGHeGHu7Wqrcj0x1UTiHapnNLU=; b=CIZoLbS+7WnxJkQ5tEOLmRvCDEbceyn1YyuG+OGlH79ZaGeWlKMo+aO7diXvQFJr+W g7ALZ/EpfIgrBo2hr59NFYCs9YAoIWu1cmr6syCRcPE8mVHNkq8pIlpdGy+2kgqp5oAJ vZPXXm2sbjXjVg2qrQpja/noqii/MdcjOdc9jPTPacBPAWvt1Tn043BpXUMuKiFzfLME uoCfNkndrV6DvGfC2uG+agK0LarXcKiAerNnnKvJ3HnYLBNSgvXjTsH/PX1jTNzePlQp AF0S9Bhq/9MGGOgdI9vjsiJTUsWIhye2YnvNzcbn/uRKd1WTB18hHKu8Z0io3xJ695BE g0YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784862382; x=1785467182; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=vZ3wJDJYBL3Ih5BppqGHeGHu7Wqrcj0x1UTiHapnNLU=; b=LUqAG4768zi1Pbwl+WrTPXhqOUr/uhHIKUWRsElbJHgJQrwQad/F0X+e8HKYPeSGFj V7EJHo+XoB7HP5Wv8ijvIVoE5BVtGJykeo+8YZbAFlNwSQWVdKaN16X+KBzJElFgaNkG 1M8r4px6yJEODnTDyEhhTZHNodRWlmyDVb7zjC8fcG6yJbjuTYU43oAj8L4QtGpaS8MF 6Uy3hUueFhWmzU8/48sV2SgVZlx90u9jkx9TH8sYJJC6Fv3LCQLi7PEdba1OhNoQjFSd msWLiuuH9U331lS1cf2+6DMIOKNAUQT50AXnHQJz41bN4XcdNLMpjiYJj9xK8bhTWPLJ CGUQ== X-Gm-Message-State: AOJu0Yzn5Q/bHQvcBzZ6id1VjUzXShjuDXUsYaKbJned2rZE9ZGTQd9m VzEXN4MARNjX5RXkEcqm0rIvccs/q39d/jgTLxaGK/fMdRbeL3kzDhPWBDRaYFswmOQ= X-Gm-Gg: AR+sD13IOs3dG94FkF33P+WZA5hNw3ZoXau5IjzPqtDfDsxSuHxlG/rT6ZrSE5G0qhB zJmSTLznd4fQcsN8wXJaCMvnkjoY5HnadvM5Gim0WT/zyjQbvOtZrYIJa0pQOBzjjpsrljlagDu haV5miQd8UDz4/zfQIaUzs0q1GS3OChDuk3w/5jf1E2mu6LEf8Cp263xZQt3GwImH8cund4t5KF OFQaQCnvagjALjzXyW0a1GfimKvJzmZPVUAM/rltkc7TMZxmsZYY/lhMuQm/MhkDrFL7EWwqDhJ Qog4Xzf4LLN+vMqmTh66oT084/WIlpXtDVAvGIry9oGcgc926I3kIOnTicBX8RNrbhwMJh/NHz/ 0KFgm9l15oQXXJIUYukYhnX037Q9QL5YQAOC1qdoZqaEbH1o9Z0754+XKzydx3jdP0iIEjYc8+6 /pMAUj+WDckMMgUvuHLxOXwKx5VEG6tO7aIQ== X-Received: by 2002:a17:90b:4ad1:b0:38e:11ba:992e with SMTP id 98e67ed59e1d1-38ec663d91emr5507518a91.35.1784862382578; Thu, 23 Jul 2026 20:06:22 -0700 (PDT) Received: from stoup.. (174-21-93-59.tukw.qwest.net. [174.21.93.59]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-38f03ad0e0csm750777a91.7.2026.07.23.20.06.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2026 20:06:22 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 6/6] target/arm: Enable FEAT_FGWTE3 for -cpu max Date: Thu, 23 Jul 2026 20:06:16 -0700 Message-ID: <20260724030616.76180-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260724030616.76180-1-richard.henderson@linaro.org> References: <20260724030616.76180-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1031.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-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Signed-off-by: Richard Henderson --- target/arm/tcg/cpu64.c | 1 + docs/system/arm/emulation.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/target/arm/tcg/cpu64.c b/target/arm/tcg/cpu64.c index 8a3ebf6321..a0d8d0bac8 100644 --- a/target/arm/tcg/cpu64.c +++ b/target/arm/tcg/cpu64.c @@ -1362,6 +1362,7 @@ void aarch64_max_tcg_initfn(Object *obj) t = GET_IDREG(isar, ID_AA64MMFR4); t = FIELD_DP64(t, ID_AA64MMFR4, ASID2, 1); /* FEAT_ASID2 */ + t = FIELD_DP64(t, ID_AA64MMFR4, FGWTE3, 1); /* FEAT_FGWTE3 */ SET_IDREG(isar, ID_AA64MMFR4, t); t = GET_IDREG(isar, ID_AA64ZFR0); diff --git a/docs/system/arm/emulation.rst b/docs/system/arm/emulation.rst index 9930974a50..9528afbb18 100644 --- a/docs/system/arm/emulation.rst +++ b/docs/system/arm/emulation.rst @@ -78,6 +78,7 @@ the following architecture extensions: - FEAT_FAMINMAX (Floating-point maximum and minimum absolute value instructions) - FEAT_FCMA (Floating-point complex number instructions) - FEAT_FGT (Fine-Grained Traps) +- FEAT_FGWTE3 (Fine-Grained Write Trap EL3) - FEAT_FHM (Floating-point half-precision multiplication instructions) - FEAT_FP (Floating Point extensions) - FEAT_FP16 (Half-precision floating-point data processing) -- 2.43.0