From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.420.1606945548282046493 for ; Wed, 02 Dec 2020 13:45:48 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: guo.dong@intel.com) IronPort-SDR: zh/Pv5XaWPlckVo9I/h27VDn1iyvuMMnP3t4x/f0lik7FTKgw6N1gavHUG2ciKZ9oIAIiCw93z O7M14cioJ4QA== X-IronPort-AV: E=McAfee;i="6000,8403,9823"; a="234698349" X-IronPort-AV: E=Sophos;i="5.78,387,1599548400"; d="scan'208";a="234698349" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 13:45:47 -0800 IronPort-SDR: OqtqBy6noiJauL4txfUs6gT7uSkpLJ71OfQjP/r0hjyTRZc07Zyj++KPN+OtJSxLJdxtE+ov++ SAwn7byRyGcg== X-IronPort-AV: E=Sophos;i="5.78,387,1599548400"; d="scan'208";a="550224270" Received: from gdong1-mobl.amr.corp.intel.com ([10.209.110.193]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 13:45:46 -0800 From: "Guo Dong" To: devel@edk2.groups.io Cc: eric.dong@intel.com, ray.ni@intel.com, lersek@redhat.com, rahul1.kumar@intel.com Subject: [edk2-devel] [PATCH] UefiCpuPkg/SmmCpuFeaturesLib: Add Tiger Lake support Date: Wed, 2 Dec 2020 14:45:43 -0700 Message-Id: <20201202214543.23684-1-guo.dong@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 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/UefiCpuPkg/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 == 0x06) { if (ModelId == 0x3C || ModelId == 0x45 || ModelId == 0x46 || ModelId == 0x3D || ModelId == 0x47 || ModelId == 0x4E || ModelId == 0x4F || - ModelId == 0x3F || ModelId == 0x56 || ModelId == 0x57 || ModelId == 0x5C) { + ModelId == 0x3F || ModelId == 0x56 || ModelId == 0x57 || ModelId == 0x5C || + ModelId == 0x8C) { // // Check to see if the CPU supports the SMM Code Access Check feature // Do not access this MSR unless the CPU supports the SmmRegFeatureControl -- 2.16.2.windows.1