]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg: Always load microcode patch on AP processor.
authorSiyuan, Fu <siyuan.fu@intel.com>
Fri, 3 Jan 2020 06:59:27 +0000 (14:59 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 8 Jan 2020 02:49:40 +0000 (02:49 +0000)
commit396e791059f37062cbee85696e2b4186ec72a9e3
tree2c6f33525b6ef9c137e1a3ce9d73cb1b32c5a8ba
parent08a475df10b75f84cdeb9b11e38f8eee9b5c048d
UefiCpuPkg: Always load microcode patch on AP processor.

This patch updates the microcode loader to always perform a microcode
detect and load on both BSP and AP processor. This is to fix a potential
microcode revision mismatch issue in below situation:
1. Assume there are two microcode co-exists in flash: one production
   version and one debug version microcode.
2. FIT loads production microcode to BSP and all AP.
3. UefiCpuPkg loader loads debug microcode to BSP, and skip the loading
   on AP.
As a result, different microcode patches are loaded to BSP and AP, and
trigger microcode mismatch error during OS boot.

link: https://bugzilla.tianocore.org/show_bug.cgi?id=2431
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
UefiCpuPkg/Library/MpInitLib/Microcode.c