[edk2-devel] [PATCH v1 0/4] Microcode related optimizations
Wu, Hao A
hao.a.wu at intel.com
Tue Dec 24 01:36:52 UTC 2019
Series is also available at:
https://github.com/hwu25/edk2/tree/mpinitlib_opt_v1
This series will introduce a couple of optimizations to the MpInitLib with
regard to microcode:
A. Reduce the copy size when loading the microcode patches data from flash
into memory;
B. Produce a HOB to contain microcode patches information for subsequent
consumers of the microcode patches during the boot flow.
Uni-test done for the series:
A. System boot to OS/Shell successfully on a real platform;
B. Add debug message to verify the same microcode patch is applied to each
processor before and after the series.
Cc: Eric Dong <eric.dong at intel.com>
Cc: Ray Ni <ray.ni at intel.com>
Cc: Laszlo Ersek <lersek at redhat.com>
Cc: Star Zeng <star.zeng at intel.com>
Cc: Siyuan Fu <siyuan.fu at intel.com>
Cc: Michael D Kinney <michael.d.kinney at intel.com>
Hao A Wu (4):
UefiCpuPkg/MpInitLib: Collect processors' CPUID & Platform ID info
UefiCpuPkg/MpInitLib: Reduce the size when loading microcode patches
UefiCpuPkg: Add definitions for EDKII microcode patch HOB
UefiCpuPkg/MpInitLib: Produce EDKII microcode patch HOB
UefiCpuPkg/UefiCpuPkg.dec | 3 +
UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf | 1 +
UefiCpuPkg/Include/Guid/MicrocodePatchHob.h | 50 ++++
UefiCpuPkg/Library/MpInitLib/MpLib.h | 50 +++-
UefiCpuPkg/Library/MpInitLib/Microcode.c | 251 +++++++++++++++++++-
UefiCpuPkg/Library/MpInitLib/MpLib.c | 102 ++++----
UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 55 +++++
7 files changed, 446 insertions(+), 66 deletions(-)
create mode 100644 UefiCpuPkg/Include/Guid/MicrocodePatchHob.h
--
2.12.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#52509): https://edk2.groups.io/g/devel/message/52509
Mute This Topic: https://groups.io/mt/69242651/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list