mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephane Eranian <eranian@hpl.hp.com>
To: linux-kernel@vger.kernel.org
Cc: Stephane Eranian <eranian@hpl.hp.com>, ak@suse.de
Subject: [PATCH] x86-64 add missing PMU MSR definitions
Date: Sun, 20 Aug 2006 14:48:57 -0700	[thread overview]
Message-ID: <20060820214856.GD27542@frankl.hpl.hp.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

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 <eranian@hpl.hp.com>

-- 
-Stephane

[-- Attachment #2: msr-x86_64.diff --]
[-- Type: text/plain, Size: 380 bytes --]

--- 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

             reply	other threads:[~2006-08-20 21:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-20 21:48 Stephane Eranian [this message]
2006-08-20 23:13 ` Andi Kleen
2006-08-22 10:34   ` Stephane Eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060820214856.GD27542@frankl.hpl.hp.com \
    --to=eranian@hpl.hp.com \
    --cc=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®