Re: [PATCH] oprofile: Add Support for Intel CPU Family 6 / Model 29

From: Andi Kleen
Date: Tue Sep 21 2010 - 10:38:14 EST


> On 21.09.10 07:21:05, Arnd Bergmann wrote:
>> Just curious about the other missing IDs: this now supports all Core
>> microarchitecture CPUs, but only some Nehalem/Westmere ones.
>>
>> There is support for 0x1a (Bloomfield/Gainestown) and 0x2e (Beckton),
>> but
>> not for the much more common 0x1e (Lynnfield/Clarksfield/Jasper Forest),
>> 0x25 (Clarkdale/Arrandale) and 0x26 (Gulftown/Westmere-EP).
>>
>> Shouldn't those be added as well?

Westmere I still hold off because the oprofile user land
doesn't have the correct event list yet.

BTW I was thinking in this case to only add the model
numbers to the user code and just let it handle arch_perfmon
from the kernel.

This should work currently fine and avoid the problem
that you need to update user land and kernel in parallel
for a new cpu type.

>>
>> When you're there, it probably also wouldn't hurt to fill in the blanks
>> of some of the older CPUs like Tolopai (0x15) and newer Atoms (0x1c).
>
> Yes, would be nice to have also an update for the remaining
> unsupported models. Andi?

Yes would make sense. I'll ask around if there is a consolidated
list somewhere that could be used as a base.

-Andi

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