[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 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 16:06:01 +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=1weL9yMtSMPOV11Zr/QJTa68jHae4k+udmN1bLikcF8=; b=WrhEpCHf/qAEDU64P0GshaKBp8kL+1AAKUm58mK7n6SfFmWnaduefQTrjjLdpWgN5MtsiiBUwnHsAIjYEMH7Q+OpEmjg37HmVm0pMMp4vVjI1ob0H0+3QbvdF/I0vcAus3dapVTXDAN0pg8gAxwJ+c340F3YaKFTqQQONOyFQH5YISAr9OuqU2h8blgR6riGt2OsNz9AHLEucXozAgPGEiQcKkjZj0TjDe+WKvwkVp1OMa2YsGQOHq9qpkoVo3ZZe5fJv8G86i0YlncLmUeeUhk+PSlVo3IHSzQ6dD+tHeNYJFqai0hEjEhMOuS8tsjgcoHaHnnZYCgRGa4cVeTiLw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gzz64irPaddXIiXYNMQXjTvcij7sdIzXR4+nrAlzrXlI3ELb38df3FT+Nh+4mmOi1iXXKa+L08IAWgSQ9rWh7yjxFw2s6pZQbScOxAFL893EadqesOz0lQO/CeNHyrnpxSB16hCKfK4DCJyhbBLWhmASwbGn7jKHfsDUH8qMPoJW49kvXeuDjnOAaVaeOljCxoJUUiNu1POGMDLqEE4A+ooOcNZZfvvgiegQ3L3srS/jIq8UiKf5Vfag+gib7X0xZpGU2/3kPu4q6GI/rkCoLRxiEIokGOnr0HXkfWWUsMu6jaow+F3+cmgKri0DBY89YXoyAmFYwHgdNaAGcqDNoA==
- Cc: <Andre.Przywara@xxxxxxx>, <Bertrand.Marquis@xxxxxxx>, <Penny.Zheng@xxxxxxx>, <Kaly.Xin@xxxxxxx>, <nd@xxxxxxx>
- Delivery-date: Tue, 25 Aug 2020 16:07:10 +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.
---
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
|