Skip to content

Fix Guest random crash on Cortex-N1/A76/A75 cores

Wei Chen xen-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyIn review
  2. v42 patches 3 repliesSuperseded
  3. v32 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches8 repliesSuperseded
v11 patch11 repliesSuperseded

Changes in v5 from the cover letter

1. Fix typos.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/arm: Missing N1/A76/A75 FP registers in vCPU context switchxen/include/asm-arm/cpufeature.h+2 -20 replies
2/2xen/arm: Throw messages for unknown FP/SIMD implement IDxen/arch/arm/setup.c+12 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBertrand MarquisJulien Grall
1/2R-b R-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] Fix Guest random crash on Cortex-N1/A76/A75 cores

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.

---
v4 --> v5:
1. Fix typos.

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(-)
Signature · 1 line
2.17.1