From: Robert Richter <robert.richter@amd.com>
To: Jiri Olsa <jolsa@redhat.com>, Andi Kleen <andi@firstfloor.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"oprofile-list@lists.sourceforge.net"
<oprofile-list@lists.sourceforge.net>,
"tdm.rhbz@gmail.com" <tdm.rhbz@gmail.com>
Subject: Re: [PATCH] oprofile: Add Support for Intel CPU Family 6 / Model 29
Date: Tue, 21 Sep 2010 10:20:44 +0200 [thread overview]
Message-ID: <20100921082044.GS13563@erda.amd.com> (raw)
In-Reply-To: <1285053995-3811-1-git-send-email-jolsa@redhat.com>
On 21.09.10 03:26:35, Jiri Olsa wrote:
> 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>
Andi,
found this spec:
http://www.intel.com/Assets/en_US/PDF/specupdate/320336.pdf
Please ack.
Thanks,
-Robert
> ---
> 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
>
>
--
Advanced Micro Devices, Inc.
Operating System Research Center
next prev parent reply other threads:[~2010-09-21 8:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=20100921082044.GS13563@erda.amd.com \
--to=robert.richter@amd.com \
--cc=andi@firstfloor.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oprofile-list@lists.sourceforge.net \
--cc=tdm.rhbz@gmail.com \
/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.