Reviewed-by: Eric Dong <eric.d...@intel.com>

-----Original Message-----
From: Wu, Hao A 
Sent: Wednesday, August 2, 2017 4:30 PM
To: edk2-devel@lists.01.org
Cc: Wu, Hao A <hao.a...@intel.com>; Dong, Eric <eric.d...@intel.com>; Fan, Jeff 
<jeff....@intel.com>
Subject: [PATCH] UefiCpuPkg/Msr: Add a missing IvyBridge processor signature

This commit modifies the CPUID signature check MACRO for IvyBridge processor by 
adding a missing DisplayModel 0x3E. The missing one appears at Section 35.10.1 
to Section 35.10.3 of the Intel(R) 64 and IA-32 Architectures Software 
Developer's Manual, Volume 3, September 2016.

Cc: Eric Dong <eric.d...@intel.com>
Cc: Jeff Fan <jeff....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a...@intel.com>
---
 UefiCpuPkg/Include/Register/Msr/IvyBridgeMsr.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/UefiCpuPkg/Include/Register/Msr/IvyBridgeMsr.h 
b/UefiCpuPkg/Include/Register/Msr/IvyBridgeMsr.h
index 9eb07994ec..39b0d1af12 100644
--- a/UefiCpuPkg/Include/Register/Msr/IvyBridgeMsr.h
+++ b/UefiCpuPkg/Include/Register/Msr/IvyBridgeMsr.h
@@ -38,7 +38,8 @@
 #define IS_IVY_BRIDGE_PROCESSOR(DisplayFamily, DisplayModel) \
   (DisplayFamily == 0x06 && \
    (                        \
-    DisplayModel == 0x3A    \
+    DisplayModel == 0x3A || \
+    DisplayModel == 0x3E    \
     )                       \
    )
 
--
2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to