Messages in this thread | | | Subject | Re: [PATCH -v2 1/2] x86, microcode: Sanitize per-cpu microcode reloading interface | From | Peter Zijlstra <> | Date | Tue, 03 Jul 2012 11:26:08 +0200 |
| |
On Tue, 2012-07-03 at 06:37 +0200, Borislav Petkov wrote: > In thinking about this a bit more, perf callback is only run from the > reload_store interface but we don't run it on module init time.
@@ -557,7 +560,8 @@ static int __init microcode_init(void) mutex_lock(µcode_mutex);
error = subsys_interface_register(&mc_cpu_interface); - + if (!error) + perf_check_microcode(); mutex_unlock(µcode_mutex); put_online_cpus();
I thought that was init time?
| |