From: Andi Kleen <andi@firstfloor.org>
To: linux-kernel@vger.kernel.org, x86@kernel.org,
robert.richter@amd.com, oprofile-list@lists.sf.net
Subject: [PATCH] Add Xeon 7500 series support to oprofile
Date: Thu, 21 Jan 2010 23:26:27 +0100 [thread overview]
Message-ID: <20100121222627.GA22897@basil.fritz.box> (raw)
Add Xeon 7500 series support to oprofile
Straight forward: it's the same as Core i7, so just detect
the model number. No user space changes needed.
Very simple patch, so it could be still merged for .33?
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
arch/x86/oprofile/nmi_int.c | 1 +
1 file changed, 1 insertion(+)
Index: linux/arch/x86/oprofile/nmi_int.c
===================================================================
--- linux.orig/arch/x86/oprofile/nmi_int.c
+++ linux/arch/x86/oprofile/nmi_int.c
@@ -598,6 +598,7 @@ static int __init ppro_init(char **cpu_t
case 15: case 23:
*cpu_type = "i386/core_2";
break;
+ case 0x2e:
case 26:
spec = &op_arch_perfmon_spec;
*cpu_type = "i386/core_i7";
next reply other threads:[~2010-01-21 22:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-21 22:26 Andi Kleen [this message]
2010-01-22 2:14 ` [PATCH] Add Xeon 7500 series support to oprofile Valdis.Kletnieks
2010-01-22 8:36 ` Andi Kleen
2010-01-22 16:23 ` John Villalovos
2010-01-25 14:32 ` Robert Richter
2010-01-25 14:27 ` Robert Richter
2010-01-25 14:34 ` Andi Kleen
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=20100121222627.GA22897@basil.fritz.box \
--to=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oprofile-list@lists.sf.net \
--cc=robert.richter@amd.com \
--cc=x86@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.