From nobody Fri Apr 19 11:16:25 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1570112824; cv=none; d=zoho.com; s=zohoarc; b=LIAeGEdsUSZd4oBxW7bKwj497mFqRj5+muv6TfHLzT5csDMRUBeZwUESkIEfGsdO668H13ntqkZtzLZWljei2uoRsthEjK1sZylJx17ms13AsMKU5CQvhRC+j5aDfSOOfVmKB6cFY01soIukNoaX13dUVMjIIOK/HE2z5EVt4/g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570112824; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=t9sMM3/6I2ECvCS3omn0ABg0vCVAK7moq7Xx3hWWZUc=; b=nDM3k7gtWwN/66ltNwPZPSFI6ifQXWgehuD4cYZUbS7Fq/ALcf36TKLnHqqE2QRpIsJ7bN9cblGiU0r+CBZXXArMkk+4j3VUNBBWrSOOZ/rJ/oY7ibPMkzIf5mXx/WQcwyMghVbLqQFAGZx0L+mpUTFHWjb/wqcJHwpUOsK4erg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1570112824426543.0789246115237; Thu, 3 Oct 2019 07:27:04 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iG23M-0007J8-HX; Thu, 03 Oct 2019 14:26:00 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iG23L-0007J3-4D for xen-devel@lists.xenproject.org; Thu, 03 Oct 2019 14:25:59 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id b704f19c-e5e9-11e9-9bee-bc764e2007e4; Thu, 03 Oct 2019 14:25:57 +0000 (UTC) X-Inumbo-ID: b704f19c-e5e9-11e9-9bee-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1570112757; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=awPnh9Uqk+60nTpp7Xb+4vIJ6IYShBEhQ5MIOa6nqmU=; b=dwb/0o24B+vVxUtBet3Ejz3NqrvBBzC1M4meNfRY3MgLtcdRGzqg0Wzh HlOdCsC1rABxtgVULDfyxizmfDSHqbbIDX4PaOLQ6pBGk5OaEWos3171n y2P4gnoTG17J4E9okEYSzcjUoL2rOox7VyBPhEm/XyopQv38oyqusP+b2 0=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=andrew.cooper3@citrix.com; spf=Pass smtp.mailfrom=Andrew.Cooper3@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of andrew.cooper3@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="andrew.cooper3@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa6.hc3370-68.iphmx.com: domain of Andrew.Cooper3@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="Andrew.Cooper3@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa6.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa6.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 6P8mQPUeGd3NXml685AXPr5gDH1Nl4xdUmjTBNZN3eBr2/I1zDbUdarv1m7XYyS1Ose3fO6gWz rq3v87n4RPYx7P4Hz9lkksUGwwza5BHH+2Ap/oXhYMUD4ioBzO70H0i1Hye8XJeMis5JTktwfU R7hm5d2jj+sDOaF8ASzj3GXJFwnOylFj3NtUv7Mbfu/s7p6pmkubpPncAXdt5c4UXmpprFzclH RHVaIMfCPAEaqvA0se9ISFsNvsmhHC17hP6Lgz/ncUTEJrTDQ2Lw/oAHjzHqFqRqbbRGtBOyxX OEI= X-SBRS: 2.7 X-MesageID: 6718917 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.67,252,1566878400"; d="scan'208";a="6718917" From: Andrew Cooper To: Xen-devel Date: Thu, 3 Oct 2019 15:25:44 +0100 Message-ID: <20191003142544.16323-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH for-4.13] x86/spec-ctrl: Annotate remaining model names X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Andrew Cooper , Wei Liu , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The names in retpoline_safe() are copied from should_use_eager_fpu(). The names in mds_calculations() come partly from Linux's intel-family.h, and partly from conversations with Intel. Signed-off-by: Andrew Cooper Acked-by: Jan Beulich --- CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monn=C3=A9 CC: Juergen Gross Only comment changes. 0 risk for 4.13 --- xen/arch/x86/spec_ctrl.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c index 4761be81bd..731d5a767b 100644 --- a/xen/arch/x86/spec_ctrl.c +++ b/xen/arch/x86/spec_ctrl.c @@ -505,13 +505,13 @@ static bool __init retpoline_safe(uint64_t caps) /* * Skylake, Kabylake and Cannonlake processors are not retpoline-s= afe. */ - case 0x4e: - case 0x55: - case 0x5e: - case 0x66: - case 0x67: - case 0x8e: - case 0x9e: + case 0x4e: /* Skylake M */ + case 0x55: /* Skylake X */ + case 0x5e: /* Skylake D */ + case 0x66: /* Cannonlake */ + case 0x67: /* Cannonlake? */ + case 0x8e: /* Kabylake M */ + case 0x9e: /* Kabylake D */ return false; =20 /* @@ -842,10 +842,10 @@ static __init void mds_calculations(uint64_t caps) case 0x4c: /* Cherrytrail / Brasswell */ case 0x4d: /* Avaton / Rangely (Silvermont) */ case 0x5a: /* Moorefield */ - case 0x5d: - case 0x65: - case 0x6e: - case 0x75: + case 0x5d: /* SoFIA 3G Granite/ES2.1 */ + case 0x65: /* SoFIA LTE AOSP */ + case 0x6e: /* Cougar Mountain */ + case 0x75: /* Lightning Mountain */ /* * Knights processors (which are based on the Silvermont/Airmont * microarchitecture) are similarly only affected by the Store Buf= fer --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel