[edk2-devel] [PATCH] UefiCpuPkg/SmmCpuFeaturesLib: Add Tiger Lake support

Dong, Eric eric.dong at intel.com
Thu Dec 3 07:08:23 UTC 2020


Reviewed-by: Eric Dong <eric.dong at intel.com>

-----Original Message-----
From: Guo Dong <guo.dong at intel.com> 
Sent: Thursday, December 3, 2020 5:46 AM
To: devel at edk2.groups.io
Cc: Dong, Eric <eric.dong at intel.com>; Ni, Ray <ray.ni at intel.com>; lersek at redhat.com; Kumar, Rahul1 <rahul1.kumar at intel.com>
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 <guo.dong at intel.com>
---
 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



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#68222): https://edk2.groups.io/g/devel/message/68222
Mute This Topic: https://groups.io/mt/78671212/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list