From: "Wu, Hao A" <hao.a.wu@intel.com>
To: devel@edk2.groups.io
Cc: Hao A Wu <hao.a.wu@intel.com>,
Michael Kubacki <michael.a.kubacki@intel.com>,
Michael D Kinney <michael.d.kinney@intel.com>,
Eric Dong <eric.dong@intel.com>, Ray Ni <ray.ni@intel.com>,
Laszlo Ersek <lersek@redhat.com>
Subject: [PATCH v1 0/2] Fix backward incompatible CPU_MP_DATA struct change
Date: Thu, 6 Feb 2020 13:23:54 +0800 [thread overview]
Message-ID: <20200206052356.3672-1-hao.a.wu@intel.com> (raw)
The series will resolve a backward compatibility issue with pre-built
binaries (e.g. FSP) introduced by commit 88bd0661661.
The relocation of 'MicrocodePatchRegionSize' and 'MicrocodePatchAddress'
fields in structure CPU_MP_DATA may cause access issue for platforms that
use pre-built FSP binary, since the offset of these microcode related
fields in CPU_MP_DATA can be different between PEI phase (in the pre-built
binary) and DXE phase (in current code implementation).
The series will use the newly introduced EDKII microcode patch HOB instead
for the DXE phase to get the information of the loaded (done in PEI phase)
microcode patches data.
Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Hao A Wu (2):
Revert UefiCpuPkg/MpInitLib: Relocate microcode patch fields in
CPU_MP_DATA
UefiCpuPkg/MpInitLib: Not pass microcode info between archs in
CPU_MP_DATA
UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 3 +-
UefiCpuPkg/Library/MpInitLib/MpLib.h | 27 +++++++++++-
UefiCpuPkg/Library/MpInitLib/Microcode.c | 43 ++++++++++++++++++++
UefiCpuPkg/Library/MpInitLib/MpLib.c | 20 +++++----
UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 3 +-
5 files changed, 82 insertions(+), 14 deletions(-)
--
2.12.0.windows.1
next reply other threads:[~2020-02-06 5:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 5:23 Wu, Hao A [this message]
2020-02-06 5:23 ` [PATCH v1 1/2] Revert UefiCpuPkg/MpInitLib: Relocate microcode patch fields in CPU_MP_DATA Wu, Hao A
2020-02-07 2:34 ` Dong, Eric
2020-02-10 6:36 ` Ni, Ray
2020-02-06 5:23 ` [PATCH v1 2/2] UefiCpuPkg/MpInitLib: Not pass microcode info between archs " Wu, Hao A
2020-02-07 2:34 ` [edk2-devel] " Dong, Eric
2020-02-11 2:31 ` Ni, Ray
2020-02-06 6:21 ` [PATCH v1 0/2] Fix backward incompatible CPU_MP_DATA struct change Wu, Hao A
2020-02-11 2:55 ` [edk2-devel] " Wu, Hao A
2020-02-11 5:06 ` Wu, Hao A
2020-02-06 13:59 ` Laszlo Ersek
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=20200206052356.3672-1-hao.a.wu@intel.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