1 /* inteltool - dump all registers on an Intel CPU + chipset based system */
2 /* SPDX-License-Identifier: GPL-2.0-only */
14 #include "inteltool.h"
18 #include <machine/sysarch.h>
21 #define MAX_PCR_PORTS 8 /* how often may `--pcr` be specified */
25 LONG_OPT_RANGE
= 0x101,
29 * http://pci-ids.ucw.cz/read/PC/8086
30 * http://en.wikipedia.org/wiki/Intel_Tick-Tock
31 * http://en.wikipedia.org/wiki/List_of_Intel_chipsets
32 * http://en.wikipedia.org/wiki/Intel_Xeon_chipsets
35 uint16_t vendor_id
, device_id
;
37 } supported_chips_list
[] = {
38 /* Host bridges/DRAM controllers (Northbridges) */
39 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82443LX
, "443LX" },
40 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82443BX
, "443BX" },
41 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82443BX_NO_AGP
, "443BX without AGP" },
42 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82810
, "810" },
43 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82810_DC
, "810-DC100" },
44 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82810E_DC
, "810E DC-133" },
45 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82830M
, "830M" },
46 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82845
, "845" },
47 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82865
, "865" },
48 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82915
, "915G/P/GV/GL/PL/910GL" },
49 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82945P
, "945P" },
50 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82945GM
, "945GM" },
51 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82945GSE
, "945GSE" },
52 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82946
, "946GZ/PL" },
53 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82965PM
, "965PM" },
54 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82Q965
, "Q963/82Q965" },
55 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82975X
, "975X" },
56 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82G33
, "P35/G33/G31/P31" },
57 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82Q33
, "Q33" },
58 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82Q35
, "Q35" },
59 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82X38
, "X38/X48" },
60 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_32X0
, "3200/3210" },
61 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82XX4X
,
62 "GL40/GS40/GM45/GS45/PM45" },
63 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82Q45
, "Q45/Q43" },
64 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82G45
, "G45/G43/P45/P43" },
65 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82G41
, "G41" },
66 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82B43
, "B43 (Base)" },
67 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82B43_2
, "B43 (Soft)" },
68 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82X58
, "X58" },
69 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_I5000P
,
70 "Intel i5000P Memory Controller Hub" },
71 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_I5000X
,
72 "Intel i5000X Memory Controller Hub" },
73 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_I5000Z
,
74 "Intel i5000Z Memory Controller Hub" },
75 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_I5000V
,
76 "Intel i5000V Memory Controller Hub" },
77 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SCH_POULSBO
, "SCH Poulsbo" },
78 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ATOM_DXXX
,
79 "Atom D400/500 Series" },
80 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ATOM_NXXX
, "Atom N400 Series" },
81 /* Host bridges /DRAM controllers integrated in CPUs */
82 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_0TH_GEN
,
83 "0th generation (Nehalem family) Core Processor" },
84 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_1ST_GEN
,
85 "1st generation (Westmere family) Core Processor" },
86 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_2ND_GEN_D
,
87 "2nd generation (Sandy Bridge family) Core Processor (Desktop)" },
88 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_2ND_GEN_M
,
89 "2nd generation (Sandy Bridge family) Core Processor (Mobile)" },
90 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_2ND_GEN_E3
,
91 "2nd generation (Sandy Bridge family) Core Processor (Xeon E3)" },
92 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_D
,
93 "3rd generation (Ivy Bridge family) Core Processor (Desktop)" },
94 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_M
,
95 "3rd generation (Ivy Bridge family) Core Processor (Mobile)" },
96 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_E3
,
97 "3rd generation (Ivy Bridge family) Core Processor (Xeon E3 v2)" },
98 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_015c
,
99 "3rd generation (Ivy Bridge family) Core Processor" },
100 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_D
,
101 "4th generation (Haswell family) Core Processor (Desktop)" },
102 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_M
,
103 "4th generation (Haswell family) Core Processor (Mobile)" },
104 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_E3
,
105 "4th generation (Haswell family) Core Processor (Xeon E3 v3)" },
106 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_4TH_GEN_U
,
107 "4th generation (Haswell family) Core Processor ULT" },
108 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_U
,
109 "5th generation (Broadwell family) Core Processor ULT" },
110 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_D
,
111 "5th generation (Broadwell family) Core Processor (Desktop)" },
112 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_5TH_GEN_M
,
113 "5th generation (Broadwell family) Core Processor (Mobile)" },
114 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M
,
115 "6th generation (Skylake-H family) Core Processor (Mobile)" },
116 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST
,
117 "6th generation (Skylake-S/H family) Core Processor (Workstation)" },
118 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D
,
119 "6th generation (Skylake-S family) Core Processor (Desktop)" },
120 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_D2
,
121 "6th generation (Skylake-S family) Core Processor (Desktop)" },
122 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_E
,
123 "6th generation (Skylake family) Core Processor Xeon E (Server)" },
124 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_U
,
125 "6th generation (Skylake family) Core Processor (Mobile)" },
126 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_Y
,
127 "6th generation (Skylake family) Core Processor (Mobile)" },
128 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_BAYTRAIL
, "Bay Trail" },
129 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U
,
130 "7th generation (Kaby Lake family) Core Processor (Mobile)" },
131 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_Y
,
132 "7th generation (Kaby Lake family) Core Processor (Mobile)" },
133 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_U_Q
,
134 "7th generation (Kaby Lake family) Core Processor (Mobile)" },
135 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_E3
,
136 "7th generation (Kaby Lake family) Core Processor Xeon E3-1200" },
137 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_8TH_GEN_U_1
,
138 "8th generation (Coffee Lake family) Core Processor (Mobile)" },
139 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_8TH_GEN_U_2
,
140 "8th generation (Whiskey Lake family) Core Processor (Mobile)" },
141 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_10TH_GEN_U
,
142 "10th generation (Icelake family) Core Processor (Mobile)" },
143 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_CML_U1
,
144 "10th generation (Comet Lake family) Core Processor (Mobile)" },
145 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_CML_U2
,
146 "10th generation (Comet Lake family) Core Processor (Mobile)" },
147 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_CML_U3
,
148 "10th generation (Comet Lake family) Core Processor (Mobile)" },
149 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HEWITTLAKE
,
150 "Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D (Hewitt Lake)" },
151 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SAPPHIRERAPIDS_SP
,
152 "Xeon Scalable Processor 4th generation (Sapphire Rapids SP)" },
153 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_TGL_ID_U_2
,
154 "11th generation (Tiger Lake UP3 family) Core Processor (Mobile)" },
155 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_TGL_ID_U_4
,
156 "11th generation (Tiger Lake UP3 family) Core Processor (Mobile)" },
157 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_TGL_ID_Y_2
,
158 "11th generation (Tiger Lake UP4 family) Core Processor (Mobile)" },
159 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_TGL_ID_Y_4
,
160 "11th generation (Tiger Lake UP4 family) Core Processor (Mobile)" },
161 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_TGL_ID_H_4
,
162 "11th generation (Tiger Lake H family) Core Processor (Mobile)" },
163 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_TGL_ID_H_6
,
164 "11th generation (Tiger Lake H family) Core Processor (Mobile)" },
165 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_TGL_ID_H_8
,
166 "11th generation (Tiger Lake H family) Core Processor (Mobile)" },
167 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_S_8_8
,
168 "12th generation (Alder Lake S family) Core Processor (Desktop)" },
169 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_S_8_4
,
170 "12th generation (Alder Lake S family) Core Processor (Desktop)" },
171 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_S_6_4
,
172 "12th generation (Alder Lake S family) Core Processor (Desktop)" },
173 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_S_8_0
,
174 "12th generation (Alder Lake S family) Core Processor (Desktop)" },
175 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_S_6_0
,
176 "12th generation (Alder Lake S family) Core Processor (Desktop)" },
177 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_P_6_8
,
178 "12th generation (Alder Lake P family) Core Processor"},
179 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_P_4_8
,
180 "12th generation (Alder Lake P family) Core Processor"},
181 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_P_2_8
,
182 "12th generation (Alder Lake P family) Core Processor"},
183 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_N_0_8
,
184 "12th generation (Alder Lake N family) Intel Processor"},
185 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_N_0_4
,
186 "12th generation (Alder Lake N family) Intel Processor"},
187 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_ADL_ID_N_0_4_1
,
188 "12th generation (Alder Lake N family) Intel Processor"},
189 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_RPL_ID_H_8_6
,
190 "13th generation (Raptor Lake H family) Core Processor"},
191 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_MTL_ID_M
,
192 "14th generation (Meteor Lake M family) Core Processor"},
193 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_1
,
194 "14th generation (Meteor Lake P family) Core Processor"},
195 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_2
,
196 "14th generation (Meteor Lake P family) Core Processor"},
197 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_3
,
198 "14th generation (Meteor Lake P family) Core Processor"},
199 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_4
,
200 "14th generation (Meteor Lake P family) Core Processor"},
201 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_5
,
202 "14th generation (Meteor Lake P family) Core Processor"},
203 /* Southbridges (LPC controllers) */
204 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_82371XX
, "371AB/EB/MB" },
205 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH10
, "ICH10" },
206 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH10D
, "ICH10D" },
207 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH10DO
, "ICH10DO" },
208 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH10R
, "ICH10R" },
209 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH9DH
, "ICH9DH" },
210 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH9DO
, "ICH9DO" },
211 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH9R
, "ICH9R" },
212 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH9
, "ICH9" },
213 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH9M
, "ICH9M" },
214 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH9ME
, "ICH9M-E" },
215 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH8M
, "ICH8-M" },
216 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH8ME
, "ICH8M-E" },
217 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH8
, "ICH8" },
218 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_NM10
, "NM10" },
219 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH7MDH
, "ICH7-M DH" },
220 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH7M
, "ICH7-M" },
221 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH7
, "ICH7" },
222 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH7DH
, "ICH7DH" },
223 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH6
, "ICH6" },
224 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH5
, "ICH5" },
225 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH4M
, "ICH4-M" },
226 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH4
, "ICH4" },
227 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH2
, "ICH2" },
228 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH0
, "ICH0" },
229 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICH
, "ICH" },
230 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_I63XX
, "631xESB/632xESB/3100" },
231 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SCH_POULSBO_LPC
, "SCH Poulsbo" },
232 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_3400_DESKTOP
, "3400 Desktop" },
233 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_3400_MOBILE
, "3400 Mobile" },
234 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_P55
, "P55" },
235 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_PM55
, "PM55" },
236 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H55
, "H55" },
237 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM57
, "QM57" },
238 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H57
, "H57" },
239 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM55
, "HM55" },
240 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q57
, "Q57" },
241 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM57
, "HM57" },
242 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_3400_MOBILE_SFF
,
244 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B55_A
, "B55" },
245 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QS57
, "QS57" },
246 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_3400
, "3400" },
247 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_3420
, "3420" },
248 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_3450
, "3450" },
249 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B55_B
, "B55" },
250 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z68
, "Z68" },
251 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_P67
, "P67" },
252 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UM67
, "UM67" },
253 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM65
, "HM65" },
254 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H67
, "H67" },
255 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM67
, "HM67" },
256 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q65
, "Q65" },
257 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QS67
, "QS67" },
258 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q67
, "Q67" },
259 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM67
, "QM67" },
260 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B65
, "B65" },
261 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C202
, "C202" },
262 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C204
, "C204" },
263 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C206
, "C206" },
264 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H61
, "H61" },
265 { PCI_VENDOR_ID_INTEL
, 0x1d40, "X79" },
266 { PCI_VENDOR_ID_INTEL
, 0x1d41, "X79" },
267 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z77
, "Z77" },
268 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z75
, "Z75" },
269 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q77
, "Q77" },
270 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q75
, "Q75" },
271 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B75
, "B75" },
272 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H77
, "H77" },
273 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C216
, "C216" },
274 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM77
, "QM77" },
275 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QS77
, "QS77" },
276 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM77
, "HM77" },
277 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UM77
, "UM77" },
278 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM76
, "HM76" },
279 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM75
, "HM75" },
280 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM70
, "HM70" },
281 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_NM70
, "NM70" },
282 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ICELAKE_LP_U
,
284 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_FULL
,
285 "Lynx Point Low Power Full Featured Engineering Sample" },
286 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_PREM
,
287 "Lynx Point Low Power Premium SKU" },
288 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_BASE
,
289 "Lynx Point Low Power Base SKU" },
290 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_PREM
,
291 "Wildcat Point Low Power Premium SKU" },
292 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP
,
293 "Wildcat Point Low Power Base SKU" },
294 { PCI_VENDOR_ID_INTEL
, 0x2310, "DH89xxCC" },
295 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_BAYTRAIL_LPC
, "Bay Trail" },
296 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_PRE
,
297 "Sunrise Point Desktop Engineering Sample" },
298 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_PRE
,
299 "Sunrise Point-LP Engineering Sample" },
300 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_BASE_SKL
,
301 "Sunrise Point-LP U Base/Skylake" },
302 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_Y_PREM_SKL
,
303 "Sunrise Point-LP Y Premium/Skylake" },
304 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_PREM_SKL
,
305 "Sunrise Point-LP U Premium/Skylake" },
306 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_BASE_KBL
,
307 "Sunrise Point-LP U Base/Kabylake" },
308 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_Y_PREM_KBL
,
309 "Sunrise Point-LP Y Premium/Kabylake" },
310 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_PREM_KBL
,
311 "Sunrise Point-LP U Premium/Kabylake" },
312 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_IHDCP_BASE
,
313 "Sunrise Point-LP U iHDCP 2.2 Base/Kabylake" },
314 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_U_IHDCP_PREM
,
315 "Sunrise Point-LP U iHDCP 2.2 Premium/Kabylake" },
316 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_Y_IHDCP_PREM
,
317 "Sunrise Point-LP Y iHDCP 2.2 Premium/Kabylake" },
318 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CANNONPOINT_LP_U_PREM
,
319 "Cannon Point-LP U Premium/CoffeeLake/Whiskeylake" },
320 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_COMETPOINT_LP_U_PREM
,
321 "Comet Point-LP U Premium/Cometlake" },
322 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_COMETPOINT_LP_U_BASE
,
323 "Comet Point-LP U Base/Cometlake" },
324 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TIGERPOINT_U_SUPER
,
325 "Tiger Point U Engineering Sample" },
326 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TIGERPOINT_U_PREM
,
327 "Tiger Point U Premium/Tigerlake" },
328 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TIGERPOINT_U_BASE
,
329 "Tiger Point U Base/Tigerlake" },
330 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TIGERPOINT_Y_SUPER
,
331 "Tiger Point Y Engineering Sample" },
332 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TIGERPOINT_Y_PREM
,
333 "Tiger Point Y Premium/Tigerlake" },
334 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H110
, "H110" },
335 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H170
, "H170" },
336 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z170
, "Z170" },
337 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q170
, "Q170" },
338 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q150
, "Q150" },
339 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B150
, "B150" },
340 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C236
, "C236" },
341 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C232
, "C232" },
342 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM170
, "QM170" },
343 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM170
, "HM170" },
344 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CM236
, "CM236" },
345 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM175
, "HM175" },
346 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM175
, "QM175" },
347 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CM238
, "CM238" },
348 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C621
, "C621" },
349 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C621A
, "C621A" },
350 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C622
, "C622" },
351 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C624
, "C624" },
352 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C625
, "C625" },
353 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C626
, "C626" },
354 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C627
, "C627" },
355 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C628
, "C628" },
356 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C629
, "C629" },
357 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C624_SUPER
, "C624 Super SKU" },
358 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C627_SUPER_1
, "C627 Super SKU" },
359 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C621_SUPER
, "C621 Super SKU" },
360 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C627_SUPER_2
, "C627 Super SKU" },
361 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C628_SUPER
, "C628 Super SKU" },
362 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_EBG
, "Emmits Burg" },
363 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H270
, "H270" },
364 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z270
, "Z270" },
365 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q270
, "Q270" },
366 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q250
, "Q250" },
367 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B250
, "B250" },
368 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z370
, "Z370" },
369 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H310C
, "H310C" },
370 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_X299
, "X299" },
371 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H310
, "H310" },
372 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H370
, "H370" },
373 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z390
, "Z390" },
374 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q370
, "Q370" },
375 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B360
, "B360" },
376 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C246
, "C246" },
377 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C242
, "C242" },
378 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM370
, "QM370" },
379 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM370
, "HM370" },
380 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_CM246
, "CM246" },
381 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C8_MOBILE
, "C8 Mobile"},
382 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C8_DESKTOP
, "C8 Desktop"},
383 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z87
, "Z87"},
384 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z85
, "Z85"},
385 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM86
, "HM86"},
386 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H87
, "H87"},
387 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM87
, "HM87"},
388 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q85
, "Q85"},
389 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q87
, "Q87"},
390 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM87
, "QM87"},
391 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B85
, "B85"},
392 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C222
, "C222"},
393 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C224
, "C224"},
394 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C226
, "C226"},
395 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H81
, "H81"},
396 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C9_MOBILE
, "C9 Mobile"},
397 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C9_DESKTOP
, "C9 Desktop"},
398 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM97
, "HM97"},
399 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z97
, "Z97"},
400 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H97
, "H97"},
401 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_APL_LPC
, "Apollo Lake" },
402 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_DNV_LPC
, "Denverton" },
403 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_GLK_LPC
, "Gemini Lake" },
404 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H510
, "H510" },
405 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H570
, "H570" },
406 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z590
, "Z590" },
407 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q570
, "Q570" },
408 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B560
, "B560" },
409 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_W580
, "W580" },
410 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C256
, "C256" },
411 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C252
, "C252" },
412 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM570
, "HM570" },
413 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_QM580
, "QM580" },
414 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_WM590
, "WM590" },
415 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H610E
, "H610E" },
416 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q670E
, "Q670E" },
417 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_R680E
, "R680E" },
418 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H610
, "H610" },
419 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B660
, "B660" },
420 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H670
, "H670" },
421 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q670
, "Q670" },
422 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z690
, "Z690" },
423 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_W680
, "W680" },
424 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_WM690
, "WM690" },
425 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM670
, "HM670" },
426 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_W790
, "W790" },
427 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Z790
, "Z790" },
428 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_H770
, "H770" },
429 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B760
, "B760" },
430 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HM770
, "HM770" },
431 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_WM790
, "WM790" },
432 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C262
, "C262" },
433 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_C266
, "C266" },
434 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_EHL
, "Elkhart Lake" },
435 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_JSL
, "Jasper Lake" },
436 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_N
, "Alder Lake-N"},
437 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_RPL_P
, "Raptor Lake" },
440 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_G35_EXPRESS
,
441 "Intel(R) G35 Express Chipset Family" },
442 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_G35_EXPRESS_1
,
443 "Intel(R) G35 Express Chipset Family" },
444 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_965_EXPRESS
,
445 "Mobile Intel(R) 965 Express Chipset Family" },
446 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_965_EXPRESS_1
,
447 "Mobile Intel(R) 965 Express Chipset Family" },
448 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_965_EXPRESS_2
,
449 "Mobile Intel(R) 965 Express Chipset Family" },
450 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_965_EXPRESS_3
,
451 "Mobile Intel(R) 965 Express Chipset Family" },
452 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_4_SERIES
,
453 "Mobile Intel(R) 4 Series Express Chipset Family" },
454 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_4_SERIES_1
,
455 "Mobile Intel(R) 4 Series Express Chipset Family" },
456 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_G45
,
457 "Intel(R) G45/G43 Express Chipset Family" },
458 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_G45_1
,
459 "Intel(R) G45/G43 Express Chipset Family" },
460 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q45
,
461 "Intel(R) Q45/Q43 Express Chipset Family" },
462 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_Q45_1
,
463 "Intel(R) Q45/Q43 Express Chipset Family" },
464 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_G41
,
465 "Intel(R) G41 Express Chipset Family" },
466 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_G41_1
,
467 "Intel(R) G41 Express Chipset Family" },
468 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B43
,
469 "Intel(R) B43 Express Chipset Family" },
470 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B43_1
,
471 "Intel(R) B43 Express Chipset Family" },
472 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B43_2
,
473 "Intel(R) B43 Express Chipset Family" },
474 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_B43_3
,
475 "Intel(R) B43 Express Chipset Family" },
476 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_GRAPHICS
,
477 "Intel(R) HD Graphics" },
478 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_GRAPHICS_1
,
479 "Intel(R) HD Graphics" },
480 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_GRAPHICS_2
,
481 "Intel(R) HD Graphics" },
482 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_2000
,
483 "Intel(R) HD 2000 Graphics" },
484 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_2000_1
,
485 "Intel(R) HD 2000 Graphics" },
486 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_3000
,
487 "Intel(R) HD 3000 Graphics" },
488 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_3000_1
,
489 "Intel(R) HD 3000 Graphics" },
490 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_3000_2
,
491 "Intel(R) HD 3000 Graphics" },
492 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_3000_3
,
493 "Intel(R) HD 3000 Graphics" },
494 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_3000_4
,
495 "Intel(R) HD 3000 Graphics" },
496 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_3000_5
,
497 "Intel(R) HD 3000 Graphics" },
498 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_2500
,
499 "Intel(R) HD 2500 Graphics" },
500 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_2500_1
,
501 "Intel(R) HD 2500 Graphics" },
502 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_2500_2
,
503 "Intel(R) HD 2500 Graphics" },
504 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_4000
,
505 "Intel(R) HD 4000 Graphics" },
506 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_4000_1
,
507 "Intel(R) HD 4000 Graphics" },
508 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_4000_2
,
509 "Intel(R) HD 4000 Graphics" },
510 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_4400
,
511 "Intel(R) HD 4400 Graphics" },
512 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_4400_1
,
513 "Intel(R) HD 4400 Graphics" },
514 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_4600
,
515 "Intel(R) HD 4600 Graphics" },
516 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_4600_1
,
517 "Intel(R) HD 4600 Graphics" },
518 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_5000
,
519 "Intel(R) HD 5000 Graphics" },
520 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_5000_1
,
521 "Intel(R) HD 5000 Graphics" },
522 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_5000_2
,
523 "Intel(R) HD 5000 Graphics" },
524 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_510
,
525 "Intel(R) HD Graphics 510" },
526 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_515
,
527 "Intel(R) HD Graphics 515" },
528 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_520
,
529 "Intel(R) HD Graphics 520" },
530 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_530_1
,
531 "Intel(R) HD Graphics 530" },
532 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_HD_530_2
,
533 "Intel(R) HD Graphics 530" },
534 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_615_1
,
535 "Intel(R) UHD Graphics 615" },
536 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_615_2
,
537 "Intel(R) UHD Graphics 615" },
538 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_617
,
539 "Intel(R) UHD Graphics 617" },
540 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_620_1
,
541 "Intel(R) UHD Graphics 620" },
542 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_620_2
,
543 "Intel(R) UHD Graphics 620" },
544 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_620_3
,
545 "Intel(R) UHD Graphics 620" },
546 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_630_1
,
547 "Intel(R) UHD Graphics 630" },
548 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_630_2
,
549 "Intel(R) UHD Graphics 630" },
550 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_630_3
,
551 "Intel(R) UHD Graphics 630" },
552 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_630_4
,
553 "Intel(R) UHD Graphics 630" },
554 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_630_5
,
555 "Intel(R) UHD Graphics 630" },
556 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_630_6
,
557 "Intel(R) UHD Graphics 630" },
558 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_630_7
,
559 "Intel(R) UHD Graphics 630" },
560 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_UHD_640
,
561 "Intel(R) UHD Graphics 640" },
562 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_IRIS_540
,
563 "Intel(R) Iris Graphics 540" },
564 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_IRIS_550
,
565 "Intel(R) Iris Graphics 550" },
566 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_IRIS_PRO_580
,
567 "Intel(R) Iris Pro Graphics 580" },
568 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_IRIS_PLUS_650
,
569 "Intel(R) Iris Plus Graphics 650" },
570 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_IRIS_PLUS_655
,
571 "Intel(R) Iris Plus Graphics 655" },
572 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_IRIS_PLUS_G7
,
573 "Intel(R) Iris Plus Graphics G7" },
574 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TGL_GT2_UY
,
575 "Intel(R) Iris Xe Graphics" },
576 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TGL_GT2_Y
,
577 "Intel(R) Iris Xe Graphics" },
578 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TGL_GT1
,
579 "Intel(R) UHD Graphics for 11th Gen Intel(R) Processors" },
580 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TGL_GT1_2
,
581 "Intel(R) UHD Graphics for 11th Gen Intel(R) Processors" },
582 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TGL_GT2_ULT_1
,
583 "Intel(R) UHD Graphics for 11th Gen Intel(R) Processors" },
584 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_TGL_GT2_ULT_2
,
585 "Intel(R) UHD Graphics for 11th Gen Intel(R) Processors" },
586 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_S_GT1
,
587 "Intel(R) AlderLake-S GT1" },
588 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_S_GT1_2
,
589 "Intel(R) AlderLake-S GT1" },
590 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_S_GT1_3
,
591 "Intel(R) AlderLake-S GT1" },
592 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_S_GT1_4
,
593 "Intel(R) AlderLake-S GT1" },
594 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_N_UHD
,
595 "Intel(R) UHD Graphics" },
596 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_N_UHD_2
,
597 "Intel(R) UHD Graphics" },
598 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_ADL_N_UHD_3
,
599 "Intel(R) UHD Graphics" },
600 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_RPL_H_IRIS_XE
,
601 "Intel(R) Iris Xe Graphics [RPL-P]" },
602 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_MTL_M_GT2
,
603 "Intel(R) MeteorLake-M GT2" },
604 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_MTL_P_GT2_1
,
605 "Intel(R) MeteorLake-P GT2" },
606 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_MTL_P_GT2_2
,
607 "Intel(R) MeteorLake-P GT2" },
608 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_MTL_P_GT2_3
,
609 "Intel(R) MeteorLake-P GT2" },
610 { PCI_VENDOR_ID_INTEL
, PCI_DEVICE_ID_INTEL_MTL_P_GT2_4
,
611 "Intel(R) MeteorLake-P GT2" },
617 void *map_physical(uint64_t phys_addr
, size_t len
)
621 virt_addr
= mmap(0, len
, PROT_WRITE
| PROT_READ
, MAP_SHARED
,
622 fd_mem
, (off_t
) phys_addr
);
624 if (virt_addr
== MAP_FAILED
) {
625 printf("Error mapping physical memory 0x%08" PRIx64
"[0x%zx]\n",
633 void unmap_physical(void *virt_addr
, size_t len
)
635 munmap(virt_addr
, len
);
639 static void print_version(void)
641 printf("inteltool v%s -- ", INTELTOOL_VERSION
);
642 printf("Copyright (C) 2008 coresystems GmbH\n\n");
644 "This program is free software: you can redistribute it and/or modify\n"
645 "it under the terms of the GNU General Public License as published by\n"
646 "the Free Software Foundation, version 2 of the License.\n\n"
647 "This program is distributed in the hope that it will be useful,\n"
648 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
649 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
650 "GNU General Public License for more details.\n\n");
653 static void print_usage(const char *name
)
655 printf("usage: %s [-vh?gGrplmedPMaAsfSRx]\n", name
);
657 " -v | --version: print the version\n"
658 " -h | --help: print this help\n\n"
659 " -s | --spi: dump southbridge spi and bios_cntrl registers\n"
660 " -f | --gfx: dump graphics registers (UNSAFE: may hang system!)\n"
661 " -R | --ahci: dump AHCI registers\n"
662 " -g | --gpio: dump southbridge GPIO registers\n"
663 " -G | --gpio-diffs: show GPIO differences from defaults\n"
664 " -r | --rcba: dump southbridge RCBA registers\n"
665 " -p | --pmbase: dump southbridge Power Management registers\n\n"
666 " -l | --lpc: dump southbridge LPC/eSPI Interface registers\n\n"
667 " -m | --mchbar: dump northbridge Memory Controller registers\n"
668 " -S FILE | --spd=FILE: create a file storing current timings (implies -m)\n"
669 " -e | --epbar: dump northbridge EPBAR registers\n"
670 " -d | --dmibar: dump northbridge DMIBAR registers\n"
671 " -P | --pciexpress: dump northbridge PCIEXBAR registers\n\n"
672 " -M | --msrs: dump CPU MSRs\n"
673 " --cpu-range <start>[-<end>]: (optional) set CPU cores range for -M (--msrs) option\n"
674 " -A | --ambs: dump AMB registers\n"
675 " -x | --sgx: dump SGX status\n"
676 " -t | --tme: dump TME status\n"
677 " -k | --keylocker: dump Key Locker status\n"
678 " -a | --all: dump all known (safe) registers\n"
679 " --pcr=PORT_ID: dump all registers of a PCR port\n"
680 " (may be specified max %d times)\n"
681 "\n", MAX_PCR_PORTS
);
685 static void print_system_info(struct pci_dev
*nb
, struct pci_dev
*sb
, struct pci_dev
*gfx
)
688 char *sbname
= "unknown", *nbname
= "unknown", *gfxname
= "unknown";
692 /* Determine names */
693 for (i
= 0; i
< ARRAY_SIZE(supported_chips_list
); i
++) {
694 if (nb
->device_id
== supported_chips_list
[i
].device_id
)
695 nbname
= supported_chips_list
[i
].name
;
697 for (i
= 0; i
< ARRAY_SIZE(supported_chips_list
); i
++) {
698 if (sb
->device_id
== supported_chips_list
[i
].device_id
)
699 sbname
= supported_chips_list
[i
].name
;
702 for (i
= 0; i
< ARRAY_SIZE(supported_chips_list
); i
++)
703 if (gfx
->device_id
== supported_chips_list
[i
].device_id
)
704 gfxname
= supported_chips_list
[i
].name
;
707 /* Intel has suggested applications to display the family of a CPU as
708 * the sum of the "Family" and the "Extended Family" fields shown
709 * above, and the model as the sum of the "Model" and the 4-bit
710 * left-shifted "Extended Model" fields.
711 * http://download.intel.com/design/processor/applnots/24161832.pdf
713 printf("CPU: ID 0x%x, Processor Type 0x%x, Family 0x%x, Model 0x%x, Stepping 0x%x\n",
714 id
, (id
>> 12) & 0x3, ((id
>> 8) & 0xf) + ((id
>> 20) & 0xff),
715 ((id
>> 12) & 0xf0) + ((id
>> 4) & 0xf), (id
& 0xf));
717 printf("Northbridge: %04x:%04x (%s)\n",
718 nb
->vendor_id
, nb
->device_id
, nbname
);
720 printf("Southbridge: %04x:%04x (%s)\n",
721 sb
->vendor_id
, sb
->device_id
, sbname
);
724 printf("IGD: %04x:%04x (%s)\n",
725 gfx
->vendor_id
, gfx
->device_id
, gfxname
);
728 int main(int argc
, char *argv
[])
730 struct pci_access
*pacc
;
731 struct pci_dev
*sb
= NULL
, *nb
, *gfx
= NULL
, *ahci
= NULL
, *dev
;
732 const char *dump_spd_file
= NULL
;
733 int opt
, option_index
= 0;
735 int dump_gpios
= 0, dump_mchbar
= 0, dump_rcba
= 0;
736 int dump_pmbase
= 0, dump_epbar
= 0, dump_dmibar
= 0;
737 int dump_pciexbar
= 0, dump_coremsrs
= 0, dump_ambs
= 0;
738 int dump_spi
= 0, dump_gfx
= 0, dump_ahci
= 0, dump_sgx
= 0, dump_tme
= 0;
739 int dump_lpc
= 0, dump_keylocker
= 0;
740 int show_gpio_diffs
= 0;
741 size_t pcr_count
= 0;
742 uint8_t dump_pcr
[MAX_PCR_PORTS
];
744 unsigned int cores_range_start
= 0, cores_range_end
= UINT_MAX
;
746 static struct option long_options
[] = {
747 {"version", 0, 0, 'v'},
749 {"gpios", 0, 0, 'g'},
750 {"gpio-diffs", 0, 0, 'G'},
751 {"mchbar", 0, 0, 'm'},
753 {"pmbase", 0, 0, 'p'},
755 {"epbar", 0, 0, 'e'},
756 {"dmibar", 0, 0, 'd'},
757 {"pciexpress", 0, 0, 'P'},
759 {"cpu-range", required_argument
, 0, LONG_OPT_RANGE
},
767 {"pcr", required_argument
, 0, LONG_OPT_PCR
},
769 {"keylocker", 0, 0, 'k'},
773 while ((opt
= getopt_long(argc
, argv
, "vh?gGrplmedPMaAsfRS:xtk",
774 long_options
, &option_index
)) != EOF
) {
781 dump_spd_file
= optarg
;
821 if (strlen(optarg
) == 0) {
822 print_usage(argv
[0]);
825 const int sscanf_ret
= sscanf(optarg
, "%u-%u", &cores_range_start
, &cores_range_end
);
826 if (sscanf_ret
== 1) {
827 /* the end of the range is not specified - only for one core */
828 cores_range_end
= cores_range_start
;
829 } else if (sscanf_ret
!= 2) {
830 print_usage(argv
[0]);
832 } else if (cores_range_end
< cores_range_start
) {
833 printf("Error: invalid cores range <%u-%u>!\n",
834 cores_range_start
, cores_range_end
);
872 if (pcr_count
< MAX_PCR_PORTS
) {
874 const unsigned long int pcr
=
875 strtoul(optarg
, NULL
, 0);
876 if (strlen(optarg
) == 0 || errno
) {
877 print_usage(argv
[0]);
880 dump_pcr
[pcr_count
++] = (uint8_t)pcr
;
882 print_usage(argv
[0]);
889 print_usage(argv
[0]);
895 #if defined(__FreeBSD__)
896 if (open("/dev/io", O_RDWR
) < 0) {
898 #elif defined(__NetBSD__)
903 if (x86_64_iopl(3)) {
910 printf("You need to be root.\n");
915 if ((fd_mem
= open("/dev/mem", O_RDWR
)) < 0) {
916 perror("Can not open /dev/mem");
922 pacc
->method
= PCI_ACCESS_I386_TYPE1
;
926 /* Find the required devices */
927 for (dev
= pacc
->devices
; dev
; dev
= dev
->next
) {
928 pci_fill_info(dev
, PCI_FILL_CLASS
);
929 /* The ISA/LPC bridge can be 0x1f, 0x07, or 0x04 so we probe. */
930 if (dev
->device_class
== 0x0601) { /* ISA/LPC bridge */
934 fprintf(stderr
, "Multiple devices with class ID"
935 " 0x0601, using %02x%02x:%02x.%02x\n",
936 sb
->domain
, sb
->bus
, sb
->dev
, sb
->func
);
943 printf("No southbridge found.\n");
947 pci_fill_info(sb
, PCI_FILL_IDENT
| PCI_FILL_BASES
| PCI_FILL_CLASS
);
949 if (sb
->vendor_id
!= PCI_VENDOR_ID_INTEL
) {
950 printf("Not an Intel(R) southbridge.\n");
954 nb
= pci_get_dev(pacc
, 0, 0, 0x00, 0);
956 printf("No northbridge found.\n");
960 pci_fill_info(nb
, PCI_FILL_IDENT
| PCI_FILL_BASES
| PCI_FILL_CLASS
);
962 if (nb
->vendor_id
!= PCI_VENDOR_ID_INTEL
) {
963 printf("Not an Intel(R) northbridge.\n");
967 gfx
= pci_get_dev(pacc
, 0, 0, 0x02, 0);
969 pci_fill_info(gfx
, PCI_FILL_IDENT
| PCI_FILL_BASES
|
971 if ((gfx
->device_class
& 0xff00) != 0x0300)
973 else if (gfx
->vendor_id
!= PCI_VENDOR_ID_INTEL
)
977 if (sb
->device_id
== PCI_DEVICE_ID_INTEL_BAYTRAIL_LPC
) {
978 ahci
= pci_get_dev(pacc
, 0, 0, 0x13, 0);
980 ahci
= pci_get_dev(pacc
, 0, 0, 0x1f, 2);
982 pci_fill_info(ahci
, PCI_FILL_CLASS
);
983 if (ahci
->device_class
!= PCI_CLASS_STORAGE_SATA
)
984 ahci
= pci_get_dev(pacc
, 0, 0, 0x17, 0);
989 pci_fill_info(ahci
, PCI_FILL_IDENT
| PCI_FILL_BASES
|
992 if (ahci
->vendor_id
!= PCI_VENDOR_ID_INTEL
||
993 ahci
->device_class
!= PCI_CLASS_STORAGE_SATA
)
997 print_system_info(nb
, sb
, gfx
);
999 /* Now do the deed */
1001 print_gpios(sb
, 1, show_gpio_diffs
);
1003 } else if (show_gpio_diffs
) {
1004 print_gpios(sb
, 0, show_gpio_diffs
);
1014 print_pmbase(sb
, pacc
);
1019 print_lpc(sb
, pacc
);
1024 print_mchbar(nb
, pacc
, dump_spd_file
);
1038 if (dump_pciexbar
) {
1043 if (dump_coremsrs
) {
1044 print_intel_msrs(cores_range_start
, cores_range_end
);
1049 print_ambs(nb
, pacc
);
1070 print_pcr_ports(sb
, dump_pcr
, pcr_count
);
1079 /* `sb` wasn't allocated by pci_get_dev() */