18#ifndef __IVY_BRIDGE_MSR_H__
19#define __IVY_BRIDGE_MSR_H__
32#define IS_IVY_BRIDGE_PROCESSOR(DisplayFamily, DisplayModel) \
33 (DisplayFamily == 0x06 && \
35 DisplayModel == 0x3A || \
36 DisplayModel == 0x3E \
58#define MSR_IVY_BRIDGE_PLATFORM_INFO 0x000000CE
75 UINT32 Reserved2 : 12;
103 UINT32 Reserved4 : 5;
115 UINT32 Reserved5 : 8;
143#define MSR_IVY_BRIDGE_PKG_CST_CONFIG_CONTROL 0x000000E2
163 UINT32 Reserved1 : 7;
170 UINT32 Reserved2 : 4;
176 UINT32 Reserved3 : 9;
199 UINT32 Reserved4 : 3;
200 UINT32 Reserved5 : 32;
228#define MSR_IVY_BRIDGE_PP0_ENERGY_STATUS 0x00000639
247#define MSR_IVY_BRIDGE_CONFIG_TDP_NOMINAL 0x00000648
262 UINT32 Reserved1 : 24;
263 UINT32 Reserved2 : 32;
292#define MSR_IVY_BRIDGE_CONFIG_TDP_LEVEL1 0x00000649
306 UINT32 Reserved1 : 1;
312 UINT32 Reserved2 : 8;
318 UINT32 Reserved3 : 1;
324 UINT32 Reserved4 : 1;
349#define MSR_IVY_BRIDGE_CONFIG_TDP_LEVEL2 0x0000064A
363 UINT32 Reserved1 : 1;
369 UINT32 Reserved2 : 8;
375 UINT32 Reserved3 : 1;
381 UINT32 Reserved4 : 1;
407#define MSR_IVY_BRIDGE_CONFIG_TDP_CONTROL 0x0000064B
421 UINT32 Reserved1 : 29;
427 UINT32 Reserved2 : 32;
457#define MSR_IVY_BRIDGE_TURBO_ACTIVATION_RATIO 0x0000064C
472 UINT32 Reserved1 : 23;
478 UINT32 Reserved2 : 32;
508#define MSR_IVY_BRIDGE_PPIN_CTL 0x0000004E
536 UINT32 Reserved1 : 30;
537 UINT32 Reserved2 : 32;
569#define MSR_IVY_BRIDGE_PPIN 0x0000004F
589#define MSR_IVY_BRIDGE_PLATFORM_INFO_1 0x000000CE
599 UINT32 Reserved1 : 8;
606 UINT32 Reserved2 : 7;
615 UINT32 Reserved3 : 4;
636 UINT32 Reserved4 : 1;
637 UINT32 Reserved5 : 8;
644 UINT32 Reserved6 : 16;
670#define MSR_IVY_BRIDGE_ERROR_CONTROL 0x0000017F
680 UINT32 Reserved1 : 1;
686 UINT32 Reserved2 : 30;
687 UINT32 Reserved3 : 32;
717#define MSR_IVY_BRIDGE_TEMPERATURE_TARGET 0x000001A2
727 UINT32 Reserved1 : 16;
740 UINT32 Reserved2 : 4;
741 UINT32 Reserved3 : 32;
771#define MSR_IVY_BRIDGE_TURBO_RATIO_LIMIT1 0x000001AE
848#define MSR_IVY_BRIDGE_IA32_MC6_MISC 0x0000041B
866 UINT32 Reserved1 : 7;
875 UINT32 Reserved2 : 24;
906#define MSR_IVY_BRIDGE_IA32_MC29_CTL 0x00000474
907#define MSR_IVY_BRIDGE_IA32_MC30_CTL 0x00000478
908#define MSR_IVY_BRIDGE_IA32_MC31_CTL 0x0000047C
934#define MSR_IVY_BRIDGE_IA32_MC29_STATUS 0x00000475
935#define MSR_IVY_BRIDGE_IA32_MC30_STATUS 0x00000479
936#define MSR_IVY_BRIDGE_IA32_MC31_STATUS 0x0000047D
962#define MSR_IVY_BRIDGE_IA32_MC29_ADDR 0x00000476
963#define MSR_IVY_BRIDGE_IA32_MC30_ADDR 0x0000047A
964#define MSR_IVY_BRIDGE_IA32_MC31_ADDR 0x0000047E
990#define MSR_IVY_BRIDGE_IA32_MC29_MISC 0x00000477
991#define MSR_IVY_BRIDGE_IA32_MC30_MISC 0x0000047B
992#define MSR_IVY_BRIDGE_IA32_MC31_MISC 0x0000047F
1010#define MSR_IVY_BRIDGE_PKG_PERF_STATUS 0x00000613
1029#define MSR_IVY_BRIDGE_DRAM_POWER_LIMIT 0x00000618
1046#define MSR_IVY_BRIDGE_DRAM_ENERGY_STATUS 0x00000619
1064#define MSR_IVY_BRIDGE_DRAM_PERF_STATUS 0x0000061B
1082#define MSR_IVY_BRIDGE_DRAM_POWER_INFO 0x0000061C
1102#define MSR_IVY_BRIDGE_PEBS_ENABLE 0x000003F1
1128 UINT32 Reserved1 : 28;
1145 UINT32 Reserved2 : 28;
1169#define MSR_IVY_BRIDGE_PMON_GLOBAL_CTL 0x00000C00
1187#define MSR_IVY_BRIDGE_PMON_GLOBAL_STATUS 0x00000C01
1205#define MSR_IVY_BRIDGE_PMON_GLOBAL_CONFIG 0x00000C06
1223#define MSR_IVY_BRIDGE_U_PMON_BOX_STATUS 0x00000C15
1241#define MSR_IVY_BRIDGE_PCU_PMON_BOX_STATUS 0x00000C35
1259#define MSR_IVY_BRIDGE_C0_PMON_BOX_FILTER1 0x00000D1A
1277#define MSR_IVY_BRIDGE_C1_PMON_BOX_FILTER1 0x00000D3A
1295#define MSR_IVY_BRIDGE_C2_PMON_BOX_FILTER1 0x00000D5A
1313#define MSR_IVY_BRIDGE_C3_PMON_BOX_FILTER1 0x00000D7A
1331#define MSR_IVY_BRIDGE_C4_PMON_BOX_FILTER1 0x00000D9A
1349#define MSR_IVY_BRIDGE_C5_PMON_BOX_FILTER1 0x00000DBA
1367#define MSR_IVY_BRIDGE_C6_PMON_BOX_FILTER1 0x00000DDA
1385#define MSR_IVY_BRIDGE_C7_PMON_BOX_FILTER1 0x00000DFA
1403#define MSR_IVY_BRIDGE_C8_PMON_BOX_CTL 0x00000E04
1421#define MSR_IVY_BRIDGE_C8_PMON_EVNTSEL0 0x00000E10
1439#define MSR_IVY_BRIDGE_C8_PMON_EVNTSEL1 0x00000E11
1457#define MSR_IVY_BRIDGE_C8_PMON_EVNTSEL2 0x00000E12
1475#define MSR_IVY_BRIDGE_C8_PMON_EVNTSEL3 0x00000E13
1493#define MSR_IVY_BRIDGE_C8_PMON_BOX_FILTER 0x00000E14
1511#define MSR_IVY_BRIDGE_C8_PMON_CTR0 0x00000E16
1529#define MSR_IVY_BRIDGE_C8_PMON_CTR1 0x00000E17
1547#define MSR_IVY_BRIDGE_C8_PMON_CTR2 0x00000E18
1565#define MSR_IVY_BRIDGE_C8_PMON_CTR3 0x00000E19
1583#define MSR_IVY_BRIDGE_C8_PMON_BOX_FILTER1 0x00000E1A
1601#define MSR_IVY_BRIDGE_C9_PMON_BOX_CTL 0x00000E24
1619#define MSR_IVY_BRIDGE_C9_PMON_EVNTSEL0 0x00000E30
1637#define MSR_IVY_BRIDGE_C9_PMON_EVNTSEL1 0x00000E31
1655#define MSR_IVY_BRIDGE_C9_PMON_EVNTSEL2 0x00000E32
1673#define MSR_IVY_BRIDGE_C9_PMON_EVNTSEL3 0x00000E33
1691#define MSR_IVY_BRIDGE_C9_PMON_BOX_FILTER 0x00000E34
1709#define MSR_IVY_BRIDGE_C9_PMON_CTR0 0x00000E36
1727#define MSR_IVY_BRIDGE_C9_PMON_CTR1 0x00000E37
1745#define MSR_IVY_BRIDGE_C9_PMON_CTR2 0x00000E38
1763#define MSR_IVY_BRIDGE_C9_PMON_CTR3 0x00000E39
1781#define MSR_IVY_BRIDGE_C9_PMON_BOX_FILTER1 0x00000E3A
1799#define MSR_IVY_BRIDGE_C10_PMON_BOX_CTL 0x00000E44
1817#define MSR_IVY_BRIDGE_C10_PMON_EVNTSEL0 0x00000E50
1835#define MSR_IVY_BRIDGE_C10_PMON_EVNTSEL1 0x00000E51
1853#define MSR_IVY_BRIDGE_C10_PMON_EVNTSEL2 0x00000E52
1871#define MSR_IVY_BRIDGE_C10_PMON_EVNTSEL3 0x00000E53
1889#define MSR_IVY_BRIDGE_C10_PMON_BOX_FILTER 0x00000E54
1907#define MSR_IVY_BRIDGE_C10_PMON_CTR0 0x00000E56
1925#define MSR_IVY_BRIDGE_C10_PMON_CTR1 0x00000E57
1943#define MSR_IVY_BRIDGE_C10_PMON_CTR2 0x00000E58
1961#define MSR_IVY_BRIDGE_C10_PMON_CTR3 0x00000E59
1979#define MSR_IVY_BRIDGE_C10_PMON_BOX_FILTER1 0x00000E5A
1997#define MSR_IVY_BRIDGE_C11_PMON_BOX_CTL 0x00000E64
2015#define MSR_IVY_BRIDGE_C11_PMON_EVNTSEL0 0x00000E70
2033#define MSR_IVY_BRIDGE_C11_PMON_EVNTSEL1 0x00000E71
2051#define MSR_IVY_BRIDGE_C11_PMON_EVNTSEL2 0x00000E72
2069#define MSR_IVY_BRIDGE_C11_PMON_EVNTSEL3 0x00000E73
2087#define MSR_IVY_BRIDGE_C11_PMON_BOX_FILTER 0x00000E74
2105#define MSR_IVY_BRIDGE_C11_PMON_CTR0 0x00000E76
2123#define MSR_IVY_BRIDGE_C11_PMON_CTR1 0x00000E77
2141#define MSR_IVY_BRIDGE_C11_PMON_CTR2 0x00000E78
2159#define MSR_IVY_BRIDGE_C11_PMON_CTR3 0x00000E79
2177#define MSR_IVY_BRIDGE_C11_PMON_BOX_FILTER1 0x00000E7A
2195#define MSR_IVY_BRIDGE_C12_PMON_BOX_CTL 0x00000E84
2213#define MSR_IVY_BRIDGE_C12_PMON_EVNTSEL0 0x00000E90
2231#define MSR_IVY_BRIDGE_C12_PMON_EVNTSEL1 0x00000E91
2249#define MSR_IVY_BRIDGE_C12_PMON_EVNTSEL2 0x00000E92
2267#define MSR_IVY_BRIDGE_C12_PMON_EVNTSEL3 0x00000E93
2285#define MSR_IVY_BRIDGE_C12_PMON_BOX_FILTER 0x00000E94
2303#define MSR_IVY_BRIDGE_C12_PMON_CTR0 0x00000E96
2321#define MSR_IVY_BRIDGE_C12_PMON_CTR1 0x00000E97
2339#define MSR_IVY_BRIDGE_C12_PMON_CTR2 0x00000E98
2357#define MSR_IVY_BRIDGE_C12_PMON_CTR3 0x00000E99
2375#define MSR_IVY_BRIDGE_C12_PMON_BOX_FILTER1 0x00000E9A
2393#define MSR_IVY_BRIDGE_C13_PMON_BOX_CTL 0x00000EA4
2411#define MSR_IVY_BRIDGE_C13_PMON_EVNTSEL0 0x00000EB0
2429#define MSR_IVY_BRIDGE_C13_PMON_EVNTSEL1 0x00000EB1
2447#define MSR_IVY_BRIDGE_C13_PMON_EVNTSEL2 0x00000EB2
2465#define MSR_IVY_BRIDGE_C13_PMON_EVNTSEL3 0x00000EB3
2483#define MSR_IVY_BRIDGE_C13_PMON_BOX_FILTER 0x00000EB4
2501#define MSR_IVY_BRIDGE_C13_PMON_CTR0 0x00000EB6
2519#define MSR_IVY_BRIDGE_C13_PMON_CTR1 0x00000EB7
2537#define MSR_IVY_BRIDGE_C13_PMON_CTR2 0x00000EB8
2555#define MSR_IVY_BRIDGE_C13_PMON_CTR3 0x00000EB9
2573#define MSR_IVY_BRIDGE_C13_PMON_BOX_FILTER1 0x00000EBA
2591#define MSR_IVY_BRIDGE_C14_PMON_BOX_CTL 0x00000EC4
2609#define MSR_IVY_BRIDGE_C14_PMON_EVNTSEL0 0x00000ED0
2627#define MSR_IVY_BRIDGE_C14_PMON_EVNTSEL1 0x00000ED1
2645#define MSR_IVY_BRIDGE_C14_PMON_EVNTSEL2 0x00000ED2
2663#define MSR_IVY_BRIDGE_C14_PMON_EVNTSEL3 0x00000ED3
2681#define MSR_IVY_BRIDGE_C14_PMON_BOX_FILTER 0x00000ED4
2699#define MSR_IVY_BRIDGE_C14_PMON_CTR0 0x00000ED6
2717#define MSR_IVY_BRIDGE_C14_PMON_CTR1 0x00000ED7
2735#define MSR_IVY_BRIDGE_C14_PMON_CTR2 0x00000ED8
2753#define MSR_IVY_BRIDGE_C14_PMON_CTR3 0x00000ED9
2771#define MSR_IVY_BRIDGE_C14_PMON_BOX_FILTER1 0x00000EDA
UINT32 Config_TDP_LVL1_Ratio
UINT32 Config_TDP_LVL2_Ratio
UINT32 PCIExpressSegmentNumber
UINT32 PCIExpressRequestorID
UINT32 RecoverableAddressLSB
UINT32 MaximumNonTurboRatio
UINT32 MaximumEfficiencyRatio
UINT32 MinimumOperatingRatio
UINT32 MaximumNonTurboRatio
UINT32 LowPowerModeSupport
UINT32 MaximumEfficiencyRatio
UINT32 TCCActivationOffset
UINT32 MAX_NON_TURBO_RATIO
UINT32 TURBO_ACTIVATION_RATIO_Lock
UINT32 TurboRatioLimitConfigurationSemaphore