summaryrefslogtreecommitdiff
path: root/bin
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2021-02-11 13:53:25 -0500
committerJeff Lane <jeffrey.lane@canonical.com>2021-02-11 13:53:25 -0500
commit83112c7d5af1174350c5230d1896931653c55054 (patch)
tree7c8472bcba9395e2038d30c763db822d639b9e8d /bin
parentf886b6d984e72e0e07bc33258ee716671e9039db (diff)
bin/cpuid.py: Update Ice Lake CPUID with Xeon strings and steppings. lp: #1915434
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cpuid.py20
1 files changed, 19 insertions, 1 deletions
diff --git a/bin/cpuid.py b/bin/cpuid.py
index 3eebf1e..4e1d2da 100755
--- a/bin/cpuid.py
+++ b/bin/cpuid.py
@@ -83,6 +83,24 @@ is_64bit = ctypes.sizeof(ctypes.c_voidp) == 8
# [11:8] Family
# [7:4] Model
# [3:0] Stepping
+
+# Intel CPUID Hex Mapping
+# 0x[1][2][3][4][5]
+# [1] Extended Model
+# [2] Extended Family
+# [3] Family
+# [4] Model
+# [5] Stepping
+
+# AMD CPUID Hex Mapping
+# 0x[1][2][3][4][5][6]
+# [1] Extended Family
+# [2] Extended Model
+# [3] Reserved
+# [4] Base Family
+# [5] Base Model
+# [6] Stepping
+
CPUIDS = {
"Amber Lake": ['0x806e9'],
"AMD EPYC": ['0x800f12'],
@@ -97,7 +115,7 @@ CPUIDS = {
'0x806ea', '0x906ea', '0x906eb', '0x906ec', '0x906ed'],
"Cooper Lake": ['0x5065a', '0x5065b'],
"Haswell": ['0x306c', '0x4065', '0x4066', '0x306f'],
- "Ice Lake": ['0x706e'],
+ "Ice Lake": ['0x606e6', '0x606e8', '0x706e'],
"Ivy Bridge": ['0x306a', '0x306e'],
"Kaby Lake": ['0x806e9', '0x906e9'],
"Knights Landing": ['0x5067'],