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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <sstabellini@xxxxxxxxxx>, <julien@xxxxxxx>
  • From: Wei Chen <wei.chen@xxxxxxx>
  • Date: Tue, 25 Aug 2020 10:08:45 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=bestguesspass action=none header.from=arm.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W5ZR/LjBGBY1rKi+kfmowQr0nL4cU+Hyz8aX0ZP8Lk4=; b=N5RX1x4XiG1Opvlhylnxxq/oFJ+xnZ+AQGt8PZnP7gW/dNO5MME2hMSsqDU4drmA4qVeAsnwQ6YzoevrwZTmXWJi2HhO4jMen1SYYLo5y8G35TYFCJPC3uiJKyt4FllmBNKGwiQ+Vul85Ag1w6XYunCt6AuIK8WvPj/Pg8yvHbmhvDtNe8QiWZTxRoZdeX8SNKdYXN1mvGXmFbRpGpOdK2DYkVkaARCCuxUIcQnzCiqUvKLStl/VFlhWXgsJ1x8QYYJoCtx0TbBUZ/sETKig9b4MCfWyvrRpbURHDR9ttBcpMZlvuMM8Q1LzZqhZuA7Z1hdEIqh7eLzSUXHmAgPbTg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J1oDgl9oZnGlXtUJzlRnPJpZq+deDEWgTTwhDZqOmkgD/DCUw88uJ6UR3nnYRUtnKFff9+evPjOk2RdK2RaRzlAPHGHcvlPlGWjiRiPRqoP5Zm/PQKikJOqJFhKs3qLgRrYmVLnPgDxiZCUEmzzF5Y1hK4hBu5a/TzVOuFBBI9fBednCyLs+LQC7opsGp0Y2mh2wsvu54i1qkMyJF9KTpyHF8hIMvkuAU0E1OrtZ/zZv88mgnAoH8KJFfRCmJ8Wd8Q/KjxRC8MRg1L23zQ+O12IBc9uuH7gmUB7K+A0e92rFpJsVurQIIsn/u2MytjLPkQbfcPPC0K+aRsBaY7hdmA==
  • Cc: <Andre.Przywara@xxxxxxx>, <Bertrand.Marquis@xxxxxxx>, <Penny.Zheng@xxxxxxx>, <Kaly.Xin@xxxxxxx>, <nd@xxxxxxx>
  • Delivery-date: Tue, 25 Aug 2020 10:09:34 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true

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.

---
 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 |  6 ++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

-- 
2.17.1




 


Rackspace

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