Re: [PATCH] perf/x86: check ucode before disabling PEBS onSandyBridge

From: Borislav Petkov
Date: Fri Jun 08 2012 - 10:03:42 EST


On Fri, Jun 08, 2012 at 03:56:11PM +0200, Peter Zijlstra wrote:
> > static __init void intel_sandybridge_quirk(void)
> > {
> > + intel_snb_verify_ucode();
> > + /*
> > + * we're still single threaded, so while there's a hole here,
> > + * you can't trigger it.
> > + */
> > + microcode_notifier(intel_snb_ucode_notifier);
> > }
>
> Like that you mean?

Oh ok, this is regged through x86_add_quirk() in the pmu init code. Yep,
this is what I mean.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551

--
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/