Re: [PATCH -v2 1/2] x86, microcode: Sanitize per-cpu microcodereloading interface

From: Peter Zijlstra
Date: Tue Jul 03 2012 - 05:26:27 EST

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)

error = subsys_interface_register(&mc_cpu_interface);
+ if (!error)
+ perf_check_microcode();

I thought that was init time?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at