[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 9 Sep 2010 20:48:12 +0200
From: Robert Richter <robert.richter@....com>
To: Ingo Molnar <mingo@...e.hu>
CC: "oprofile-list@...ts.sf.net" <oprofile-list@...ts.sf.net>,
Andi Kleen <andi@...stfloor.org>,
Patrick Simmons <linuxrocks123@...scape.net>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Add Support for Intel CPU Family 6 / Model 22 (Intel
Celeron 540)
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@...scape.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists