]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/intel: Fish out the stashed microcode for the BSP
authorBorislav Petkov <bp@suse.de>
Mon, 8 Dec 2014 11:08:20 +0000 (12:08 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Dec 2014 10:36:28 +0000 (11:36 +0100)
commit9a5a4d6769308f9f71a214b4c34ffb8f89cd347e
tree109488e7dd8dda93e045655f20ee33b30b278472
parent8a3e56a8b645a30795c0a6a7d28d94b2ee93389d
x86/microcode/intel: Fish out the stashed microcode for the BSP

I'm such a moron! The simple solution of saving the BSP patch
for use on resume was too simple (and wrong!), hint:
sizeof(struct microcode_intel).

What needs to be done instead is to fish out the microcode patch
we have stashed previously and apply that on the BSP in case the
late loader hasn't been utilized.

So do that instead.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20141208110820.GB20057@pd.tnic
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/microcode/intel_early.c