audk/UefiCpuPkg/Library/MpInitLib
Leo Duran 4c0f6e349d UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2556

This patch uses CPUID signature check to skip reading the PlatformId MSR,
which is not implemented on AMD processors.

The PlatformId is used for loading microcode patches, which is also not
supported and AMD-based platforms. To mitigate the PlatformId dependency,
PcdCpuMicrocodePatchAddress and PcdCpuMicrodePatchRegionSize must be set
to 0 (default value), in order to bypass microcode loading code paths.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Leo Duran <leo.duran@amd.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2020-03-02 05:47:06 +00:00
..
Ia32 UefiCpuPkg/MpInitLib: increase NumApsExecuting only for ApInitConfig 2019-06-10 10:53:42 +08:00
X64 UefiCpuPkg/MpInitLib: Enable 5-level paging for AP when BSP's enabled 2019-08-09 08:52:08 +08:00
DxeMpInitLib.inf UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib. 2020-02-14 04:31:18 +00:00
DxeMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
DxeMpLib.c UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib. 2020-02-14 04:31:18 +00:00
Microcode.c UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib. 2020-02-14 04:31:18 +00:00
MpLib.c UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors. 2020-03-02 05:47:06 +00:00
MpLib.h UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors. 2020-03-02 05:47:06 +00:00
PeiMpInitLib.inf UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib. 2020-02-14 04:31:18 +00:00
PeiMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PeiMpLib.c UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib. 2020-02-14 04:31:18 +00:00