From: "Ni, Ray" <ray.ni@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"Xie, Yuanhao" <yuanhao.xie@intel.com>
Subject: Re: [edk2-devel] [Patch V4 0/8] Put APs in 64 bit mode before handoff to OS.
Date: Tue, 7 Mar 2023 07:00:47 +0000 [thread overview]
Message-ID: <MN6PR11MB82446A42A7584EF4707C79388CB79@MN6PR11MB8244.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230301060954.1464-1-yuanhao.xie@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> Yuanhao Xie
> Sent: Wednesday, March 1, 2023 2:10 PM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [Patch V4 0/8] Put APs in 64 bit mode before handoff
> to OS.
>
> The purpose of this patch series is to put the APs in 64-bit mode
> before handing off the boot process to the OS, AMD 64-bit processors
> with SEV-ES follows the original logic.
>
> Ref:https://bugzilla.tianocore.org/show_bug.cgi?id=4234
>
> Yuanhao Xie (8):
> UefiCpuPkg: Check AP_SAFE_STACK_SIZE during build time.
> UefiCpuPkg: Split the path in RelocateApLoop into two.
> UefiCpuPkg: Allocate contiguous memory for stacks and APs loop.
> OvmfPkg: Add CpuPageTableLib required by MpInitLib.
> UefiPayloadPkg: Add CpuPageTableLib required by MpInitLib.
> UefiCpuPkg: Put APs in 64 bit mode before handoff to OS.
> UefiCpuPkg: Rename AsmRelocateApLoopStart.
> UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to
> AmdSev.nasm
>
> OvmfPkg/AmdSev/AmdSevX64.dsc | 3 ++-
> OvmfPkg/CloudHv/CloudHvX64.dsc | 3 ++-
> OvmfPkg/IntelTdx/IntelTdxX64.dsc | 4 +++-
> OvmfPkg/Microvm/MicrovmX64.dsc | 3 ++-
> OvmfPkg/OvmfPkgIa32X64.dsc | 3 ++-
> OvmfPkg/OvmfPkgX64.dsc | 4 +++-
> OvmfPkg/OvmfXen.dsc | 3 ++-
> UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 6 +++++-
> UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 153
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++-----------------------------------------
> ---------------------
> UefiCpuPkg/Library/MpInitLib/Ia32/CreatePageTable.c | 23
> +++++++++++++++++++++++
> UefiCpuPkg/Library/MpInitLib/Ia32/MpFuncs.nasm | 26
> +++++++++++++-------------
> UefiCpuPkg/Library/MpInitLib/MpEqu.inc | 22 ++++++++++++---------
> -
> UefiCpuPkg/Library/MpInitLib/MpLib.h | 52
> ++++++++++++++++++++++++++++++++++++++++++++++++----
> UefiCpuPkg/Library/MpInitLib/X64/AmdSev.nasm | 170
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> UefiCpuPkg/Library/MpInitLib/X64/CreatePageTable.c | 82
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++++++++++++++++++++++
> UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm | 198
> ++++++++++++++++++++++++++++++++++++++++++--------------------------
> ----------------------------------------------------------------------------------------------
> ------------------------------------
> UefiPayloadPkg/UefiPayloadPkg.dsc | 3 ++-
> 17 files changed, 504 insertions(+), 254 deletions(-)
> create mode 100644 UefiCpuPkg/Library/MpInitLib/Ia32/CreatePageTable.c
> create mode 100644 UefiCpuPkg/Library/MpInitLib/X64/CreatePageTable.c
>
> --
> 2.36.1.windows.1
>
>
>
>
>
prev parent reply other threads:[~2023-03-07 7:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 6:09 [Patch V4 0/8] Put APs in 64 bit mode before handoff to OS Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 1/8] UefiCpuPkg: Check AP_SAFE_STACK_SIZE during build time Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 2/8] UefiCpuPkg: Split the path in RelocateApLoop into two Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 3/8] UefiCpuPkg: Allocate contiguous memory for stacks and APs loop Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 4/8] OvmfPkg: Add CpuPageTableLib required by MpInitLib Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 5/8] UefiPayloadPkg: " Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 6/8] UefiCpuPkg: Put APs in 64 bit mode before handoff to OS Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 7/8] UefiCpuPkg: Rename AsmRelocateApLoopStart Yuanhao Xie
2023-03-01 6:09 ` [Patch V4 8/8] UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm Yuanhao Xie
2023-03-01 6:40 ` [edk2-devel] [Patch V4 0/8] Put APs in 64 bit mode before handoff to OS Gerd Hoffmann
2023-03-07 7:00 ` Ni, Ray [this message]
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=MN6PR11MB82446A42A7584EF4707C79388CB79@MN6PR11MB8244.namprd11.prod.outlook.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