[edk2-devel] [PATCH v4] UefiCpuPkg: Fix bug in MpInitLib
Leo Duran
leo.duran at amd.com
Sat Feb 29 15:05:44 UTC 2020
This patch fixes an issue introduced recently in MpInitLib, where we read
a PlatformId MSR that is not implemented on AMD processors. The patch uses
CPUID signature check to skip reading the PlatformId MSR.
Changes since v3:
Add header file entry for CPUID definitions: Register/Amd/Cpuid.h
Leo Duran (1):
UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors.
UefiCpuPkg/Library/MpInitLib/MpLib.c | 34 ++++++++++++++++++++++++++++++++--
UefiCpuPkg/Library/MpInitLib/MpLib.h | 3 +++
2 files changed, 35 insertions(+), 2 deletions(-)
mode change 100644 => 100755 UefiCpuPkg/Library/MpInitLib/MpLib.h
--
2.7.4
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#55124): https://edk2.groups.io/g/devel/message/55124
Mute This Topic: https://groups.io/mt/71638357/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