diff options
-rw-r--r-- | include/asm-x86_64/msr.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86_64/msr.h b/include/asm-x86_64/msr.h index 37e194169fac..a745c5008a60 100644 --- a/include/asm-x86_64/msr.h +++ b/include/asm-x86_64/msr.h | |||
@@ -210,6 +210,10 @@ static inline unsigned int cpuid_edx(unsigned int op) | |||
210 | #define MSR_IA32_LASTINTFROMIP 0x1dd | 210 | #define MSR_IA32_LASTINTFROMIP 0x1dd |
211 | #define MSR_IA32_LASTINTTOIP 0x1de | 211 | #define MSR_IA32_LASTINTTOIP 0x1de |
212 | 212 | ||
213 | #define MSR_IA32_PEBS_ENABLE 0x3f1 | ||
214 | #define MSR_IA32_DS_AREA 0x600 | ||
215 | #define MSR_IA32_PERF_CAPABILITIES 0x345 | ||
216 | |||
213 | #define MSR_MTRRfix64K_00000 0x250 | 217 | #define MSR_MTRRfix64K_00000 0x250 |
214 | #define MSR_MTRRfix16K_80000 0x258 | 218 | #define MSR_MTRRfix16K_80000 0x258 |
215 | #define MSR_MTRRfix16K_A0000 0x259 | 219 | #define MSR_MTRRfix16K_A0000 0x259 |
@@ -407,4 +411,13 @@ static inline unsigned int cpuid_edx(unsigned int op) | |||
407 | #define MSR_P4_U2L_ESCR0 0x3b0 | 411 | #define MSR_P4_U2L_ESCR0 0x3b0 |
408 | #define MSR_P4_U2L_ESCR1 0x3b1 | 412 | #define MSR_P4_U2L_ESCR1 0x3b1 |
409 | 413 | ||
414 | /* Intel Core-based CPU performance counters */ | ||
415 | #define MSR_CORE_PERF_FIXED_CTR0 0x309 | ||
416 | #define MSR_CORE_PERF_FIXED_CTR1 0x30a | ||
417 | #define MSR_CORE_PERF_FIXED_CTR2 0x30b | ||
418 | #define MSR_CORE_PERF_FIXED_CTR_CTRL 0x38d | ||
419 | #define MSR_CORE_PERF_GLOBAL_STATUS 0x38e | ||
420 | #define MSR_CORE_PERF_GLOBAL_CTRL 0x38f | ||
421 | #define MSR_CORE_PERF_GLOBAL_OVF_CTRL 0x390 | ||
422 | |||
410 | #endif | 423 | #endif |