Re: [PATCH V6 06/13] perf: Add Nehalem and Sandy Bridge uncoresupport

From: Peter Zijlstra
Date: Fri Jun 15 2012 - 12:32:06 EST


On Fri, 2012-06-15 at 17:28 +0200, Peter Zijlstra wrote:
> On Fri, 2012-06-15 at 14:31 +0800, Yan, Zheng wrote:
> > @@ -808,6 +994,14 @@ static int __init uncore_cpu_init(void)
> > int ret, cpu;
> >
> > switch (boot_cpu_data.x86_model) {
> > + case 26: /* Nehalem */
> > + case 30:
> > + case 37: /* Westmere */
> > + msr_uncores = nhm_msr_uncores;
> > + break;
> > + case 42: /* Sandy Bridge */
> > + msr_uncores = snb_msr_uncores;
> > + break;
>
> What about WSP-EP (44)? Does it have an uncore similar to the regular
> WSM (37) or WSM-EX / Xeon-E7 (47) ?

I added the 44 and this seems to work.. that is, it didn't die due to
incorrect MSR access quite yet.
--
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/