Hi Bertrand,

> On 9 Dec 2025, at 10:37, Bertrand Marquis <[email protected]> wrote:
> 
> 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 <[email protected]>
> ---
> 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
> 
> 

This solves the issue I observed.

Reviewed-by: Luca Fancellu <[email protected]>
Tested-by: Luca Fancellu <[email protected]>

Cheers,
Luca


Reply via email to