|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/arm: Set ThumbEE as not present in PFR0
commit 1ecb5946bdf8797d43ac6730c708bd105fdb0be4
Author: Bertrand Marquis <bertrand.marquis@xxxxxxx>
AuthorDate: Tue Dec 9 10:37:55 2025 +0000
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Mon Jan 5 10:33:03 2026 +0000
xen/arm: Set ThumbEE as not present in PFR0
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 <bertrand.marquis@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Tested-by: Luca Fancellu <luca.fancellu@xxxxxxx>
---
xen/arch/arm/cpufeature.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xen/arch/arm/cpufeature.c b/xen/arch/arm/cpufeature.c
index 1a80738571..94d14fb6a9 100644
--- a/xen/arch/arm/cpufeature.c
+++ b/xen/arch/arm/cpufeature.c
@@ -227,6 +227,9 @@ static int __init create_domain_cpuinfo(void)
#endif
domain_cpuinfo.pfr32.amu = 0;
+ /* Hide ThumbEE support */
+ domain_cpuinfo.pfr32.thumbee = 0;
+
/* Hide RAS support as Xen does not support it */
#ifdef CONFIG_ARM_64
domain_cpuinfo.pfr64.ras = 0;
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |