On latest Arm Cortex-N1/A76/A75 cores, Xen guests will encouter random
crash when they have wordloads. It's because Xen will ignore FP/SIMD
registers in vCPU context switch (see patch#1 for more details).
This patch set fix guest random crash on these new cores, and throw
messages when Xen detects known FP/SIMD features.
---
v3 --> v4:
1. Use open-code instead of new cpu_has_unknown_{fp,simd} macros.
v2 --> v3:
1. Improve the warning messages to give clear meanings
2. Fix typos
v1 --> v2:
1. Use "< 8" instead of "<= 1" to detect FP/SIMD features.
2. Give messages for unknown FP/SIMD features.
3. Fix typos.
v1:
https://lists.xenproject.org/archives/html/xen-devel/2020-08/msg00857.html
Wei Chen (2):
xen/arm: Missing N1/A76/A75 FP registers in vCPU context switch
xen/arm: Throw messages for unknown FP/SIMD implement ID
xen/arch/arm/setup.c | 12 ++++++++++++
xen/include/asm-arm/cpufeature.h | 4 ++--
2 files changed, 14 insertions(+), 2 deletions(-)
--
2.17.1