public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Yuanhao Xie" <yuanhao.xie@intel.com>
To: devel@edk2.groups.io
Subject: [PATCH 0/5] Put APs in 64 bit mode before handoff to OS.
Date: Tue,  7 Feb 2023 21:49:34 +0800	[thread overview]
Message-ID: <20230207134939.273-1-yuanhao.xie@intel.com> (raw)

Ref:https://bugzilla.tianocore.org/show_bug.cgi?id=4234

Yuanhao Xie (5):
  UefiCpuPkg: Duplicate RelocateApLoop for Amd x64 processors.
  UefiCpuPkg: Contiguous memory allocation and code clean-up.
  OvmfPkg: Add CpuPageTableLib required by MpInitLib.
  UefiPayloadPkg: Add CpuPageTableLib required by MpInitLib
  UefiCpuPkg: Put APs in 64 bit mode before handoff to OS.

 OvmfPkg/AmdSev/AmdSevX64.dsc                  |   3 +-
 OvmfPkg/CloudHv/CloudHvX64.dsc                |   1 +
 OvmfPkg/IntelTdx/IntelTdxX64.dsc              |   4 +-
 OvmfPkg/Microvm/MicrovmX64.dsc                |   1 +
 OvmfPkg/OvmfPkgIa32X64.dsc                    |   1 +
 OvmfPkg/OvmfPkgX64.dsc                        |   2 +
 OvmfPkg/OvmfXen.dsc                           |   3 +-
 UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf |   7 +-
 UefiCpuPkg/Library/MpInitLib/DxeMpLib.c       | 170 ++++++++++-------
 .../Library/MpInitLib/Ia32/CreatePageTable.c  |  23 +++
 .../Library/MpInitLib/Ia32/MpFuncs.nasm       |   9 +-
 UefiCpuPkg/Library/MpInitLib/MpEqu.inc        |  20 +-
 UefiCpuPkg/Library/MpInitLib/MpLib.h          |  47 +++++
 UefiCpuPkg/Library/MpInitLib/X64/AmdSev.nasm  | 169 +++++++++++++++++
 .../Library/MpInitLib/X64/CreatePageTable.c   |  82 ++++++++
 UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm | 176 +++---------------
 UefiCpuPkg/UefiCpuPkg.dsc                     |   1 +
 UefiPayloadPkg/UefiPayloadPkg.dsc             |   1 +
 18 files changed, 484 insertions(+), 236 deletions(-)
 create mode 100644 UefiCpuPkg/Library/MpInitLib/Ia32/CreatePageTable.c
 create mode 100644 UefiCpuPkg/Library/MpInitLib/X64/CreatePageTable.c

-- 
2.36.1.windows.1


             reply	other threads:[~2023-02-07 13:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07 13:49 Yuanhao Xie [this message]
2023-02-07 13:49 ` [PATCH 1/5] UefiCpuPkg: Duplicate RelocateApLoop for Amd x64 processors Yuanhao Xie
2023-02-07 13:49 ` [PATCH 2/5] UefiCpuPkg: Contiguous memory allocation and code clean-up Yuanhao Xie
2023-02-07 16:40   ` [edk2-devel] " Marvin Häuser
2023-02-07 16:43     ` Marvin Häuser
2023-02-08 10:36     ` Yuanhao Xie
2023-02-08 11:09   ` Gerd Hoffmann
2023-02-10  9:12     ` Yuanhao Xie
2023-02-10 11:09       ` Gerd Hoffmann
2023-02-10 12:52         ` Ni, Ray
2023-02-07 13:49 ` [PATCH 3/5] OvmfPkg: Add CpuPageTableLib required by MpInitLib Yuanhao Xie
2023-02-08 10:53   ` Gerd Hoffmann
2023-02-09 16:30     ` [edk2-devel] " Ard Biesheuvel
2023-02-07 13:49 ` [PATCH 4/5] UefiPayloadPkg: " Yuanhao Xie
2023-02-08  5:38   ` Guo, Gua
2023-02-08 17:02   ` Guo Dong
2023-02-07 13:49 ` [PATCH 5/5] UefiCpuPkg: Put APs in 64 bit mode before handoff to OS Yuanhao Xie
  -- strict thread matches above, loose matches on Subject: below --
2023-02-20  5:20 [PATCH 0/5] " Yuanhao Xie

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=20230207134939.273-1-yuanhao.xie@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