From: Andi Kleen on
> Tested using oprofile 0.9.6.
>
> Signed-off-by: Josh Hunt <johunt(a)akamai.com>

Reviewed-by: Andi Kleen <ak(a)linux.intel.com>

This change is ok since it's a 45nm Nehalem Xeon.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Robert Richter on
On 04.08.10 20:27:05, Josh Hunt wrote:
> Newer Intel processors identifying themselves as model 30 are not recognized by
> oprofile.

> Tested using oprofile 0.9.6.
>
> Signed-off-by: Josh Hunt <johunt(a)akamai.com>

Applied to:

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

(I converted the model number to hex.)

Thanks Josh.

Ingo,

please (ff-only) pull this again for tip/perf/core. You already send
the pull request for Linus, but I think this patch will make it for
v2.6.36 too?

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 b28d2f1..6f95251 100644
> --- a/arch/x86/oprofile/nmi_int.c
> +++ b/arch/x86/oprofile/nmi_int.c
> @@ -657,6 +657,7 @@ static int __init ppro_init(char **cpu_type)
> break;
> case 0x2e:
> case 26:
> + case 30:
> spec = &op_arch_perfmon_spec;
> *cpu_type = "i386/core_i7";
> break;
> --
> 1.7.0.4
>
>

--
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(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Ingo Molnar on

* Robert Richter <robert.richter(a)amd.com> wrote:

> On 04.08.10 20:27:05, Josh Hunt wrote:
> > Newer Intel processors identifying themselves as model 30 are not recognized by
> > oprofile.
>
> > Tested using oprofile 0.9.6.
> >
> > Signed-off-by: Josh Hunt <johunt(a)akamai.com>
>
> Applied to:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core
>
> (I converted the model number to hex.)
>
> Thanks Josh.
>
> Ingo,
>
> please (ff-only) pull this again for tip/perf/core. You already send
> the pull request for Linus, but I think this patch will make it for
> v2.6.36 too?

Yeah, we are still early in the merge window, and it's a very small patch in
any case - i pulled it.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/