From patchwork Tue Oct 13 03:02:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Druzhinin X-Patchwork-Id: 11834921 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A118109B for ; Tue, 13 Oct 2020 03:04:55 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC37020757 for ; Tue, 13 Oct 2020 03:04:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="BNojE2AH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EC37020757 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.6081.15965 (Exim 4.92) (envelope-from ) id 1kSAbK-0000F0-FD; Tue, 13 Oct 2020 03:03:46 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 6081.15965; Tue, 13 Oct 2020 03:03:46 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kSAbK-0000Et-BI; Tue, 13 Oct 2020 03:03:46 +0000 Received: by outflank-mailman (input) for mailman id 6081; Tue, 13 Oct 2020 03:03:44 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kSAbI-0000Em-Os for xen-devel@lists.xenproject.org; Tue, 13 Oct 2020 03:03:44 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 27ce39d8-7ebc-4fb4-9f47-b6e6e309afee; Tue, 13 Oct 2020 03:03:43 +0000 (UTC) Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kSAbI-0000Em-Os for xen-devel@lists.xenproject.org; Tue, 13 Oct 2020 03:03:44 +0000 X-Inumbo-ID: 27ce39d8-7ebc-4fb4-9f47-b6e6e309afee Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 27ce39d8-7ebc-4fb4-9f47-b6e6e309afee; Tue, 13 Oct 2020 03:03:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1602558223; h=from:to:cc:subject:date:message-id:mime-version; bh=O/mYe4btk6iL4cQRCK515PsmgpCt8gACdxAma4JiMfQ=; b=BNojE2AH4vzfOz3qzMG5JDItz8d3gOzr3b+l6WYFCTNJA2embfv5UsIl Kcl5C/5ECM1NIswuDVOmxnTd0fGvrT8HhNb6XlfWpzuDhD+qCCsHW5wyd tjowjWGE9O/OuIeBB/lWoQH4WAJsgEcBZwq3iy4pVZypaJ3JHJYJMKtgc 4=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: cgHnYjnvSKBhweVppumowKMMFABWv8H6ulgkTl4OSbohxpERRkFlnWEiWOhuf7dbgstbxrHCmN NMgCi26sn50Qefhv8OWuv0T6uesJ35HqXvU01xZOYqmkcPmo7OuQNYAqUAU94ZPeB2Y07Q2+HT LbF2QFQSJDxwOwoysZONUvZ9BACzxnul2/AFVABttr2AJVAdc1sU54Frfk2J/7G7vYVay3sNvS +hhbyc+CUM1wFbIN7Ezjhx+4pk6lakyQCeow0VfUZzCQ2lEDFtO921XeecN4lnKlzJiVcYigNi gOE= X-SBRS: 2.5 X-MesageID: 28851031 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.77,369,1596513600"; d="scan'208";a="28851031" From: Igor Druzhinin To: CC: , , , , , , "Igor Druzhinin" Subject: [PATCH 1/2] x86/intel: insert Ice Lake X (server) model numbers Date: Tue, 13 Oct 2020 04:02:48 +0100 Message-ID: <1602558169-23140-1-git-send-email-igor.druzhinin@citrix.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 LBR, C-state MSRs and if_pschange_mc erratum applicability should correspond to Ice Lake desktop according to External Design Specification vol.2. Signed-off-by: Igor Druzhinin --- xen/arch/x86/acpi/cpu_idle.c | 1 + xen/arch/x86/hvm/vmx/vmx.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/acpi/cpu_idle.c b/xen/arch/x86/acpi/cpu_idle.c index 27e0b52..7ad726a 100644 --- a/xen/arch/x86/acpi/cpu_idle.c +++ b/xen/arch/x86/acpi/cpu_idle.c @@ -183,6 +183,7 @@ static void do_get_hw_residencies(void *arg) /* Ice Lake */ case 0x7D: case 0x7E: + case 0x6A: /* Kaby Lake */ case 0x8E: case 0x9E: diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index 86b8916..bce8b99 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -2429,6 +2429,7 @@ static bool __init has_if_pschange_mc(void) case 0x55: /* Skylake-X / Cascade Lake */ case 0x7d: /* Ice Lake */ case 0x7e: /* Ice Lake */ + case 0x6a: /* Ice Lake-X */ case 0x8e: /* Kaby / Coffee / Whiskey Lake M */ case 0x9e: /* Kaby / Coffee / Whiskey Lake D */ case 0xa5: /* Comet Lake H/S */ @@ -2775,7 +2776,7 @@ static const struct lbr_info *last_branch_msr_get(void) /* Goldmont Plus */ case 0x7a: /* Ice Lake */ - case 0x7d: case 0x7e: + case 0x7d: case 0x7e: case 0x6a: /* Tremont */ case 0x86: /* Kaby Lake */