public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/4] Microcode related optimizations
@ 2019-12-24  1:36 Wu, Hao A
  2019-12-24  1:36 ` [PATCH v1 1/4] UefiCpuPkg/MpInitLib: Collect processors' CPUID & Platform ID info Wu, Hao A
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Wu, Hao A @ 2019-12-24  1:36 UTC (permalink / raw)
  To: devel
  Cc: Hao A Wu, Eric Dong, Ray Ni, Laszlo Ersek, Star Zeng, Siyuan Fu,
	Michael D Kinney

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@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Michael D Kinney <michael.d.kinney@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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-12-25  5:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-24  1:36 [PATCH v1 0/4] Microcode related optimizations Wu, Hao A
2019-12-24  1:36 ` [PATCH v1 1/4] UefiCpuPkg/MpInitLib: Collect processors' CPUID & Platform ID info Wu, Hao A
2019-12-24  2:51   ` Ni, Ray
2019-12-24  1:36 ` [PATCH v1 2/4] UefiCpuPkg/MpInitLib: Reduce the size when loading microcode patches Wu, Hao A
2019-12-24  3:32   ` Ni, Ray
2019-12-24  5:48     ` Wu, Hao A
2019-12-24  1:36 ` [PATCH v1 3/4] UefiCpuPkg: Add definitions for EDKII microcode patch HOB Wu, Hao A
2019-12-24  3:48   ` Ni, Ray
2019-12-24  5:48     ` Wu, Hao A
2019-12-24  8:15   ` Ni, Ray
2019-12-25  5:42     ` Wu, Hao A
2019-12-24  1:36 ` [PATCH v1 4/4] UefiCpuPkg/MpInitLib: Produce " Wu, Hao A
2019-12-24  3:54   ` Ni, Ray
2019-12-25  5:42     ` Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox