[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] 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>
---
 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 = 0;
 #endif
+    domain_cpuinfo.pfr32.thumbee = 0;
     domain_cpuinfo.pfr32.amu = 0;
 
     /* Hide RAS support as Xen does not support it */
-- 
2.51.2




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.