x86, microcode: Reload microcode on resume

commit fbae4ba8c4 upstream.

Normally, we do reapply microcode on resume. However, in the cases where
that microcode comes from the early loader and the late loader hasn't
been utilized yet, there's no easy way for us to go and apply the patch
applied during boot by the early loader.

Thus, reuse the patch stashed by the early loader for the BSP.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Borislav Petkov 2014-12-03 17:21:41 +01:00 • committed by Greg Kroah-Hartman
commit d239198442
7 changed files with 84 additions and 18 deletions