18#ifndef __GOLDMONT_MSR_H__
19#define __GOLDMONT_MSR_H__
32#define IS_GOLDMONT_PROCESSOR(DisplayFamily, DisplayModel) \
33 (DisplayFamily == 0x06 && \
35 DisplayModel == 0x5C \
57#define MSR_GOLDMONT_FEATURE_CONTROL 0x0000003A
93 UINT32 Reserved3 : 13;
94 UINT32 Reserved4 : 32;
124#define MSR_GOLDMONT_PLATFORM_INFO 0x000000CE
134 UINT32 Reserved1 : 8;
141 UINT32 Reserved2 : 12;
162 UINT32 Reserved3 : 1;
163 UINT32 Reserved4 : 8;
170 UINT32 Reserved5 : 16;
200#define MSR_GOLDMONT_PKG_CST_CONFIG_CONTROL 0x000000E2
219 UINT32 Reserved1 : 6;
226 UINT32 Reserved2 : 4;
232 UINT32 Reserved3 : 16;
233 UINT32 Reserved4 : 32;
264#define MSR_GOLDMONT_SMM_MCA_CAP 0x0000017D
274 UINT32 Reserved1 : 32;
275 UINT32 Reserved2 : 26;
288 UINT32 Reserved3 : 4;
315#define MSR_GOLDMONT_IA32_MISC_ENABLE 0x000001A0
329 UINT32 Reserved1 : 2;
335 UINT32 Reserved2 : 3;
340 UINT32 Reserved3 : 3;
350 UINT32 Reserved4 : 3;
356 UINT32 Reserved5 : 1;
361 UINT32 Reserved6 : 3;
370 UINT32 Reserved7 : 8;
371 UINT32 Reserved8 : 2;
376 UINT32 Reserved9 : 3;
389 UINT32 Reserved10 : 25;
415#define MSR_GOLDMONT_MISC_FEATURE_CONTROL 0x000001A4
431 UINT32 Reserved1 : 1;
438 UINT32 Reserved2 : 29;
439 UINT32 Reserved3 : 32;
469#define MSR_GOLDMONT_MISC_PWR_MGMT 0x000001AA
486 UINT32 Reserved1 : 21;
492 UINT32 Reserved2 : 9;
493 UINT32 Reserved3 : 32;
528#define MSR_GOLDMONT_TURBO_RATIO_LIMIT 0x000001AD
612#define MSR_GOLDMONT_TURBO_GROUP_CORECNT 0x000001AE
696#define MSR_GOLDMONT_LBR_SELECT 0x000001C8
746 UINT32 Reserved1 : 22;
747 UINT32 Reserved2 : 32;
777#define MSR_GOLDMONT_LASTBRANCH_TOS 0x000001C9
797#define MSR_GOLDMONT_POWER_CTL 0x000001FC
807 UINT32 Reserved1 : 1;
814 UINT32 Reserved2 : 30;
815 UINT32 Reserved3 : 32;
845#define MSR_GOLDMONT_SGXOWNEREPOCH0 0x00000300
850#define MSR_GOLDMONT_SGXOWNER0 MSR_GOLDMONT_SGXOWNEREPOCH0
868#define MSR_GOLDMONT_SGXOWNEREPOCH1 0x00000301
873#define MSR_GOLDMONT_SGXOWNER1 MSR_GOLDMONT_SGXOWNEREPOCH1
894#define MSR_GOLDMONT_IA32_PERF_GLOBAL_STATUS_RESET 0x00000390
921 UINT32 Reserved1 : 28;
934 UINT32 Reserved2 : 20;
939 UINT32 Reserved3 : 2;
990#define MSR_GOLDMONT_IA32_PERF_GLOBAL_STATUS_SET 0x00000391
1017 UINT32 Reserved1 : 28;
1030 UINT32 Reserved2 : 20;
1035 UINT32 Reserved3 : 2;
1056 UINT32 Reserved4 : 1;
1083#define MSR_GOLDMONT_PEBS_ENABLE 0x000003F1
1098 UINT32 Reserved1 : 31;
1099 UINT32 Reserved2 : 32;
1130#define MSR_GOLDMONT_PKG_C3_RESIDENCY 0x000003F8
1151#define MSR_GOLDMONT_PKG_C6_RESIDENCY 0x000003F9
1172#define MSR_GOLDMONT_CORE_C3_RESIDENCY 0x000003FC
1193#define MSR_GOLDMONT_SMM_FEATURE_CONTROL 0x000004E0
1208 UINT32 Reserved1 : 1;
1218 UINT32 Reserved2 : 29;
1219 UINT32 Reserved3 : 32;
1251#define MSR_GOLDMONT_SMM_DELAYED 0x000004E2
1272#define MSR_GOLDMONT_SMM_BLOCKED 0x000004E3
1292#define MSR_IA32_RTIT_CTL 0x00000570
1318 UINT32 Reserved1 : 3;
1339 UINT32 Reserved2 : 1;
1348 UINT32 Reserved3 : 1;
1353 UINT32 Reserved4 : 1;
1358 UINT32 Reserved5 : 4;
1367 UINT32 Reserved6 : 24;
1393#define MSR_GOLDMONT_RAPL_POWER_UNIT 0x00000606
1410 UINT32 Reserved1 : 4;
1418 UINT32 Reserved2 : 3;
1426 UINT32 Reserved3 : 12;
1427 UINT32 Reserved4 : 32;
1459#define MSR_GOLDMONT_PKGC3_IRTL 0x0000060A
1481 UINT32 Reserved1 : 2;
1487 UINT32 Reserved2 : 16;
1488 UINT32 Reserved3 : 32;
1522#define MSR_GOLDMONT_PKGC_IRTL1 0x0000060B
1544 UINT32 Reserved1 : 2;
1550 UINT32 Reserved2 : 16;
1551 UINT32 Reserved3 : 32;
1584#define MSR_GOLDMONT_PKGC_IRTL2 0x0000060C
1606 UINT32 Reserved1 : 2;
1612 UINT32 Reserved2 : 16;
1613 UINT32 Reserved3 : 32;
1644#define MSR_GOLDMONT_PKG_C2_RESIDENCY 0x0000060D
1663#define MSR_GOLDMONT_PKG_POWER_LIMIT 0x00000610
1680#define MSR_GOLDMONT_PKG_ENERGY_STATUS 0x00000611
1697#define MSR_GOLDMONT_PKG_PERF_STATUS 0x00000613
1717#define MSR_GOLDMONT_PKG_POWER_INFO 0x00000614
1732 UINT32 Reserved1 : 1;
1738 UINT32 Reserved2 : 1;
1744 UINT32 Reserved3 : 1;
1753 UINT32 Reserved4 : 9;
1778#define MSR_GOLDMONT_DRAM_POWER_LIMIT 0x00000618
1795#define MSR_GOLDMONT_DRAM_ENERGY_STATUS 0x00000619
1813#define MSR_GOLDMONT_DRAM_PERF_STATUS 0x0000061B
1831#define MSR_GOLDMONT_DRAM_POWER_INFO 0x0000061C
1851#define MSR_GOLDMONT_PKG_C10_RESIDENCY 0x00000632
1869#define MSR_GOLDMONT_PP0_ENERGY_STATUS 0x00000639
1887#define MSR_GOLDMONT_PP1_ENERGY_STATUS 0x00000641
1907#define MSR_GOLDMONT_TURBO_ACTIVATION_RATIO 0x0000064C
1922 UINT32 Reserved1 : 23;
1928 UINT32 Reserved2 : 32;
1959#define MSR_GOLDMONT_CORE_PERF_LIMIT_REASONS 0x0000064F
1992 UINT32 Reserved1 : 5;
2027 UINT32 Reserved2 : 1;
2054 UINT32 Reserved3 : 5;
2094 UINT32 Reserved4 : 1;
2095 UINT32 Reserved5 : 32;
2161#define MSR_GOLDMONT_LASTBRANCH_0_FROM_IP 0x00000680
2162#define MSR_GOLDMONT_LASTBRANCH_1_FROM_IP 0x00000681
2163#define MSR_GOLDMONT_LASTBRANCH_2_FROM_IP 0x00000682
2164#define MSR_GOLDMONT_LASTBRANCH_3_FROM_IP 0x00000683
2165#define MSR_GOLDMONT_LASTBRANCH_4_FROM_IP 0x00000684
2166#define MSR_GOLDMONT_LASTBRANCH_5_FROM_IP 0x00000685
2167#define MSR_GOLDMONT_LASTBRANCH_6_FROM_IP 0x00000686
2168#define MSR_GOLDMONT_LASTBRANCH_7_FROM_IP 0x00000687
2169#define MSR_GOLDMONT_LASTBRANCH_8_FROM_IP 0x00000688
2170#define MSR_GOLDMONT_LASTBRANCH_9_FROM_IP 0x00000689
2171#define MSR_GOLDMONT_LASTBRANCH_10_FROM_IP 0x0000068A
2172#define MSR_GOLDMONT_LASTBRANCH_11_FROM_IP 0x0000068B
2173#define MSR_GOLDMONT_LASTBRANCH_12_FROM_IP 0x0000068C
2174#define MSR_GOLDMONT_LASTBRANCH_13_FROM_IP 0x0000068D
2175#define MSR_GOLDMONT_LASTBRANCH_14_FROM_IP 0x0000068E
2176#define MSR_GOLDMONT_LASTBRANCH_15_FROM_IP 0x0000068F
2177#define MSR_GOLDMONT_LASTBRANCH_16_FROM_IP 0x00000690
2178#define MSR_GOLDMONT_LASTBRANCH_17_FROM_IP 0x00000691
2179#define MSR_GOLDMONT_LASTBRANCH_18_FROM_IP 0x00000692
2180#define MSR_GOLDMONT_LASTBRANCH_19_FROM_IP 0x00000693
2181#define MSR_GOLDMONT_LASTBRANCH_20_FROM_IP 0x00000694
2182#define MSR_GOLDMONT_LASTBRANCH_21_FROM_IP 0x00000695
2183#define MSR_GOLDMONT_LASTBRANCH_22_FROM_IP 0x00000696
2184#define MSR_GOLDMONT_LASTBRANCH_23_FROM_IP 0x00000697
2185#define MSR_GOLDMONT_LASTBRANCH_24_FROM_IP 0x00000698
2186#define MSR_GOLDMONT_LASTBRANCH_25_FROM_IP 0x00000699
2187#define MSR_GOLDMONT_LASTBRANCH_26_FROM_IP 0x0000069A
2188#define MSR_GOLDMONT_LASTBRANCH_27_FROM_IP 0x0000069B
2189#define MSR_GOLDMONT_LASTBRANCH_28_FROM_IP 0x0000069C
2190#define MSR_GOLDMONT_LASTBRANCH_29_FROM_IP 0x0000069D
2191#define MSR_GOLDMONT_LASTBRANCH_30_FROM_IP 0x0000069E
2192#define MSR_GOLDMONT_LASTBRANCH_31_FROM_IP 0x0000069F
2284#define MSR_GOLDMONT_LASTBRANCH_0_TO_IP 0x000006C0
2285#define MSR_GOLDMONT_LASTBRANCH_1_TO_IP 0x000006C1
2286#define MSR_GOLDMONT_LASTBRANCH_2_TO_IP 0x000006C2
2287#define MSR_GOLDMONT_LASTBRANCH_3_TO_IP 0x000006C3
2288#define MSR_GOLDMONT_LASTBRANCH_4_TO_IP 0x000006C4
2289#define MSR_GOLDMONT_LASTBRANCH_5_TO_IP 0x000006C5
2290#define MSR_GOLDMONT_LASTBRANCH_6_TO_IP 0x000006C6
2291#define MSR_GOLDMONT_LASTBRANCH_7_TO_IP 0x000006C7
2292#define MSR_GOLDMONT_LASTBRANCH_8_TO_IP 0x000006C8
2293#define MSR_GOLDMONT_LASTBRANCH_9_TO_IP 0x000006C9
2294#define MSR_GOLDMONT_LASTBRANCH_10_TO_IP 0x000006CA
2295#define MSR_GOLDMONT_LASTBRANCH_11_TO_IP 0x000006CB
2296#define MSR_GOLDMONT_LASTBRANCH_12_TO_IP 0x000006CC
2297#define MSR_GOLDMONT_LASTBRANCH_13_TO_IP 0x000006CD
2298#define MSR_GOLDMONT_LASTBRANCH_14_TO_IP 0x000006CE
2299#define MSR_GOLDMONT_LASTBRANCH_15_TO_IP 0x000006CF
2300#define MSR_GOLDMONT_LASTBRANCH_16_TO_IP 0x000006D0
2301#define MSR_GOLDMONT_LASTBRANCH_17_TO_IP 0x000006D1
2302#define MSR_GOLDMONT_LASTBRANCH_18_TO_IP 0x000006D2
2303#define MSR_GOLDMONT_LASTBRANCH_19_TO_IP 0x000006D3
2304#define MSR_GOLDMONT_LASTBRANCH_20_TO_IP 0x000006D4
2305#define MSR_GOLDMONT_LASTBRANCH_21_TO_IP 0x000006D5
2306#define MSR_GOLDMONT_LASTBRANCH_22_TO_IP 0x000006D6
2307#define MSR_GOLDMONT_LASTBRANCH_23_TO_IP 0x000006D7
2308#define MSR_GOLDMONT_LASTBRANCH_24_TO_IP 0x000006D8
2309#define MSR_GOLDMONT_LASTBRANCH_25_TO_IP 0x000006D9
2310#define MSR_GOLDMONT_LASTBRANCH_26_TO_IP 0x000006DA
2311#define MSR_GOLDMONT_LASTBRANCH_27_TO_IP 0x000006DB
2312#define MSR_GOLDMONT_LASTBRANCH_28_TO_IP 0x000006DC
2313#define MSR_GOLDMONT_LASTBRANCH_29_TO_IP 0x000006DD
2314#define MSR_GOLDMONT_LASTBRANCH_30_TO_IP 0x000006DE
2315#define MSR_GOLDMONT_LASTBRANCH_31_TO_IP 0x000006DF
2368#define MSR_GOLDMONT_IA32_PQR_ASSOC 0x00000C8F
2378 UINT32 Reserved1 : 32;
2383 UINT32 Reserved2 : 30;
2413#define MSR_GOLDMONT_IA32_L2_QOS_MASK_0 0x00000D10
2414#define MSR_GOLDMONT_IA32_L2_QOS_MASK_1 0x00000D11
2415#define MSR_GOLDMONT_IA32_L2_QOS_MASK_2 0x00000D12
2431 UINT32 Reserved1 : 24;
2432 UINT32 Reserved2 : 32;
2463#define MSR_GOLDMONT_IA32_L2_QOS_MASK_3 0x00000D13
2477 UINT32 Reserved1 : 12;
2478 UINT32 Reserved2 : 32;
UINT32 MaximumEfficiencyFrequencyLog
UINT32 ElectricalDesignPointLog
UINT32 TurboTransitionAttenuationLog
UINT32 MaxTurboLimitStatus
UINT32 TurboTransitionAttenuationStatus
UINT32 ElectricalDesignPointStatus
UINT32 MaximumEfficiencyFrequencyStatus
UINT32 PowerLimitingStatus
UINT32 CorePowerLimitingLog
UINT32 VRThermAlertStatus
UINT32 EnableVmxInsideSmx
UINT32 SenterLocalFunctionEnables
UINT32 EnableVmxOutsideSmx
UINT32 SenterGlobalEnable
UINT32 AutomaticThermalControlCircuit
UINT32 PerformanceMonitoring
UINT32 xTPR_Message_Disable
UINT32 FromLinearAddressHi
UINT32 TargetLinearAddressHi
UINT32 TargetLinearAddress
UINT32 L2HardwarePrefetcherDisable
UINT32 DCUHardwarePrefetcherDisable
UINT32 EISTHardwareCoordinationDisable
UINT32 ThermalInterruptCoordinationEnable
UINT32 InterruptResponseTimeLimit
UINT32 InterruptResponseTimeLimit
UINT32 InterruptResponseTimeLimit
UINT32 MaximumNonTurboRatio
UINT32 MaximumEfficiencyRatio
UINT32 SMM_Code_Access_Chk
UINT32 Long_Flow_Indication
UINT32 MAX_NON_TURBO_RATIO
UINT32 TURBO_ACTIVATION_RATIO_Lock
UINT32 CoreCountThresholdGroup7
UINT32 CoreCountThresholdGroup2
UINT32 CoreCountThresholdGroup4
UINT32 CoreCountThresholdGroup5
UINT32 CoreCountThresholdGroup3
UINT32 CoreCountThresholdGroup0
UINT32 CoreCountThresholdGroup6
UINT32 CoreCountThresholdGroup1
UINT32 MaxRatioLimitGroup7
UINT32 MaxRatioLimitGroup2
UINT32 MaxRatioLimitGroup1
UINT32 MaxRatioLimitGroup6
UINT32 MaxRatioLimitGroup0
UINT32 MaxRatioLimitGroup4
UINT32 MaxRatioLimitGroup5
UINT32 MaxRatioLimitGroup3