public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] oprofile: Add Support for Intel CPU Family 6 / Model 29
@ 2010-09-21  7:26 Jiri Olsa
  2010-09-21  8:20 ` Robert Richter
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Jiri Olsa @ 2010-09-21  7:26 UTC (permalink / raw)
  To: robert.richter; +Cc: linux-kernel, oprofile-list, tdm.rhbz, Jiri Olsa

This patch adds CPU type detection for dunnington processor (Family 6 / Model 29)
to be identified as core 2 family cpu type (wikipedia source).

I tested oprofile on Intel(R) Xeon(R) CPU E7440 reporting itself as model 29,
and it runs without an issue.

wbr,
jirka


Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
 arch/x86/oprofile/nmi_int.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index 009b819..f1575c9 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -674,6 +674,7 @@ static int __init ppro_init(char **cpu_type)
 	case 0x0f:
 	case 0x16:
 	case 0x17:
+	case 0x1d:
 		*cpu_type = "i386/core_2";
 		break;
 	case 0x1a:
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-09-27  7:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-21  7:26 [PATCH] oprofile: Add Support for Intel CPU Family 6 / Model 29 Jiri Olsa
2010-09-21  8:20 ` Robert Richter
2010-09-21 10:09   ` Andi Kleen
2010-09-21 10:33 ` Robert Richter
2010-09-27  7:39   ` [GIT PULL] oprofile fixes Robert Richter
2010-09-27  7:50     ` Ingo Molnar
2010-09-21 11:21 ` [PATCH] oprofile: Add Support for Intel CPU Family 6 / Model 29 Arnd Bergmann
2010-09-21 14:13   ` Robert Richter
2010-09-21 14:38     ` Andi Kleen
2010-09-22  7:26       ` Robert Richter
2010-09-22  8:17         ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox