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 <email@example.com> Cc: Ray Ni <firstname.lastname@example.org> Cc: Laszlo Ersek <email@example.com> Signed-off-by: Leo Duran <firstname.lastname@example.org> Reviewed-by: Ray Ni <email@example.com> Reviewed-by: Laszlo Ersek <firstname.lastname@example.org>