Skip to contentSkip to conversation

i386 add missing PMU MSR definitions

PATCH New Stephane Eranian 1 participant 1 message Aug 20, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386 add missing PMU MSR definitions

Hello,

Here is a patch to add a couple of missing MSR definitions related to Performance monitoring (on P4/Xeon). A separate patch is to follow for the X86-64 equivalent.

Changelog:
- add MSR definitions for IA32_PEBS_ENABLE and PEBS_MATRIX_VERT

Signature · 1 line
-Stephane
include/asm-i386/msr.h +3 -0
@@ -225,6 +225,9 @@ static inline void wrmsrl (unsigned long
 #define MSR_P4_U2L_ESCR0 		0x3b0
 #define MSR_P4_U2L_ESCR1 		0x3b1
 
+#define MSR_IA32_PEBS_ENABLE		0x3f1
+#define MSR_PEBS_MATRIX_VERT		0x3f2
+
 /* AMD Defined MSRs */
 #define MSR_K6_EFER			0xC0000080
 #define MSR_K6_STAR			0xC0000081