From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.6748.1606979341106083787 for ; Wed, 02 Dec 2020 23:09:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=B32VhTrP; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: eric.dong@intel.com) IronPort-SDR: lnQu64J3CmUCpoETG86fPdMcM9fqrEsREegvFGeYdpA97JjRVenWfl1708xFMW37PIxsuMflAy nQCzj8+fFqGg== X-IronPort-AV: E=McAfee;i="6000,8403,9823"; a="257858891" X-IronPort-AV: E=Sophos;i="5.78,388,1599548400"; d="scan'208";a="257858891" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 23:09:00 -0800 IronPort-SDR: 9k4bGt3JSTBg00Hd4E7ehbfbDzkHA/rxPYaRpeHlufrqzwRxJDCZa86T9EcpNOfBfrw46x1wE7 k377uzOLw4JQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,388,1599548400"; d="scan'208";a="540001516" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga005.fm.intel.com with ESMTP; 02 Dec 2020 23:08:59 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 2 Dec 2020 23:08:59 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 2 Dec 2020 23:08:59 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 2 Dec 2020 23:08:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NE1RnptKaZtVUCduZGAuwjwgZt5NLQXi8viWkSf64JSc5avhSIx/Z26tSe33xThr8z1ESV9iRj67MS0jX4/t3cbv6sudLLF/TI/cwXh5iexpomTkFpr8UbpKuH1VFGiSyqpXqVTkodl9Sr2kwhVLl7/tzLp/edUbH99Aha6O7VJN8ckWmWvzbewTKCQTPouyCLmURL+lrddJTyU3R6fLUBLTuZOUkTwQjWaXhKcB7tR7M0sEYHo6VBjgsISCmEuSNXhS808U6VVUU6++NUR76+NE/IakXLqwL7nIX05pOYtaIk1nWJlQO5LXI9dR65jmw5Dz5FRHFHtHQK7YrnzlYg== 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=9p9oRqdM54DdsDfFed8tnYb3jo06vka2kgkW8ReV1eU=; b=HgkZJkJnwab41psUqoNDDGm4V2Gz5tl2YW1TJW6B1katUbuR42DF1+83RrmlE81LycRRW7WLO1/1fKaFAkgdXZFyLtwWohAYz+jdX2/jVtTtTTbeITIagigEU+xond8KZt1eR1jMRzTkx8Ni7xRegOwRSYY7UrryXHS/XwOYEzxNAgxu/3uiUXdlKXx8cPWsAfuCM0uUp7FZaLNkc8gYWPsxwj9yyhEDzaDjn2KqU3Znyk93AQy87g6EzdCzS8JV7vwsA/wHbmCxmy/GzjdTOoFyGKRNfcH8Ds6GnQ5VKLevkv0uTDhGvZlx1uM0NE0TL+eYbmW6hEB48kFSiK632w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9p9oRqdM54DdsDfFed8tnYb3jo06vka2kgkW8ReV1eU=; b=B32VhTrPn225SZxhlF6HUyAYVIpVH4JtdY+NzUXsTDIwxnkAjd5uJv7+5g0Q5ugrEqatol7gsB9fjTIgEqMF9VeAGGHmStfzOe/srX/+Wg3IWDcdX2M3YH5DIkVW06WbQ4cqetSZtyDQcVBiJCZ/jlA4v4VYLHDIFReLoIAPplw= Received: from CY4PR11MB1272.namprd11.prod.outlook.com (2603:10b6:903:29::9) by CY4PR1101MB2072.namprd11.prod.outlook.com (2603:10b6:910:1d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.25; Thu, 3 Dec 2020 07:08:23 +0000 Received: from CY4PR11MB1272.namprd11.prod.outlook.com ([fe80::a403:f387:2d1f:8fe8]) by CY4PR11MB1272.namprd11.prod.outlook.com ([fe80::a403:f387:2d1f:8fe8%4]) with mapi id 15.20.3632.021; Thu, 3 Dec 2020 07:08:23 +0000 From: "Dong, Eric" To: "Dong, Guo" , "devel@edk2.groups.io" CC: "Ni, Ray" , "lersek@redhat.com" , "Kumar, Rahul1" Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg/SmmCpuFeaturesLib: Add Tiger Lake support Thread-Topic: [edk2-devel] [PATCH] UefiCpuPkg/SmmCpuFeaturesLib: Add Tiger Lake support Thread-Index: AQHWyPSDiZo3Gfs6hECfwNPBxs4Lpqnk9Cxw Date: Thu, 3 Dec 2020 07:08:23 +0000 Message-ID: References: <20201202214543.23684-1-guo.dong@intel.com> In-Reply-To: <20201202214543.23684-1-guo.dong@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5afb3123-90e1-40d3-fe6f-08d8975a3943 x-ms-traffictypediagnostic: CY4PR1101MB2072: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2331; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NB7dC1sFkoB752jkwKdqSdUynyJqS8y2XkqDLiPCtzbeeyyfdwqyZRt4YX4x8Ns4IcG54eihwbfxEycs+POMfcaFr7EHsTqFB8b1XPfYvWwFAvUCJ7qNeE8dRDMM7C1wwah6ovcIN8HUiUXuUKoRFEo7k+o6PDMutW+h27LppHD81pg6Ea0yl+8Mgkc/EWFmSRGHt8yckJtTbodM5LYO+xrR7fFx2Jk9/DrV1Wva4dWDX0aEBtbKLaz2Z35OMlJBIDLZmSA9vlUun0RP5R4QLhx0MYomkE62LuMBEd0lq30ffwQf1AhwyWvgJL6yP2xe x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1272.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(396003)(39860400002)(366004)(376002)(346002)(76116006)(8936002)(52536014)(478600001)(4326008)(7696005)(9686003)(8676002)(110136005)(66556008)(66476007)(66946007)(86362001)(64756008)(66446008)(316002)(186003)(107886003)(71200400001)(54906003)(6506007)(53546011)(2906002)(33656002)(55016002)(26005)(83380400001)(5660300002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?+4Q5coIOyQaC67luqZLbc0baFdOfYwRSXVlhnjUoCkfjLfhxWcX4TcW4f6RI?= =?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bg4UI7xHOZ02gqYRF0/IDStkAGaZdtPqeGpHfb?= =?us-ascii?Q?AH3BkhMCEXgSJ5pvZG30APcjLnYlRGuyxiXOP6N7LnU=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1272.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5afb3123-90e1-40d3-fe6f-08d8975a3943 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Dec 2020 07:08:23.5853 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +myVjtjHrgW85hDMr6oi77CeEqz8W3lBia00W8ZPnrh0kbWhHMEbdtCUottR20/BXfJzOawtMlsn+YrCViilMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2072 Return-Path: eric.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Eric Dong -----Original Message----- From: Guo Dong =20 Sent: Thursday, December 3, 2020 5:46 AM To: devel@edk2.groups.io Cc: Dong, Eric ; Ni, Ray ; lersek@re= dhat.com; Kumar, Rahul1 Subject: [edk2-devel] [PATCH] UefiCpuPkg/SmmCpuFeaturesLib: Add Tiger Lake = support Add Tiger Lake ModelId support in the SMM CPU feature lib. Signed-off-by: Guo Dong --- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c b/Uef= iCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c index a00786a8eb..8fed18cf0e 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c @@ -292,7 +292,8 @@ SmmCpuFeaturesInitializeProcessor ( if (FamilyId =3D=3D 0x06) { if (ModelId =3D=3D 0x3C || ModelId =3D=3D 0x45 || ModelId =3D=3D 0x46 = || ModelId =3D=3D 0x3D || ModelId =3D=3D 0x47 || ModelId =3D=3D 0x4E = || ModelId =3D=3D 0x4F || - ModelId =3D=3D 0x3F || ModelId =3D=3D 0x56 || ModelId =3D=3D 0x57 = || ModelId =3D=3D 0x5C) { + ModelId =3D=3D 0x3F || ModelId =3D=3D 0x56 || ModelId =3D=3D 0x57 = || ModelId =3D=3D 0x5C || + ModelId =3D=3D 0x8C) { // // Check to see if the CPU supports the SMM Code Access Check featur= e // Do not access this MSR unless the CPU supports the SmmRegFeatureC= ontrol --=20 2.16.2.windows.1