diff options
author | Thomas Gleixner <[email protected]> | 2019-06-18 22:31:40 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-06-19 09:16:35 +0200 |
commit | 5423f5ce5ca410b3646f355279e4e937d452e622 (patch) | |
tree | 582686817944a017c8c1d5804a4991f649747a36 /scripts/gen_compile_commands.py | |
parent | 78f4e932f7760d965fb1569025d1576ab77557c5 (diff) |
x86/microcode: Fix the microcode load on CPU hotplug for real
A recent change moved the microcode loader hotplug callback into the early
startup phase which is running with interrupts disabled. It missed that
the callbacks invoke sysfs functions which might sleep causing nice 'might
sleep' splats with proper debugging enabled.
Split the callbacks and only load the microcode in the early startup phase
and move the sysfs handling back into the later threaded and preemptible
bringup phase where it was before.
Fixes: 78f4e932f776 ("x86/microcode, cpuhotplug: Add a microcode loader CPU hotplug callback")
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions