From: Leo Duran <leo.duran@amd.com>
To: devel@edk2.groups.io
Cc: Leo Duran <leo.duran@amd.com>
Subject: [PATCH v4] UefiCpuPkg: Fix bug in MpInitLib
Date: Sat, 29 Feb 2020 09:05:44 -0600 [thread overview]
Message-ID: <1582988745-1189-1-git-send-email-leo.duran@amd.com> (raw)
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
next reply other threads:[~2020-02-29 15:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-29 15:05 Leo Duran [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1582988745-1189-1-git-send-email-leo.duran@amd.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox