lkml.org 
[lkml]   [2012]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge
From
Date
On Fri, 2012-06-08 at 11:35 +0200, Ingo Molnar wrote:
> * Peter Zijlstra <peterz@infradead.org> wrote:
>
> > On Thu, 2012-06-07 at 12:48 +0200, Stephane Eranian wrote:
> > > >> The warning could also be done on boot. But the check has to be done
> > > >> when the event is created.
> > > >
> > > > Is this because of the ucode loader not having done its thing yet etc..?
> >
> > Ah, its because you can update ucode at runtime of course.
> >
> > A quick look at the ucode loader doesn't show it having a
> > notifier either, so then yeah we need to check on every event
> > creation :/
> >
> > Or we could put a hook in the ucode loader.
>
> I'd really suggest the latter - I doubt this will be our only
> ucode dependent quirk, going forward ...

Yeah, am in the middle of writing that..


\
 
 \ /
  Last update: 2012-06-08 12:41    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site