diff options
| -rw-r--r-- | tools/arch/x86/include/asm/msr-index.h | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/tools/arch/x86/include/asm/msr-index.h b/tools/arch/x86/include/asm/msr-index.h index d5e517d1c3dd..12c9684d59ba 100644 --- a/tools/arch/x86/include/asm/msr-index.h +++ b/tools/arch/x86/include/asm/msr-index.h @@ -41,6 +41,10 @@  /* Intel MSRs. Some also available on other CPUs */ +#define MSR_TEST_CTRL				0x00000033 +#define MSR_TEST_CTRL_SPLIT_LOCK_DETECT_BIT	29 +#define MSR_TEST_CTRL_SPLIT_LOCK_DETECT		BIT(MSR_TEST_CTRL_SPLIT_LOCK_DETECT_BIT) +  #define MSR_IA32_SPEC_CTRL		0x00000048 /* Speculation Control */  #define SPEC_CTRL_IBRS			BIT(0)	   /* Indirect Branch Restricted Speculation */  #define SPEC_CTRL_STIBP_SHIFT		1	   /* Single Thread Indirect Branch Predictor (STIBP) bit */ @@ -70,6 +74,11 @@   */  #define MSR_IA32_UMWAIT_CONTROL_TIME_MASK	(~0x03U) +/* Abbreviated from Intel SDM name IA32_CORE_CAPABILITIES */ +#define MSR_IA32_CORE_CAPS			  0x000000cf +#define MSR_IA32_CORE_CAPS_SPLIT_LOCK_DETECT_BIT  5 +#define MSR_IA32_CORE_CAPS_SPLIT_LOCK_DETECT	  BIT(MSR_IA32_CORE_CAPS_SPLIT_LOCK_DETECT_BIT) +  #define MSR_PKG_CST_CONFIG_CONTROL	0x000000e2  #define NHM_C3_AUTO_DEMOTE		(1UL << 25)  #define NHM_C1_AUTO_DEMOTE		(1UL << 26) | 
