* [PATCH] i386 add missing PMU MSR definitions
@ 2006-08-20 21:45 Stephane Eranian
0 siblings, 0 replies; only message in thread
From: Stephane Eranian @ 2006-08-20 21:45 UTC (permalink / raw)
To: linux-kernel; +Cc: Stephane Eranian
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
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
signed-off-by: stephane eranian <eranian@hpl.hp.com>
--
-Stephane
[-- Attachment #2: msr-i386.diff --]
[-- Type: text/plain, Size: 460 bytes --]
--- linux-2.6.17.8.orig/include/asm-i386/msr.h 2006-08-06 21:18:54.000000000 -0700
+++ linux-2.6.17.8/include/asm-i386/msr.h 2006-08-20 14:38:35.000000000 -0700
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-20 21:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-20 21:45 [PATCH] i386 add missing PMU MSR definitions Stephane Eranian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®