From nobody Fri Dec 12 19:32:35 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=arm.com Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1765276706130908.219956102433; Tue, 9 Dec 2025 02:38:26 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1181388.1504439 (Exim 4.92) (envelope-from ) id 1vSv6d-00022I-Jg; Tue, 09 Dec 2025 10:38:07 +0000 Received: by outflank-mailman (output) from mailman id 1181388.1504439; Tue, 09 Dec 2025 10:38:07 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vSv6d-00022B-H4; Tue, 09 Dec 2025 10:38:07 +0000 Received: by outflank-mailman (input) for mailman id 1181388; Tue, 09 Dec 2025 10:38:06 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vSv6c-000225-AR for xen-devel@lists.xenproject.org; Tue, 09 Dec 2025 10:38:06 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id 2400a3d9-d4eb-11f0-9cce-f158ae23cfc8; Tue, 09 Dec 2025 11:38:04 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CE4C71691; Tue, 9 Dec 2025 02:37:55 -0800 (PST) Received: from C3HXLD123V.emea.arm.com (unknown [10.1.35.135]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2C7373F740; Tue, 9 Dec 2025 02:38:02 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2400a3d9-d4eb-11f0-9cce-f158ae23cfc8 From: Bertrand Marquis To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , Julien Grall , Michal Orzel , Volodymyr Babchuk Subject: [PATCH] xen/arm: Set ThumbEE as not present in PFR0 Date: Tue, 9 Dec 2025 10:37:55 +0000 Message-ID: X-Mailer: git-send-email 2.51.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1765276708067158500 Content-Type: text/plain; charset="utf-8" Force ThumbEE support to not available in the version of the PFR0 register value we present to guest. Xen does not support ThumbEE and will trap all access to ThumbEE registers so do not report it being supported if the hardware supports it. Fixes: 5bbe1fe413f9 ("ARM: Drop ThumbEE support") Signed-off-by: Bertrand Marquis Reviewed-by: Luca Fancellu Reviewed-by: Michal Orzel Tested-by: Luca Fancellu --- xen/arch/arm/cpufeature.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/arm/cpufeature.c b/xen/arch/arm/cpufeature.c index 1a80738571e3..4cde208e721a 100644 --- a/xen/arch/arm/cpufeature.c +++ b/xen/arch/arm/cpufeature.c @@ -225,6 +225,7 @@ static int __init create_domain_cpuinfo(void) #ifdef CONFIG_ARM_64 domain_cpuinfo.pfr64.amu =3D 0; #endif + domain_cpuinfo.pfr32.thumbee =3D 0; domain_cpuinfo.pfr32.amu =3D 0; =20 /* Hide RAS support as Xen does not support it */ --=20 2.51.2