tree: drop last paragraph of GPL copyright header
[coreboot.git] / util / msrtool / intel_atom.c
blobc055f4cc137d9ba86710c8b0b3223702425d3c94
1 /*
2 * This file is part of msrtool.
4 * Copyright (C) 2013 Olivier Langlois <olivier@olivierlanglois.net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 #include "msrtool.h"
18 int intel_atom_probe(const struct targetdef *target, const struct cpuid_t *id) {
19 return (0x6 == id->family) &&
20 (0x1c == id->model);
23 const struct msrdef intel_atom_msrs[] = {
24 {0x0, MSRTYPE_RDWR, MSR2(0,0), "IA32_P5_MC_ADDR", "Pentium Processor\
25 Machine-Check Exception Address", {
26 { BITS_EOT }
27 }},
28 {0x1, MSRTYPE_RDWR, MSR2(0,0), "IA32_P5_MC_TYPE", "Pentium Processor\
29 Machine-Check Exception Type", {
30 { BITS_EOT }
31 }},
32 {0x10, MSRTYPE_RDWR, MSR2(0,0), "IA32_TIME_STEP_COUNTER", "TSC", {
33 { BITS_EOT }
34 }},
35 {0x17, MSRTYPE_RDWR, MSR2(0,0), "IA32_PLATFORM_ID", "", {
36 { BITS_EOT }
37 }},
38 {0x2a, MSRTYPE_RDWR, MSR2(0,0), "MSR_EBL_CR_POWERON", "", {
39 { BITS_EOT }
40 }},
41 {0xcd, MSRTYPE_RDONLY, MSR2(0,0), "MSR_FSB_FREQ", "Scaleable Bus Speed", {
42 { BITS_EOT }
43 }},
44 {0xfe, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRRCAP", "", {
45 { BITS_EOT }
46 }},
47 {0x11e, MSRTYPE_RDWR, MSR2(0,0), "MSR_BBL_CR_CTL3", "", {
48 { BITS_EOT }
49 }},
50 {0x198, MSRTYPE_RDWR, MSR2(0,0), "IA32_PERF_STATUS", "", {
51 { 63, 19, RESERVED },
52 { 44, 5, "Maximum Bus Ratio", "R/O", PRESENT_DEC, {
53 { BITVAL_EOT }
54 }},
55 { 39, 24, RESERVED },
56 { 15, 16, "Current Performance State Value", "R/O", PRESENT_HEX, {
57 { BITVAL_EOT }
58 }},
59 { BITS_EOT }
60 }},
61 {0x19d, MSRTYPE_RDWR, MSR2(0,0), "MSR_THERM2_CTL", "", {
62 { BITS_EOT }
63 }},
64 {0x200, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE0", "", {
65 { BITS_EOT }
66 }},
67 {0x201, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK0", "", {
68 { BITS_EOT }
69 }},
70 {0x202, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE1", "", {
71 { BITS_EOT }
72 }},
73 {0x203, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK1", "", {
74 { BITS_EOT }
75 }},
76 {0x204, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE2", "", {
77 { BITS_EOT }
78 }},
79 {0x205, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK2", "", {
80 { BITS_EOT }
81 }},
82 {0x206, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE3", "", {
83 { BITS_EOT }
84 }},
85 {0x207, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK3", "", {
86 { BITS_EOT }
87 }},
88 {0x208, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE4", "", {
89 { BITS_EOT }
90 }},
91 {0x209, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK4", "", {
92 { BITS_EOT }
93 }},
94 {0x20a, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE5", "", {
95 { BITS_EOT }
96 }},
97 {0x20b, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK5", "", {
98 { BITS_EOT }
99 }},
100 {0x20c, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE6", "", {
101 { BITS_EOT }
103 {0x20d, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK6", "", {
104 { BITS_EOT }
106 #if 0
107 {0x20e, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_BASE7", "", {
108 { BITS_EOT }
110 {0x20f, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_PHYS_MASK7", "", {
111 { BITS_EOT }
113 #endif
114 {0x250, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX64K_00000", "", {
115 { BITS_EOT }
117 {0x258, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX16K_80000", "", {
118 { BITS_EOT }
120 {0x259, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX16K_A0000", "", {
121 { BITS_EOT }
123 {0x268, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_C0000", "", {
124 { BITS_EOT }
126 {0x269, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_C8000", "", {
127 { BITS_EOT }
129 {0x26a, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_D0000", "", {
130 { BITS_EOT }
132 {0x26b, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_D8000", "", {
133 { BITS_EOT }
135 {0x26c, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_E0000", "", {
136 { BITS_EOT }
138 {0x26d, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_E8000", "", {
139 { BITS_EOT }
141 {0x26e, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_F0000", "", {
142 { BITS_EOT }
144 {0x26f, MSRTYPE_RDWR, MSR2(0,0), "IA32_MTRR_FIX4K_F8000", "", {
145 { BITS_EOT }
147 /* if CPUID.01H: ECX[15] = 1 */
148 {0x345, MSRTYPE_RDONLY, MSR2(0,0), "IA32_PERF_CAPABILITIES", "", {
149 /* Additional info available at Section 17.4.1 of
150 * Intel 64 and IA-32 Architecures Software Developer's
151 * Manual, Volume 3.
153 { 63, 50, RESERVED },
154 { 13, 1, "Counter width", "R/O", PRESENT_BIN, {
155 { MSR1(0), "Nothing" },
156 { MSR1(1), "Full width of counter writable via IA32_A_PMCx" },
157 { BITVAL_EOT }
159 { 12, 1, "SMM_FREEZE", "R/O", PRESENT_BIN, {
160 { MSR1(0), "Nothing" },
161 { MSR1(1), "Freeze while SMM is supported" },
162 { BITVAL_EOT }
164 { 11, 4, "PEBS_REC_FORMAT", "R/O", PRESENT_HEX, {
165 { BITVAL_EOT }
167 { 7, 1, "PEBSSaveArchRegs", "R/O", PRESENT_BIN, {
168 { BITVAL_EOT }
170 { 6, 1, "PEBS Record Format", "R/O", PRESENT_BIN, {
171 { BITVAL_EOT }
173 { 5, 6, "LBR Format", "R/O", PRESENT_HEX, {
174 { BITVAL_EOT }
176 { BITS_EOT }
178 {0x400, MSRTYPE_RDWR, MSR2(0,0), "IA32_MCO_CTL", "", {
179 { BITS_EOT }
181 {0x401, MSRTYPE_RDWR, MSR2(0,0), "IA32_MCO_STATUS", "", {
182 { BITS_EOT }
184 {0x402, MSRTYPE_RDWR, MSR2(0,0), "IA32_MCO_ADDR", "", {
185 { BITS_EOT }
187 {0x404, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC1_CTL", "", {
188 { BITS_EOT }
190 {0x405, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC1_STATUS", "", {
191 { BITS_EOT }
193 {0x408, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC2_CTL", "", {
194 { BITS_EOT }
196 {0x409, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC2_STATUS", "", {
197 { BITS_EOT }
199 {0x40a, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC2_ADDR", "", {
200 { BITS_EOT }
202 {0x40c, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC4_CTL", "", {
203 { BITS_EOT }
205 {0x40d, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC4_STATUS", "", {
206 { BITS_EOT }
208 {0x40e, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC4_ADDR", "", {
209 { BITS_EOT }
211 {0x410, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC3_CTL", "", {
212 { BITS_EOT }
214 {0x411, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC3_STATUS", "", {
215 { BITS_EOT }
217 {0x412, MSRTYPE_RDWR, MSR2(0,0), "IA32_MC3_ADDR", "", {
218 { BITS_EOT }
221 /* ==========================================================================
222 * Per core MSRs
223 * ==========================================================================
226 {0x6, MSRTYPE_RDWR, MSR2(0,0), "IA32_MONITOR_FILTER_SIZE", "", {
227 { BITS_EOT }
229 {0x10, MSRTYPE_RDWR, MSR2(0,0), "IA32_TIME_STEP_COUNTER", "TSC", {
230 { BITS_EOT }
232 {0x1b, MSRTYPE_RDWR, MSR2(0,0), "IA32_APIC_BASE", "APIC BASE", {
233 /* In Intel's manual there is MAXPHYWID,
234 * which determine index of highest bit of
235 * APIC Base itself, so marking it as
236 * 'RESERVED'.
238 { 63, 52, RESERVED },
239 { 11, 1, "APIC Global Enable", "R/W", PRESENT_BIN, {
240 { BITVAL_EOT }
242 { 10, 1, "x2APIC mode", "R/W", PRESENT_BIN, {
243 { MSR1(0), "x2APIC mode is disabled" },
244 { MSR1(1), "x2APIC mode is enabled" },
245 { BITVAL_EOT }
247 { 9, 1, RESERVED },
248 { 8, 1, "BSP Flag", "R/W", PRESENT_BIN, {
249 { BITVAL_EOT }
251 { 7, 8, RESERVED },
252 { BITS_EOT }
254 /* if CPUID.01H: ECX[bit 5 or bit 6] = 1 */
255 {0x3a, MSRTYPE_RDWR, MSR2(0,0), "IA32_FEATURE_CONTROL",
256 "Control features in Intel 64Processor", {
257 { 63, 48, RESERVED },
258 /* if CPUID.01H: ECX[6] = 1 */
259 { 15, 1, "SENTER Global Enable", "R/WL", PRESENT_BIN, {
260 { MSR1(0), "SENTER leaf functions are disabled" },
261 { MSR1(1), "SENTER leaf functions are enabled" },
262 { BITVAL_EOT }
264 /* if CPUID.01H: ECX[6] = 1 */
265 { 14, 7, "SENTER Local Function Enables", "R/WL", PRESENT_BIN, {
266 { BITVAL_EOT }
268 { 7, 5, RESERVED },
269 /* if CPUID.01H: ECX[5 or 6] = 1 */
270 { 2, 1, "VMX outside of SMX operation", "R/WL", PRESENT_BIN, {
271 /* This bit enables VMX for system executive
272 * that do not require SMX.
274 { MSR1(0), "VMX outside of SMX operation disabled" },
275 { MSR1(1), "VMX outside of SMX operation enabled" },
276 { BITVAL_EOT }
278 { 1, 1, "VMX inside of SMX operation", "R/WL", PRESENT_BIN, {
279 /* This bit enables a system executive to use
280 * VMX in conjuction with SMX to support Intel
281 * Trusted Execution Technology.
283 { MSR1(0), "VMX inside of SMX operation disabled" },
284 { MSR1(1), "VMX inside of SMX operation enabled" },
285 { BITVAL_EOT }
287 /* if CPUID.01H: ECX[5 or 6] = 1 */
288 { 0, 1, "Lock bit", "R/WO", PRESENT_BIN, {
289 /* Once the Lock bit is set, the contents
290 * of this register cannot be modified.
291 * Therefore the lock bit must be set after
292 * configuring support for Intel Virtualization
293 * Technology and prior transferring control
294 * to an Option ROM or bootloader. Hence, once
295 * the lock bit is set, the entire IA32_FEATURE_CONTROL_MSR
296 * contents are preserved across RESET when
297 * PWRGOOD it not deasserted.
299 { MSR1(0), "IA32_FEATURE_CONTROL MSR can be modified" },
300 { MSR1(1), "IA32_FEATURE_CONTROL MSR cannot be modified" },
301 { BITVAL_EOT }
303 { BITS_EOT }
305 {0x40, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_0_FROM_IP", "", {
306 { BITS_EOT }
308 {0x41, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_1_FROM_IP", "", {
309 { BITS_EOT }
311 {0x42, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_2_FROM_IP", "", {
312 { BITS_EOT }
314 {0x43, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_3_FROM_IP", "", {
315 { BITS_EOT }
317 {0x44, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_4_FROM_IP", "", {
318 { BITS_EOT }
320 {0x45, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_5_FROM_IP", "", {
321 { BITS_EOT }
323 {0x46, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_6_FROM_IP", "", {
324 { BITS_EOT }
326 {0x47, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_7_FROM_IP", "", {
327 { BITS_EOT }
329 {0x60, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_0_TO_LIP", "", {
330 { BITS_EOT }
332 {0x61, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_1_TO_LIP", "", {
333 { BITS_EOT }
335 {0x62, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_2_TO_LIP", "", {
336 { BITS_EOT }
338 {0x63, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_3_TO_LIP", "", {
339 { BITS_EOT }
341 {0x64, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_4_TO_LIP", "", {
342 { BITS_EOT }
344 {0x65, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_5_TO_LIP", "", {
345 { BITS_EOT }
347 {0x66, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_6_TO_LIP", "", {
348 { BITS_EOT }
350 {0x67, MSRTYPE_RDWR, MSR2(0,0), "MSR_LASTBRANCH_7_TO_LIP", "", {
351 { BITS_EOT }
353 {0x8b, MSRTYPE_RDWR, MSR2(0,0), "IA32_BIOS_SIGN_ID",
354 "BIOS Update Signature ID (RO)", {
355 { BITS_EOT }
357 {0xc1, MSRTYPE_RDWR, MSR2(0,0), "IA32_PMC0",
358 "Performance counter register", {
359 { BITS_EOT }
361 {0xc2, MSRTYPE_RDWR, MSR2(0,0), "IA32_PMC1",
362 "Performance counter register", {
363 { BITS_EOT }
365 {0xe7, MSRTYPE_RDWR, MSR2(0,0), "IA32_MPERF", "", {
366 { BITS_EOT }
368 {0xe8, MSRTYPE_RDWR, MSR2(0,0), "IA32_APERF", "", {
369 { BITS_EOT }
371 {0x174, MSRTYPE_RDWR, MSR2(0,0), "IA32_SYSENTER_CS", "", {
372 { BITS_EOT }
374 {0x175, MSRTYPE_RDWR, MSR2(0,0), "IA32_SYSENTER_ESP", "", {
375 { BITS_EOT }
377 {0x176, MSRTYPE_RDWR, MSR2(0,0), "IA32_SYSENTER_EIP", "", {
378 { BITS_EOT }
380 {0x17a, MSRTYPE_RDWR, MSR2(0,0), "IA32_MCG_STATUS", "", {
381 { 63, 61, RESERVED },
382 { 2, 1, "MCIP", "R/W", PRESENT_BIN, {
383 /* When set, bit indicates that a machine check has been
384 * generated. If a second machine check is detected while
385 * this bit is still set, the processor enters a shutdown state.
386 * Software should write this bit to 0 after processing
387 * a machine check exception.
389 { MSR1(0), "Nothing" },
390 { MSR1(1), "Machine check has been generated" },
391 { BITVAL_EOT }
393 { 1, 1, "EPIV", "R/W", PRESENT_BIN, {
394 /* When set, bit indicates that the instruction addressed
395 * by the instruction pointer pushed on the stack (when
396 * the machine check was generated) is directly associated
397 * with the error
399 { MSR1(0), "Nothing" },
400 { MSR1(1), "Instruction addressed directly associated with the error" },
401 { BITVAL_EOT }
403 { 0, 1, "RIPV", "R/W", PRESENT_BIN, {
404 /* When set, bit indicates that the instruction addressed
405 * by the instruction pointer pushed on the stack (when
406 * the machine check was generated) can be used to restart
407 * the program. If cleared, the program cannot be reliably restarted
409 { MSR1(0), "Program cannot be reliably restarted" },
410 { MSR1(1), "Instruction addressed can be used to restart the program" },
411 { BITVAL_EOT }
413 { BITS_EOT }
415 /* if CPUID.0AH: EAX[15:8] > 0 */
416 {0x186, MSRTYPE_RDWR, MSR2(0,0), "IA32_PERFEVTSEL0",
417 "Performance Event Select Register 0", {
418 { 63, 32, RESERVED },
419 { 31, 8, "CMASK", "R/W", PRESENT_HEX, {
420 /* When CMASK is not zero, the corresponding performance
421 * counter 0 increments each cycle if the event count
422 * is greater than or equal to the CMASK.
424 { BITVAL_EOT }
426 { 23, 1, "INV", "R/W", PRESENT_BIN, {
427 { MSR1(0), "CMASK using as is" },
428 { MSR1(1), "CMASK inerting" },
429 { BITVAL_EOT }
431 { 22, 1, "EN", "R/W", PRESENT_BIN, {
432 { MSR1(0), "No commence counting" },
433 { MSR1(1), "Commence counting" },
434 { BITVAL_EOT }
436 { 21, 1, "AnyThread", "R/W", PRESENT_BIN, {
437 { BITVAL_EOT }
439 { 20, 1, "INT", "R/W", PRESENT_BIN, {
440 { MSR1(0), "Interrupt on counter overflow is disabled" },
441 { MSR1(1), "Interrupt on counter overflow is enabled" },
442 { BITVAL_EOT }
444 { 19, 1, "PC", "R/W", PRESENT_BIN, {
445 { MSR1(0), "Disabled pin control" },
446 { MSR1(1), "Enabled pin control" },
447 { BITVAL_EOT }
449 { 18, 1, "Edge", "R/W", PRESENT_BIN, {
450 { MSR1(0), "Disabled edge detection" },
451 { MSR1(1), "Enabled edge detection" },
452 { BITVAL_EOT }
454 { 17, 1, "OS", "R/W", PRESENT_BIN, {
455 { MSR1(0), "Nothing" },
456 { MSR1(1), "Counts while in privilege level is ring 0" },
457 { BITVAL_EOT }
459 { 16, 1, "USR", "R/W", PRESENT_BIN, {
460 { MSR1(0), "Nothing" },
461 { MSR1(1), "Counts while in privilege level is not ring 0" },
462 { BITVAL_EOT }
464 { 15, 8, "UMask", "R/W", PRESENT_HEX, {
465 /* Qualifies the microarchitectural condition
466 * to detect on the selected event logic. */
467 { BITVAL_EOT }
469 { 7, 8, "Event Select", "R/W", PRESENT_HEX, {
470 /* Selects a performance event logic unit. */
471 { BITVAL_EOT }
473 { BITS_EOT }
475 /* if CPUID.0AH: EAX[15:8] > 0 */
476 {0x187, MSRTYPE_RDWR, MSR2(0,0), "IA32_PERFEVTSEL1",
477 "Performance Event Select Register 1", {
478 { 63, 32, RESERVED },
479 { 31, 8, "CMASK", "R/W", PRESENT_HEX, {
480 /* When CMASK is not zero, the corresponding performance
481 * counter 1 increments each cycle if the event count
482 * is greater than or equal to the CMASK.
484 { BITVAL_EOT }
486 { 23, 1, "INV", "R/W", PRESENT_BIN, {
487 { MSR1(0), "CMASK using as is" },
488 { MSR1(1), "CMASK inerting" },
489 { BITVAL_EOT }
491 { 22, 1, "EN", "R/W", PRESENT_BIN, {
492 { MSR1(0), "No commence counting" },
493 { MSR1(1), "Commence counting" },
494 { BITVAL_EOT }
496 { 21, 1, "AnyThread", "R/W", PRESENT_BIN, {
497 { BITVAL_EOT }
499 { 20, 1, "INT", "R/W", PRESENT_BIN, {
500 { MSR1(0), "Interrupt on counter overflow is disabled" },
501 { MSR1(1), "Interrupt on counter overflow is enabled" },
502 { BITVAL_EOT }
504 { 19, 1, "PC", "R/W", PRESENT_BIN, {
505 { MSR1(0), "Disabled pin control" },
506 { MSR1(1), "Enabled pin control" },
507 { BITVAL_EOT }
509 { 18, 1, "Edge", "R/W", PRESENT_BIN, {
510 { MSR1(0), "Disabled edge detection" },
511 { MSR1(1), "Enabled edge detection" },
512 { BITVAL_EOT }
514 { 17, 1, "OS", "R/W", PRESENT_BIN, {
515 { MSR1(0), "Nothing" },
516 { MSR1(1), "Counts while in privilege level is ring 0" },
517 { BITVAL_EOT }
519 { 16, 1, "USR", "R/W", PRESENT_BIN, {
520 { MSR1(0), "Nothing" },
521 { MSR1(1), "Counts while in privilege level is not ring 0" },
522 { BITVAL_EOT }
524 { 15, 8, "UMask", "R/W", PRESENT_HEX, {
525 /* Qualifies the microarchitectural condition
526 * to detect on the selected event logic. */
527 { BITVAL_EOT }
529 { 7, 8, "Event Select", "R/W", PRESENT_HEX, {
530 /* Selects a performance event logic unit. */
531 { BITVAL_EOT }
533 { BITS_EOT }
535 {0x199, MSRTYPE_RDWR, MSR2(0,0), "IA32_PERF_CTL", "", {
536 { BITS_EOT }
538 {0x19a, MSRTYPE_RDWR, MSR2(0,0), "IA32_CLOCK_MODULATION",
539 "Clock Modulation", {
540 { 63, 59, RESERVED },
541 { 4, 1, "On demand Clock Modulation", "R/W", PRESENT_BIN, {
542 { MSR1(0), "On demand Clock Modulation is disabled" },
543 { MSR1(1), "On demand Clock Modulation is enabled" },
544 { BITVAL_EOT }
546 { 3, 3, "On demand Clock Modulation Duty Cycle", "R/W", PRESENT_HEX, {
547 { BITVAL_EOT }
549 { 0, 1, RESERVED },
550 { BITS_EOT }
552 {0x19b, MSRTYPE_RDWR, MSR2(0,0), "IA32_THERM_INTERRUPT",
553 "Thermal Interrupt Control", {
554 { BITS_EOT }
556 {0x19c, MSRTYPE_RDWR, MSR2(0,0), "IA32_THERM_STATUS",
557 "Thermal Monitor Status", {
558 { BITS_EOT }
560 {0x1a0, MSRTYPE_RDWR, MSR2(0,0), "IA32_MISC_ENABLE",
561 "Enable miscellaneous processor features", {
562 { 63, 25, RESERVED },
563 /* Note: [38] bit using for whole package,
564 * while some other bits can be Core or Thread
565 * specific.
567 { 38, 1, "Turbo Mode", "R/W", PRESENT_BIN, {
568 /* When set to a 0 on processors that support IDA,
569 * CPUID.06H: EAX[1] reports the processor's
570 * support of turbo mode is enabled.
572 { MSR1(0), "Turbo Mode enabled" },
573 /* When set 1 on processors that support Intel Turbo Boost
574 * technology, the turbo mode feature is disabled and
575 * the IDA_Enable feature flag will be clear (CPUID.06H: EAX[1]=0).
577 { MSR1(1), "Turbo Mode disabled" },
578 { BITVAL_EOT }
579 /* Note: the power-on default value is used by BIOS to detect
580 * hardware support of turbo mode. If power-on default value is 1,
581 * turbo mode is available in the processor. If power-on default
582 * value is 0, turbo mode not available.
585 { 37, 3, RESERVED },
586 { 34, 1, "XD Bit Disable", "R/W", PRESENT_BIN, {
587 { BITVAL_EOT }
589 { 33, 10, RESERVED },
590 { 23, 1, "xTPR Message Disable", "R/W", PRESENT_BIN, {
591 { BITVAL_EOT }
593 { 22, 1, "Limit CPUID Maxval", "R/W", PRESENT_BIN, {
594 { BITVAL_EOT }
596 { 21, 3, RESERVED },
597 { 18, 1, "Enable Monitor FSM", "R/W", PRESENT_BIN, {
598 { BITVAL_EOT }
600 { 17, 1, "UNDOCUMENTED", "R/W", PRESENT_BIN, {
601 { BITVAL_EOT }
603 /* Note: [16] bit using for whole package,
604 * while some other bits can be Core or Thread
605 * specific.
607 { 16, 1, "Enhanced Intel SpeedStep Technology Enable", "R/W",
608 PRESENT_BIN, {
609 { BITVAL_EOT }
611 { 15, 3, RESERVED },
612 { 12, 1, "Precise Event Based Sampling Unavailable", "R/O",
613 PRESENT_BIN, {
614 { BITVAL_EOT }
616 { 11, 1, "Branch Trace Storage Unavailable", "R/O", PRESENT_BIN, {
617 { BITVAL_EOT }
619 { 10, 3, RESERVED },
620 { 7, 1, "Performance Monitoring Available", "R", PRESENT_BIN, {
621 { BITVAL_EOT }
623 { 6, 3, RESERVED },
624 { 3, 1, "Automatic Thermal Control Circuit Enable", "R/W"
625 , PRESENT_BIN, {
626 { BITVAL_EOT }
628 { 2, 2, RESERVED },
629 { 0, 1, "Fast-Strings Enable", "R/W", PRESENT_BIN, {
630 { BITVAL_EOT }
632 { BITS_EOT }
634 {0x1c9, MSRTYPE_RDONLY, MSR2(0,0), "MSR_LASTBRANCH_TOS",
635 "Last Branch Record Stack TOS", {
636 /* Contains an index (bits 0-3) that points to the MSR containing
637 * the most recent branch record. See also MSR_LASTBRANCH_0_FROM_IP (0x680).
639 { BITS_EOT }
641 {0x1d9, MSRTYPE_RDWR, MSR2(0,0), "IA32_DEBUGCTL",
642 "Debug/Trace/Profile Resource Control", {
643 /* (MSR_DEBUGCTTLA, MSR_DEBUGCTLB) */
644 { 63, 49, RESERVED },
645 /* Only if IA32_PERF_CAPABILITIES[12] = 1 */
646 { 14, 1, "FREEZE_WHILE_SMM", "R/O", PRESENT_BIN, {
647 { MSR1(0), "Nothing" },
648 { MSR1(1), "Freeze perfmon and trace messages while in SMM" },
649 { BITVAL_EOT }
651 { 13, 1, "ENABLE_UNCORE_PMI", "R/O", PRESENT_BIN, {
652 { MSR1(0), "Nothing" },
653 { MSR1(1), "Logical processor can receive and generate PMI \
654 on behalf of the uncore" },
655 { BITVAL_EOT }
657 /* Only if CPUID.01H: ECX[15] = 1 and CPUID.0AH: EAX[7:0]>1 */
658 { 12, 1, "FREEZE_PERFMON_ON_PMI", "R/O", PRESENT_BIN, {
659 { MSR1(0), "Nothing" },
660 { MSR1(1), "Each ENABLE bit of the global counter control MSR \
661 are frozen (address 0x3bf) on PMI request" },
662 { BITVAL_EOT }
664 /* Only if CPUID.01H: ECX[15] = 1 and CPUID.0AH: EAX[7:0]>1 */
665 { 11, 1, "FREEZE_LBRS_ON_PMI", "R/O", PRESENT_BIN, {
666 { MSR1(0), "Nothing" },
667 { MSR1(1), "LBR stack is frozen on PMI request" },
668 { BITVAL_EOT }
670 { 10, 1, "BTS_OFF_USR", "R/O", PRESENT_BIN, {
671 { MSR1(0), "Nothing" },
672 { MSR1(1), "BTS or BTM is skipped if CPL > 0" },
673 { BITVAL_EOT }
675 { 9, 1, "BTS_OFF_OS", "R/O", PRESENT_BIN, {
676 { MSR1(0), "Nothing" },
677 { MSR1(1), "BTS or BTM is skipped if CPL = 0" },
678 { BITVAL_EOT }
680 { 8, 1, "BTINT", "R/O", PRESENT_BIN, {
681 { MSR1(0), "BTMs are logged in a BTS buffer in circular fashion" },
682 { MSR1(1), "An interrupt is generated by the BTS facility \
683 when the BTS buffer is full" },
684 { BITVAL_EOT }
686 { 7, 1, "BTS", "R/O", PRESENT_BIN, {
687 { MSR1(0), "Logging of BTMs (branch trace messages) \
688 in BTS buffer is disabled" },
689 { MSR1(1), "Logging of BTMs (branch trace messages) \
690 in BTS buffer is enabled" },
691 { BITVAL_EOT }
693 { 6, 1, "TR", "R/O", PRESENT_BIN, {
694 { MSR1(0), "Branch trace messages are disabled" },
695 { MSR1(1), "Branch trace messages are enabled" },
696 { BITVAL_EOT }
698 { 5, 4, RESERVED },
699 { 1, 1, "BTF", "R/O", PRESENT_BIN, {
700 { MSR1(0), "Nothing" },
701 { MSR1(1), "Enabled treating EFLAGS.TF as single-step on \
702 branches instead of single-step on instructions" },
703 { BITVAL_EOT }
705 { 0, 1, "LBR", "R/O", PRESENT_BIN, {
706 { MSR1(0), "Nothing" },
707 { MSR1(1), "Enabled recording a running trace of the most \
708 recent branches taken by the processor in the LBR stack" },
709 { BITVAL_EOT }
711 { BITS_EOT }
713 {0x1dd, MSRTYPE_RDONLY, MSR2(0,0), "MSR_LER_FROM_LIP",
714 "Last Exception Record From Linear IP", {
715 /* Contains a pointer to the last branch instruction
716 * that the processor executed prior to the last exception
717 * that was generated or the last interrupt that was handled.
719 { BITS_EOT }
721 {0x1de, MSRTYPE_RDONLY, MSR2(0,0), "MSR_LER_TO_LIP",
722 "Last Exception Record To Linear IP", {
723 /* This area contains a pointer to the target of the
724 * last branch instruction that the processor executed
725 * prior to the last exception that was generated or
726 * the last interrupt that was handled
728 { BITS_EOT }
730 {0x277, MSRTYPE_RDWR, MSR2(0,0), "IA32_PAT", "IA32_PAT", {
731 { 63, 5, RESERVED },
732 { 58, 3, "PA7", "R/W", PRESENT_BIN, {
733 { BITVAL_EOT }
735 { 55, 5, RESERVED },
736 { 40, 3, "PA6", "R/W", PRESENT_BIN, {
737 { BITVAL_EOT }
739 { 47, 5, RESERVED },
740 { 42, 3, "PA5", "R/W", PRESENT_BIN, {
741 { BITVAL_EOT }
743 { 39, 5, RESERVED },
744 { 34, 3, "PA4", "R/W", PRESENT_BIN, {
745 { BITVAL_EOT }
747 { 31, 5, RESERVED },
748 { 26, 3, "PA3", "R/W", PRESENT_BIN, {
749 { BITVAL_EOT }
751 { 23, 5, RESERVED },
752 { 18, 3, "PA2", "R/W", PRESENT_BIN, {
753 { BITVAL_EOT }
755 { 15, 5, RESERVED },
756 { 10, 3, "PA1", "R/W", PRESENT_BIN, {
757 { BITVAL_EOT }
759 { 7, 5, RESERVED },
760 { 2, 3, "PA0", "R/W", PRESENT_BIN, {
761 { BITVAL_EOT }
763 { BITS_EOT }
765 /* if CPUID.0AH: EDX[4:0] > 0 */
766 {0x309, MSRTYPE_RDWR, MSR2(0,0), "IA32_FIXED_CTR0", "Fixed-Function \
767 Performance Counter Register 0: Counts Instr_Retired.Any", {
768 /* Also known as MSR_PERF_FIXED_CTR0 */
769 { BITS_EOT }
771 /* if CPUID.0AH: EDX[4:0] > 1 */
772 {0x30a, MSRTYPE_RDWR, MSR2(0,0), "IA32_FIXED_CTR1", "Fixed-Function \
773 Performance Counter Register 1: Counts CPU_CLK_Unhalted.Core ", {
774 /* Also known as MSR_PERF_FIXED_CTR1 */
775 { BITS_EOT }
777 /* if CPUID.0AH: EDX[4:0] > 2 */
778 {0x30b, MSRTYPE_RDWR, MSR2(0,0), "IA32_FIXED_CTR2", "Fixed-Function \
779 Performance Counter Register 2: Counts CPU_CLK_Unhalted.Ref", {
780 /* Also known as MSR_PERF_FIXED_CTR2 */
781 { BITS_EOT }
783 /* if CPUID.0AH: EAX[7:0] > 1*/
784 {0x38d, MSRTYPE_RDWR, MSR2(0,0), "IA32_FIXED_CTR_CTRL",
785 "Fixed-Function-Counter Control Register", {
786 /* Also known as MSR_PERF_FIXED_CTR_CTRL.
787 * Counter increments while the results of ANDing respective enable bit
788 * in IA32_PERF_GLOBAL_CTRL with the corresponding OS or USR bits
789 * in this MSR is true. */
790 { 63, 52, RESERVED },
791 { 11, 1, "EN2_PMI", "R/W", PRESENT_BIN, {
792 { MSR1(0), "Nothing" },
793 { MSR1(1), "PMI when fixed counter 2 overflows is enabled" },
794 { BITVAL_EOT }
796 /* if CPUID.0AH EAX[7:0] > 2 */
797 { 10, 1, "AnyThread 2", "R/W", PRESENT_BIN, {
798 { MSR1(0), "Counter only increments the associated event \
799 conditions occuring in the logical processor which programmed the MSR" },
800 { MSR1(1), "Counting the associated event conditions \
801 occuring across all logical processors sharing a processor core" },
802 { BITVAL_EOT }
804 { 9, 1, "EN2_Usr", "R/W", PRESENT_BIN, {
805 { MSR1(0), "Nothing" },
806 { MSR1(1), "Fixed counter 2 is enabled to count while CPL > 0" },
807 { BITVAL_EOT }
809 { 8, 1, "EN2_OS", "R/W", PRESENT_BIN, {
810 { MSR1(0), "Nothing" },
811 { MSR1(1), "Fixed counter 2 is enabled to count while CPL = 0" },
812 { BITVAL_EOT }
814 { 7, 1, "EN1_PMI", "R/W", PRESENT_BIN, {
815 { MSR1(0), "Nothing" },
816 { MSR1(1), "PMI when fixed counter 1 overflows is enabled" },
817 { BITVAL_EOT }
819 /* if CPUID.0AH: EAX[7:0] > 2 */
820 { 6, 1, "AnyThread 1", "R/W", PRESENT_BIN, {
821 { MSR1(0), "Counter only increments the associated event \
822 conditions occuring in the logical processor which programmed the MSR" },
823 { MSR1(1), "Counting the associated event conditions \
824 occuring across all logical processors sharing a processor core" },
825 { BITVAL_EOT }
827 { 5, 1, "EN1_Usr", "R/W", PRESENT_BIN, {
828 { MSR1(0), "Nothing" },
829 { MSR1(1), "Fixed counter 1 is enabled to count while CPL > 0" },
830 { BITVAL_EOT }
832 { 4, 1, "EN1_OS", "R/W", PRESENT_BIN, {
833 { MSR1(0), "Nothing" },
834 { MSR1(1), "Fixed counter 1 is enabled to count while CPL = 0" },
835 { BITVAL_EOT }
837 { 3, 1, "EN0_PMI", "R/W", PRESENT_BIN, {
838 { MSR1(0), "Nothing" },
839 { MSR1(1), "PMI when fixed counter 0 overflows is enabled" },
840 { BITVAL_EOT }
842 /* if CPUID.0AH: EAX[7:0] > 2 */
843 { 2, 1, "AnyThread 0", "R/W", PRESENT_BIN, {
844 { MSR1(0), "Counter only increments the associated event \
845 conditions occuring in the logical processor which programmed the MSR" },
846 { MSR1(1), "Counting the associated event conditions \
847 occuring across all logical processors sharing a processor core" },
848 { BITVAL_EOT }
850 { 1, 1, "EN0_Usr", "R/W", PRESENT_BIN, {
851 { MSR1(0), "Nothing" },
852 { MSR1(1), "Fixed counter 0 is enabled to count while CPL > 0" },
853 { BITVAL_EOT }
855 { 0, 1, "EN0_OS", "R/W", PRESENT_BIN, {
856 { MSR1(0), "Nothing" },
857 { MSR1(1), "Fixed counter 0 is enabled to count while CPL = 0" },
858 { BITVAL_EOT }
860 { BITS_EOT }
862 /* if CPUID.0AH: EAX[7:0] > 0 */
863 {0x38e, MSRTYPE_RDONLY, MSR2(0,0), "IA32_PERF_GLOBAL_STATUS",
864 "Global Performance Counter Status", {
865 /* Also known as MSR_PERF_GLOBAL_STATUS */
866 /* if CPUID.0AH: EAX[7:0] > 0 */
867 { 63, 1, "CondChg: Status bits of this register has changed",
868 "R/O", PRESENT_BIN, {
869 { BITVAL_EOT }
871 /* if CPUID.0AH: EAX[7:0] > 0 */
872 { 62, 1, "OvfBuf: DS SAVE area Buffer overflow status",
873 "R/O", PRESENT_BIN, {
874 { BITVAL_EOT }
876 /* if CPUID.0AH: EAX[7:0] > 2 */
877 { 61, 1, "Ovf_Uncore: Uncore counter overflow status",
878 "R/O", PRESENT_BIN, {
879 { BITVAL_EOT }
881 { 60, 26, RESERVED },
882 /* if CPUID.0AH: EAX[7:0] > 1 */
883 { 34, 1, "Ovf_FixedCtr2: Overflow status of IA32_FIXED_CTR2",
884 "R/O", PRESENT_BIN, {
885 { BITVAL_EOT }
887 /* if CPUID.0AH: EAX[7:0] > 1 */
888 { 33, 1, "Ovf_FixedCtr1: Overflow status of IA32_FIXED_CTR1",
889 "R/O", PRESENT_BIN, {
890 { BITVAL_EOT }
892 /* if CPUID.0AH: EAX[7:0] > 1 */
893 { 32, 1, "Ovf_FixedCtr0: Overflow status of IA32_FIXED_CTR0",
894 "R/O", PRESENT_BIN, {
895 { BITVAL_EOT }
897 { 31, 28, RESERVED },
898 /* presented only in 06_2EH Nehalem model */
899 { 3, 1, "Ovf_PMC3: Overflow status of IA32_PMC3", "R/O", PRESENT_BIN, {
900 { BITVAL_EOT }
902 /* presented only in 06_2EH Nehalem model */
903 { 2, 1, "Ovf_PMC2: Overflow status of IA32_PMC2", "R/O", PRESENT_BIN, {
904 { BITVAL_EOT }
906 /* if CPUID.0AH: EAX[7:0] > 0 */
907 { 1, 1, "Ovf_PMC1: Overflow status of IA32_PMC1", "R/O", PRESENT_BIN, {
908 { BITVAL_EOT }
910 /* if CPUID.0AH: EAX[7:0] > 0 */
911 { 0, 1, "Ovf_PMC0: Overflow status of IA32_PMC0", "R/O", PRESENT_BIN, {
912 { BITVAL_EOT }
914 { BITS_EOT }
916 /* if CPUID.0AH: EAX[7:0] > 0 */
917 {0x38f, MSRTYPE_RDWR, MSR2(0,0), "IA32_PERF_GLOBAL_CTL",
918 "Global Performance Counter Control", {
919 /* Counter increments while the result of ANDing respective
920 * enable bit in this MSR with corresponding OS or USR bits
921 * in general-purpose or fixed counter control MSR is true.
923 { 63, 29, RESERVED },
924 /* if CPUID.0AH: EAX[7:0] > 1 */
925 { 34, 1, "EN_FIXED_CTR2", "R/W", PRESENT_BIN, {
926 { BITVAL_EOT }
928 /* if CPUID.0AH: EAX[7:0] > 1 */
929 { 33, 1, "EN_FIXED_CTR1", "R/W", PRESENT_BIN, {
930 { BITVAL_EOT }
932 /* if CPUID.0AH: EAX[7:0] > 1 */
933 { 32, 1, "EN_FIXED_CTR0", "R/W", PRESENT_BIN, {
934 { BITVAL_EOT }
936 { 31, 30, RESERVED },
937 /* if CPUID.0AH: EAX[7:0] > 0 */
938 { 1, 1, "EN_PMC1", "R/W", PRESENT_BIN, {
939 { BITVAL_EOT }
941 /* if CPUID.0AH: EAX[7:0] > 0 */
942 { 0, 1, "EN_PMC0", "R/W", PRESENT_BIN, {
943 { BITVAL_EOT }
945 { BITS_EOT }
947 /* if CPUID.0AH: EAX[7:0] > 0 */
948 {0x390, MSRTYPE_RDWR, MSR2(0,0), "IA32_PERF_GLOBAL_OVF_CTL",
949 "Global Performance Counter Overflow Control", {
950 /* if CPUID.0AH: EAX[7:0] > 0 */
951 { 63, 1, "Clear CondChg bit", "R/W", PRESENT_BIN, {
952 { BITVAL_EOT }
954 /* if CPUID.0AH: EAX[7:0] > 0 */
955 { 62, 1, "Clear OvfBuf bit", "R/W", PRESENT_BIN, {
956 { BITVAL_EOT }
958 /* Presented only in 06_2EH Nehalem model */
959 { 61, 1, "Clear Ovf_Uncore bit", "R/W", PRESENT_BIN, {
960 { BITVAL_EOT }
962 { 60, 26, RESERVED },
963 /* if CPUID.0AH: EAX[7:0] > 1 */
964 { 34, 1, "Clear Ovf_FIXED_CTR2 bit", "R/W", PRESENT_BIN, {
965 { BITVAL_EOT }
967 /* if CPUID.0AH: EAX[7:0] > 1 */
968 { 33, 1, "Clear Ovf_FIXED_CTR1 bit", "R/W", PRESENT_BIN, {
969 { BITVAL_EOT }
971 /* if CPUID.0AH: EAX[7:0] > 1 */
972 { 32, 1, "Clear Ovf_FIXED_CTR0 bit", "R/W", PRESENT_BIN, {
973 { BITVAL_EOT }
975 { 31, 30, RESERVED },
976 /* if CPUID.0AH: EAX[7:0] > 0 */
977 { 1, 1, "Clear Ovf_PMC1 bit", "R/W", PRESENT_BIN, {
978 { BITVAL_EOT }
980 /* if CPUID.0AH: EAX[7:0] > 0 */
981 { 0, 1, "Clear Ovf_PMC0 bit", "R/W", PRESENT_BIN, {
982 { BITVAL_EOT }
984 { BITS_EOT }
986 /* See Section 18.6.1.1 of Intel 64 and IA-32 Architectures
987 * Software Developer's Manual, Volume 3,
988 * "Precise Event Based Sampling (PEBS)".
990 {0x3f1, MSRTYPE_RDWR, MSR2(0,0), "IA32_PEBS_ENABLE", "PEBS Control", {
991 { 63, 28, RESERVED },
992 { 35, 1, "Load Latency on IA32_PMC3", "R/W", PRESENT_BIN, {
993 { MSR1(0), "Disabled" },
994 { MSR1(1), "Enabled" },
995 { BITVAL_EOT }
997 { 34, 1, "Load Latency on IA32_PMC2", "R/W", PRESENT_BIN, {
998 { MSR1(0), "Disabled" },
999 { MSR1(1), "Enabled" },
1000 { BITVAL_EOT }
1002 { 33, 1, "Load Latency on IA32_PMC1", "R/W", PRESENT_BIN, {
1003 { MSR1(0), "Disabled" },
1004 { MSR1(1), "Enabled" },
1005 { BITVAL_EOT }
1007 { 32, 1, "Load Latency on IA32_PMC0", "R/W", PRESENT_BIN, {
1008 { MSR1(0), "Disabled" },
1009 { MSR1(1), "Enabled" },
1010 { BITVAL_EOT }
1012 { 31, 28, RESERVED },
1013 { 3, 1, "PEBS on IA32_PMC3", "R/W", PRESENT_BIN, {
1014 { MSR1(0), "Disabled" },
1015 { MSR1(1), "Enabled" },
1016 { BITVAL_EOT }
1018 { 2, 1, "PEBS on IA32_PMC2", "R/W", PRESENT_BIN, {
1019 { MSR1(0), "Disabled" },
1020 { MSR1(1), "Enabled" },
1021 { BITVAL_EOT }
1023 { 1, 1, "PEBS on IA32_PMC1", "R/W", PRESENT_BIN, {
1024 { MSR1(0), "Disabled" },
1025 { MSR1(1), "Enabled" },
1026 { BITVAL_EOT }
1028 { 0, 1, "PEBS on IA32_PMC0", "R/W", PRESENT_BIN, {
1029 { MSR1(0), "Disabled" },
1030 { MSR1(1), "Enabled" },
1031 { BITVAL_EOT }
1033 { BITS_EOT }
1035 #if 0
1036 {0x480, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_BASIC",
1037 "Reporting Register of Basic VMX Capabilities", {
1038 /* Additional info available at
1039 * Appendix A.1, "Basic VMX Information" */
1040 { 63, 10, RESERVED },
1041 { 53, 4, "Memory type for VMREAD and VMWRITE", "R/O", PRESENT_HEX, {
1042 { BITVAL_EOT }
1044 { 49, 1, "Support of dual-treatment of system-management functions",
1045 "R/O", PRESENT_BIN, {
1046 { BITVAL_EOT }
1048 { 48, 1, "Enable full linear address access", "R/O", PRESENT_BIN, {
1049 { BITVAL_EOT }
1051 { 47, 3, RESERVED },
1052 { 44, 13, "VMXON region allocation size", "R/O", PRESENT_DEC, {
1053 { BITVAL_EOT }
1055 { 31, 32, "VMCS Revision Identifier", "R/O", PRESENT_HEX, {
1056 { BITVAL_EOT }
1058 { BITS_EOT }
1060 {0x481, MSRTYPE_RDONLY, MSR2(0,0), "IA32_PINBASED_CTLS",
1061 "Capability Reporting Register of \
1062 Pin-based VM-execution Controls", {
1063 /* Additional info available at Appendix A.3,
1064 * "VM-Execution Controls" */
1065 { BITS_EOT }
1067 {0x482, MSRTYPE_RDONLY, MSR2(0,0), "IA32_PROCBASED_CTLS",
1068 "Capability Reporting Register of \
1069 Primary Processor-based VM-execution Controls", {
1070 /* Additional info available at Appendix A.3,
1071 * "VM-Execution Controls" */
1072 { BITS_EOT }
1074 {0x483, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_EXIT_CTLS",
1075 "Capability Reporting Register of VM-exit Controls", {
1076 /* Additional info available at Appendix A.4,
1077 * "VM-Exit Controls" */
1078 { BITS_EOT }
1080 {0x484, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_ENTRY_CTLS",
1081 "Capability Reporting Register of VM-entry Controls", {
1082 /* Additional info available at Appendix A.5,
1083 * "VM-Entry Controls" */
1084 { BITS_EOT }
1086 {0x485, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_MISC",
1087 "Reporting Register of Miscellaneous VMX Capabilities", {
1088 /* Additional info available at Appendix A.6,
1089 * "Miscellaneous Data" */
1090 { BITS_EOT }
1092 {0x486, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_CR0_FIXED0",
1093 "Capability Reporting Register of CR0 Bits Fixed to 0", {
1094 /* Additional info available at Appendix A.7,
1095 * "VMX-Fixed Bits in CR0" */
1096 { BITS_EOT }
1098 {0x487, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_CR0_FIXED1",
1099 "Capability Reporting Register of CR0 Bits Fixed to 1", {
1100 /* Additional info available at Appendix A.7,
1101 * "VMX-Fixed Bits in CR0" */
1102 { BITS_EOT }
1104 {0x488, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_CR4_FIXED0",
1105 "Capability Reporting Register of CR4 Bits Fixed to 0", {
1106 /* Additional info available at Appendix A.8,
1107 * "VMX-Fixed Bits in CR4" */
1108 { BITS_EOT }
1110 {0x489, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_CR4_FIXED1",
1111 "Capability Reporting Register of CR4 Bits Fixed to 1", {
1112 /* Additional info available at Appendix A.8,
1113 * "VMX-Fixed Bits in CR4" */
1114 { BITS_EOT }
1116 {0x48a, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_VMCS_ENUM",
1117 "Capability Reporting Register of VMCS Field Enumeration", {
1118 /* Additional info available at Appendix A.9,
1119 * "VMCS Enumeration" */
1120 { BITS_EOT }
1122 {0x48b, MSRTYPE_RDONLY, MSR2(0,0), "IA32_VMX_PROCBASED_CTLS2",
1123 "Capability Reporting Register of Secondary \
1124 Processor-based VM-execution Controls", {
1125 /* Additional info available at Appendix A.3,
1126 * "VM-Execution Controls" */
1127 { BITS_EOT }
1129 #endif
1130 {0x600, MSRTYPE_RDWR, MSR2(0,0), "IA32_DS_AREA", "DS Save Area", {
1131 /* Additional info available at Section 18.10.4 of Intel 64
1132 * and IA-32 Architectures Software Developer's Manual,
1133 * "Debug Store (DS) Mechanism".
1135 { 63, 32, RESERVED }, // reserved if not in IA-32e mode
1136 { 31, 32, "Linear address of DS buffer management area",
1137 "R/W", PRESENT_HEX, {
1138 { BITVAL_EOT }
1140 { BITS_EOT }
1142 { MSR_EOT }