[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D3069CC.7090901@us.ibm.com>
Date: Fri, 14 Jan 2011 09:20:44 -0600
From: Maynard Johnson <maynardj@...ibm.com>
To: Robert Richter <robert.richter@....com>
CC: Andi Kleen <andi@...stfloor.org>,
"x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...hat.com>,
"oprofile-list@...ts.sf.net" <oprofile-list@...ts.sf.net>,
Shawn Bohrer <sbohrer@...advisors.com>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
William Cohen <wcohen@...hat.com>
Subject: Re: [PATCH] oprofile: Add support for missing Intel core i7 models
On 01/13/2011 8:29 PM, Robert Richter wrote:
> On 13.01.11 19:24:35, Andi Kleen wrote:
>> On Fri, Jan 14, 2011 at 12:55:03AM +0100, Robert Richter wrote:
>>> On 13.01.11 17:38:11, Shawn Bohrer wrote:
>>>> Added missing core i7 models found in "Intel 64 and IA-32 Architectures
>>>> Software Developer's Manual Volume 3B: System Programming Guide",
>>>> Table B-1. Tested with oprofile 0.9.6 on a:
>>>>
>>>> model : 44
>>>> model name : Intel(R) Xeon(R) CPU X5680 @ 3.33GHz
>>>>
>>>> Signed-off-by: Shawn Bohrer<sbohrer@...advisors.com>
>>>
>>> Andi,
>>>
>>> please ACK.
>>
>> NACK -- first it's wrong because that's a westmere and westmere
>> has a different event list. And the new way is to fall back to arch-perfmon
>> and handle the CPUID in user space. This has been already implemented.
>> So the fix is to upgrade user space.
>
> Andi,
>
> thanks for looking at this.
>
> Will it be the general way in the future not to add model detection
> for new Intel cpus to kernel code and instead use arch_perfmon? Are
> the user land patches for cpu detection already in the oprofile
> repository? I assume oprofile 0.9.6 is not up-to-date and needs to be
> patched.
Yes, as Andi said above, the processor detection via cpuid has already been
implemented and accepted to oprofile userspace -- thanks to Will Cohen.
-Maynard
>
> -Robert
>
--
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