diff options
| author | Borislav Petkov <[email protected]> | 2015-11-20 11:24:00 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-11-23 09:39:49 +0000 |
| commit | 2d5be37d686c4dae8e60d20283d6f44ac2c44f65 (patch) | |
| tree | 3dec14e58bff0cde0b2307996c118ea5d749d327 /drivers/fpga/fpga-mgr.c | |
| parent | Linux 4.4-rc2 (diff) | |
| download | kernel-2d5be37d686c4dae8e60d20283d6f44ac2c44f65.tar.gz kernel-2d5be37d686c4dae8e60d20283d6f44ac2c44f65.zip | |
x86/microcode: Initialize the driver late when facilities are up
Running microcode_init() from setup_arch() is a bad idea because
not even kmalloc() is ready at that point and the loader does
all kinds of allocations and init/registration with various
subsystems.
Make it a late initcall when required facilities are initialized
so that the microcode driver initialization can succeed too.
Reported-and-tested-by: Markus Trippelsdorf <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
