public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v4] UefiCpuPkg: Fix bug in MpInitLib
@ 2020-02-29 15:05 Leo Duran
  2020-02-29 15:05 ` [PATCH] UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors Leo Duran
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Duran @ 2020-02-29 15:05 UTC (permalink / raw)
  To: devel; +Cc: Leo Duran

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


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH v3] UefiCpuPkg: Fix bug in MpInitLib
@ 2020-02-28 18:58 Leo Duran
  2020-02-28 18:58 ` [PATCH] UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors Leo Duran
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Duran @ 2020-02-28 18:58 UTC (permalink / raw)
  To: devel; +Cc: Leo Duran

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 v2:
Fix typo (PCD name) on commit log.

Leo Duran (1):
  UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors.

 UefiCpuPkg/Library/MpInitLib/MpLib.c | 34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH v2] UefiCpuPkg: Fix bug in MpInitLib
@ 2020-02-28 18:45 Leo Duran
  2020-02-28 18:45 ` [PATCH] UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors Leo Duran
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Duran @ 2020-02-28 18:45 UTC (permalink / raw)
  To: devel; +Cc: Leo Duran

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 v1:
- Undo changes to LocalApicLib to not export CPUID signature check.
- Undo changes to MpInitLib/Microcode.c and rely on existing PCDs to manage
loading of microcode patches.

Leo Duran (1):
  UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors.

 UefiCpuPkg/Library/MpInitLib/MpLib.c | 34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2020-04-21 18:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-29 15:05 [PATCH v4] UefiCpuPkg: Fix bug in MpInitLib Leo Duran
2020-02-29 15:05 ` [PATCH] UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors Leo Duran
2020-02-29 19:50   ` Laszlo Ersek
2020-03-02  1:59   ` Ni, Ray
     [not found]   ` <15F85A23C0D08039.4290@groups.io>
2020-03-02  4:21     ` [edk2-devel] " Ni, Ray
2020-04-17  8:14   ` Gary Lin
2020-04-20  9:41     ` Laszlo Ersek
2020-04-21 18:47       ` Duran, Leo
  -- strict thread matches above, loose matches on Subject: below --
2020-02-28 18:58 [PATCH v3] UefiCpuPkg: Fix bug in MpInitLib Leo Duran
2020-02-28 18:58 ` [PATCH] UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors Leo Duran
2020-02-29  7:32   ` Laszlo Ersek
2020-02-29 14:11     ` Ni, Ray
2020-02-28 18:45 [PATCH v2] UefiCpuPkg: Fix bug in MpInitLib Leo Duran
2020-02-28 18:45 ` [PATCH] UefiCpuPkg/MpInitLib: Skip reading PlatformId on AMD processors Leo Duran

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