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

[PATCH v2 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: Mon, 24 Aug 2020 03:28:23 +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=ywALeRVakL8xEn/iUPHQaTWq9eX9MYOqqTgVTlXbl/0=; b=Cb/mY4YOzIxpgKwlzzE/Vkz88TkmJoS2+p8jwHEG61lYRCglQkxO8hW6pt1ExiUujgE31IF14PID9+uJ3/i5OXWAk/D+2aDaXuWI0lJSnfAnF7XThxoFZWK81uNgdOeKklB9lelIOGbcN5WNlp0+M0iTEaY1IbWpr0k54Ocj7jcrGZeB5rv6JTHb8SDRJcDQ8w31BM8hYERbUmju8kwajwoyjhKGnTgqXwycNvgfUMNU/KLuclPRRtHOOjw3gXQHLn7Xl9L2JC8rRP8mpT1UEZy5hzIWNFBFL1EQPVE/0uW/6Tt4+12MnKL/lCPYCvzvHnEZ25K+Xvh30IIRE5pUjA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LjvP7fcjwXgktYEVumMcdAwiK+Xt2zFmAI462q7nFiA6rtEPC/iLdtEWY2zeO9SD53nkrysRe2eO1+Np7YdUSJVQxUH3BFX3UxkTOXfQXypf1lUzf21PelAePmHoo4qPI2MFveM06wCMAXaHkjcE2O5kcR5xB01c76Qe7wwFeM7v/oySENeBQb9v7zlqK6cN4wqwEYMhZ96afxBR0nxkV904ynyID5GvPBI+QSctCvlgmYDwvlH93JPHVp8n5ckuataXDLiNB2YYx0mn19+wFNle5SHrbAG0OmvwHoiHmMOoWoaoKwrM4A7YfX6UAP+jjCYZ8kCnm6VVXz1lhp9UUw==
  • Cc: <Andre.Przywara@xxxxxxx>, <Bertrand.Marquis@xxxxxxx>, <Penny.Zheng@xxxxxxx>, <Kaly.Xin@xxxxxxx>, <nd@xxxxxxx>
  • Delivery-date: Mon, 24 Aug 2020 03:29:09 +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.

---
 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             | 26 ++++++++++++++++++++++++--
 xen/include/asm-arm/cpufeature.h |  4 ++--
 2 files changed, 26 insertions(+), 4 deletions(-)

-- 
2.17.1




 


Rackspace

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