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

Borislav Petkov
2012-06-08T14:03:47Z

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