Messages in this thread | | | Subject | Re: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge | From | Peter Zijlstra <> | Date | Thu, 07 Jun 2012 13:15:57 +0200 |
| |
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.
| |