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

[PATCH 2/2] xen/arm: Enable CPU Errata 1165522 for Neoverse


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • Date: Tue, 18 Aug 2020 14:47:39 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=lvmWqXs3SisNMiyySvdute+TsnHGwvEDQ5mePCpbMeQ=; b=BJ7hhomfiaq5HPIVvW845D5E92ETeoJXqTtYwU3iu0Tgq6UjzRw9Abb3h5RFAANNK5/ABGiKSGsqefQDffauVFm8ZckY5gjMMMgWe5e1WrW6h1sigSTWPE+YZ3yqwxf1WWgyoL4L3xRLs2IivM5M2ICPN0AWuCAuIbwzRo5tR2q8uB+0n34WwiaHEKYGKpuwfWD2qqnta6T3K4z6Tyb5aQsVpbvhcTxii2lwRRyouWW0IMyN24hJZcnbD7RmG+bCZqZIii0CGh9sr8EBFllCmnXu6FFtyCllrIo9I7+Ujuqm6uaiNOi8JribYeQEaB2C7H26HtFJVN73kR+UrxvVPQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R1QLzF8pnAv16pJ2h/PayNqocxAEv2rsu2SDl594wFaB0eP5w/n/DBjBi4BvSg3OJ+lFftJ+6RybVGsRS8pulXkdZmSlbncGRvf7FUroqO2lspeZpciDOsTj8c7M+OZ+1dqtCG/bSCH/pXYDM7BpI9qkHESz2wnjqUCL6m3nJBDAUkZPT00eeTU/l7mEXYgkhM9a44G2vQVcDMYYdNH+LWApuUWeaf+OQpMCKeS76Gs6HmALgbjNW/rm7mSQ6AkNC8kZwPzpSBHr/IIdVNurwOVfRztIvajGHRGbLoQA81T6/G5xby7TmQasSKRYNyTQqTSqRWJ52B9RIk8cr9Qs+A==
  • Authentication-results-original: lists.xenproject.org; dkim=none (message not signed) header.d=none; lists.xenproject.org; dmarc=none action=none header.from=arm.com;
  • Cc: nd@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Wei Chen <wei.chen@xxxxxxx>, Andre Przywara <andre.przywara@xxxxxxx>
  • Delivery-date: Tue, 18 Aug 2020 13:48:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=arm.com;

Enable CPU errata of Speculative AT on the Neoverse N1 processor
versions r0p0 to r2p0.
Also Fix Cortex A76 Errata string which had a wrong errata number.

Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
---
 xen/arch/arm/cpuerrata.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/xen/arch/arm/cpuerrata.c b/xen/arch/arm/cpuerrata.c
index 0248893de0..6c09017515 100644
--- a/xen/arch/arm/cpuerrata.c
+++ b/xen/arch/arm/cpuerrata.c
@@ -476,9 +476,15 @@ static const struct arm_cpu_capabilities arm_errata[] = {
         .matches = has_ssbd_mitigation,
     },
 #endif
+    {
+        /* Neoverse r0p0 - r2p0 */
+        .desc = "ARM erratum 1165522",
+        .capability = ARM64_WORKAROUND_AT_SPECULATE,
+        MIDR_RANGE(MIDR_NEOVERSE_N1, 0, 2 << MIDR_VARIANT_SHIFT),
+    },
     {
         /* Cortex-A76 r0p0 - r2p0 */
-        .desc = "ARM erratum 116522",
+        .desc = "ARM erratum 1165522",
         .capability = ARM64_WORKAROUND_AT_SPECULATE,
         MIDR_RANGE(MIDR_CORTEX_A76, 0, 2 << MIDR_VARIANT_SHIFT),
     },
-- 
2.17.1




 


Rackspace

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