Commit 4c0f6e34 authored by Committed by mergify[bot]Browse files
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 <firstname.lastname@example.org> Cc: Ray Ni <email@example.com> Cc: Laszlo Ersek <firstname.lastname@example.org> Signed-off-by: Leo Duran <email@example.com> Reviewed-by: Ray Ni <firstname.lastname@example.org> Reviewed-by: Laszlo Ersek <email@example.com>