[PATCH] x86-64 add missing PMU MSR definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Here is a patch to add a couple of missing MSR definitions related
to Performance monitoring for EM64T. A separate patch contains the
i386 equivalent.

Changelog:
        - add MSR definitions for IA32_PEBS_ENABLE and PEBS_MATRIX_VERT

signed-off-by: stephane eranian <[email protected]>

-- 
-Stephane
--- linux-2.6.17.8.orig/include/asm-x86_64/msr.h	2006-08-06 21:18:54.000000000 -0700
+++ linux-2.6.17.8/include/asm-x86_64/msr.h	2006-08-20 14:40:52.000000000 -0700
@@ -396,4 +396,7 @@ static inline unsigned int cpuid_edx(uns
 #define MSR_P4_U2L_ESCR0 		0x3b0
 #define MSR_P4_U2L_ESCR1 		0x3b1
 
+#define MSR_IA32_PEBS_ENABLE		0x3f1
+#define MSR_PEBS_MATRIX_VERT		0x3f2
+
 #endif

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux