public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Add Support for Intel CPU Family 6 / Model 22 (Intel Celeron 540)
       [not found] ` <20100909123102.GQ13563@erda.amd.com>
@ 2010-09-09 18:48   ` Robert Richter
  2010-09-09 20:22     ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Richter @ 2010-09-09 18:48 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: oprofile-list@lists.sf.net, Andi Kleen, Patrick Simmons, LKML

On 09.09.10 14:31:02, Robert Richter wrote:
> On 08.09.10 10:34:28, Patrick Simmons wrote:
> > This patch adds CPU type detection for the Intel Celeron 540, which is 
> > part of the Core 2 family according to Wikipedia; the family and ID pair 
> > is absent from the Volume 3B table referenced in the source code 
> > comments.  I have tested this patch on an Intel Celeron 540 machine 
> > reporting itself as Family 6 Model 22, and OProfile runs on the machine 
> > without issue.  The patch was made against Linux version 2.6.35.4 but is 
> > so trivial that it should apply cleanly to anything relevant.  Please CC 
> > me with any comments or questions as I am not subscribed to the list.
> > 
> > --Patrick
> > 
> > Signed-off-by: Patrick Simmons <linuxrocks123@netscape.net>
> 
> Applied to oprofile/urgent.

Ingo,

please pull this update for tip/perf/urgent from:

 git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git urgent

Thanks,

-Robert

> 
> > 
> > --- linux/arch/x86/oprofile/nmi_int.c.orig    2010-09-08 
> > 08:01:56.000000000 -0600
> > +++ linux/arch/x86/oprofile/nmi_int.c    2010-09-08 05:57:18.000000000 -0600
> > @@ -664,7 +664,7 @@ static int __init ppro_init(char **cpu_t
> >       case 14:
> >           *cpu_type = "i386/core";
> >           break;
> > -    case 15: case 23:
> > +    case 15: case 22: case 23:
> 
> I slightly modified the change:
> 
> -       case 15: case 23:
> +       case 0x0f:
> +       case 0x16:
> +       case 0x17:
> 
> Thanks Patrick.
> 
> -Robert
> 
> >           *cpu_type = "i386/core_2";
> >           break;
> >       case 0x1a:
> > 
> > 

-- 
Advanced Micro Devices, Inc.
Operating System Research Center


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

* Re: [PATCH] Add Support for Intel CPU Family 6 / Model 22 (Intel Celeron 540)
  2010-09-09 18:48   ` [PATCH] Add Support for Intel CPU Family 6 / Model 22 (Intel Celeron 540) Robert Richter
@ 2010-09-09 20:22     ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2010-09-09 20:22 UTC (permalink / raw)
  To: Robert Richter
  Cc: Ingo Molnar, oprofile-list@lists.sf.net, Andi Kleen,
	Patrick Simmons, LKML

On Thursday 09 September 2010 20:48:12 Robert Richter wrote:
> On 09.09.10 14:31:02, Robert Richter wrote:
> > On 08.09.10 10:34:28, Patrick Simmons wrote:
> > > This patch adds CPU type detection for the Intel Celeron 540, which is 
> > > part of the Core 2 family according to Wikipedia; the family and ID pair 
> > > is absent from the Volume 3B table referenced in the source code 
> > > comments.  I have tested this patch on an Intel Celeron 540 machine 
> > > reporting itself as Family 6 Model 22, and OProfile runs on the machine 
> > > without issue.  The patch was made against Linux version 2.6.35.4 but is 
> > > so trivial that it should apply cleanly to anything relevant.  Please CC 
> > > me with any comments or questions as I am not subscribed to the list.

The patch looks fine, but please note that only some Celeron 540 use this,
while others are model 15. However all Core 2 Solo U2xxx and all desktop
Celeron 2xx/4xx are model 22 as well.

	Arnd

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

end of thread, other threads:[~2010-09-09 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4C879EF4.90509@netscape.net>
     [not found] ` <20100909123102.GQ13563@erda.amd.com>
2010-09-09 18:48   ` [PATCH] Add Support for Intel CPU Family 6 / Model 22 (Intel Celeron 540) Robert Richter
2010-09-09 20:22     ` Arnd Bergmann

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