|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH] xen/arm: Hide Pointer Authentication (PAC)
Hi Vladimir, On 20/01/2021 11:27, Vladimir Murzin wrote: The ARMv8.3 Pointer Authentication extension is not supported by Xen at the moment, so do not expose that via ID register. Signed-off-by: Vladimir Murzin <vladimir.murzin@xxxxxxx> Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> --- xen/arch/arm/cpufeature.c | 6 +++++ xen/include/asm-arm/cpufeature.h | 38 +++++++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/cpufeature.c b/xen/arch/arm/cpufeature.c index 99fe4db28..1d8878380 100644 --- a/xen/arch/arm/cpufeature.c +++ b/xen/arch/arm/cpufeature.c @@ -187,6 +187,12 @@ static int __init create_guest_cpuinfo(void)/* Hide MTE support as Xen does not support it */ This unfortunately break the build on arm64 becase __res0 is defined twiced in the structure: oss/xen/xen/include/asm/cpufeature.h:251:27: error: duplicate member ‘__res0’
unsigned long __res0:8;
^~~~~~
The change is trivial, so I have resolved it (see change below) and
committed it:
diff --git a/xen/include/asm-arm/cpufeature.h b/xen/include/asm-arm/cpufeature.h
index 2baf7919615d..70cb67301f74 100644
--- a/xen/include/asm-arm/cpufeature.h
+++ b/xen/include/asm-arm/cpufeature.h
@@ -248,7 +248,7 @@ struct cpuinfo_arm {
unsigned long bf16:4;
unsigned long dgh:4;
unsigned long i8mm:4;
- unsigned long __res0:8;
+ unsigned long __res2:8;
};
} isa64;
Cheers,
--
Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |