[PATCH 0/2] microcode: Do early microcode application during resume-from-RAM

From: Borislav Petkov
Date: Mon Jun 12 2017 - 13:59:23 EST


From: Borislav Petkov <bp@xxxxxxx>

Ok,

I think I've dreamt of a simple solution to the early microcode
application deal with suspend-to-RAM. The commit message of patch 2
should explain it in more detail. Patch 1 is a fix for 32-bit when the
ramdisk is being relocated.

I'm still testing but it seems to work.

Borislav Petkov (2):
x86/microcode: Look for the initrd at the proper address on 32-bit
x86/microcode/intel: Save pointer to ucode patch for early AP loading

arch/x86/kernel/cpu/microcode/core.c | 12 ++++++++++++
arch/x86/kernel/cpu/microcode/intel.c | 25 +++++++++++++++++++++----
2 files changed, 33 insertions(+), 4 deletions(-)

--
2.13.0