linux/arch/x86/kernel/cpu/microcode
Borislav Petkov 2ef84b3bb9 x86, microcode, AMD: Do not use smp_processor_id() in preemtible context
Hand down the cpu number instead, otherwise lockdep screams when doing

echo 1 > /sys/devices/system/cpu/microcode/reload.

BUG: using smp_processor_id() in preemptible [00000000] code: amd64-microcode/2470
caller is debug_smp_processor_id+0x12/0x20
CPU: 1 PID: 2470 Comm: amd64-microcode Not tainted 3.18.0-rc6+ #26
...

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1417428741-4501-1-git-send-email-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2014-12-01 11:51:05 +01:00
..
amd_early.c x86, microcode, AMD: Do not use smp_processor_id() in preemtible context 2014-12-01 11:51:05 +01:00
amd.c x86, microcode, AMD: Do not use smp_processor_id() in preemtible context 2014-12-01 11:51:05 +01:00
core_early.c x86, microcode: Fix accessing dis_ucode_ldr on 32-bit 2014-11-05 17:28:06 +01:00
core.c x86, microcode: Update BSPs microcode on resume 2014-11-18 18:32:24 +01:00
intel_early.c x86, microcode, intel: Fix typos 2014-07-24 12:32:49 +02:00
intel_lib.c x86, microcode: Move to a proper location 2014-01-13 20:00:12 +01:00
intel.c x86, microcode, intel: Rename apply_microcode and declare it static 2014-07-25 17:57:51 +02:00
Makefile x86, microcode: Move to a proper location 2014-01-13 20:00:12 +01:00