From: "Wu, Jiaxin" <jiaxin.wu@intel.com>
To: devel@edk2.groups.io
Subject: [PATCH v2 0/5] Target to enable paging from temporary RAM Done
Date: Fri, 12 May 2023 12:15:43 +0800 [thread overview]
Message-ID: <20230512041548.6416-1-jiaxin.wu@intel.com> (raw)
For arch X64, system will enable the page table in SPI to cover 0-512G
range via CR4.PAE & MSR.LME & CR0.PG & CR3 setting. Existing code doesn't
cover the higher address access above 512G before memory-discovered
callback. This series patches provide the solution to enable paging from
temporary RAM Done.
Jiaxin Wu (5):
UefiCpuPkg/SecCore: Migrate page table to permanent memory
UefiCpuPkg/CpuMpPei: Enable PAE page table if CR0.PG is not set
MdeModulePkg/DxeIpl: Align Page table Level setting with previous
level.
OvmfPkg: Add CpuPageTableLib required by SecCore & CpuMpPei
UefiPayloadPkg: Add CpuPageTableLib required by SecCore & CpuMpPei
MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 39 ++--
OvmfPkg/AmdSev/AmdSevX64.dsc | 2 +-
OvmfPkg/CloudHv/CloudHvX64.dsc | 2 +-
OvmfPkg/IntelTdx/IntelTdxX64.dsc | 3 +-
OvmfPkg/Microvm/MicrovmX64.dsc | 2 +-
OvmfPkg/OvmfPkgIa32.dsc | 1 +
OvmfPkg/OvmfPkgIa32X64.dsc | 2 +-
OvmfPkg/OvmfPkgX64.dsc | 3 +-
OvmfPkg/OvmfXen.dsc | 2 +-
UefiCpuPkg/CpuMpPei/CpuMpPei.h | 1 +
UefiCpuPkg/CpuMpPei/CpuMpPei.inf | 1 +
UefiCpuPkg/CpuMpPei/CpuPaging.c | 215 +++++++++--------------
UefiCpuPkg/SecCore/SecCore.inf | 1 +
UefiCpuPkg/SecCore/SecCoreNative.inf | 1 +
UefiCpuPkg/SecCore/SecMain.c | 152 ++++++++++++++++
UefiCpuPkg/SecCore/SecMain.h | 4 +
UefiPayloadPkg/UefiPayloadPkg.dsc | 2 +-
17 files changed, 282 insertions(+), 151 deletions(-)
--
2.16.2.windows.1
next reply other threads:[~2023-05-12 4:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-12 4:15 Wu, Jiaxin [this message]
2023-05-12 4:15 ` [PATCH v2 1/5] UefiCpuPkg/SecCore: Migrate page table to permanent memory Wu, Jiaxin
2023-05-12 6:24 ` Ni, Ray
2023-05-12 4:15 ` [PATCH v2 2/5] UefiCpuPkg/CpuMpPei: Enable PAE page table if CR0.PG is not set Wu, Jiaxin
2023-05-12 6:37 ` [edk2-devel] " Ni, Ray
2023-05-12 4:15 ` [PATCH v2 3/5] MdeModulePkg/DxeIpl: Align Page table Level setting with previous level Wu, Jiaxin
2023-05-12 6:40 ` Ni, Ray
2023-05-12 4:15 ` [PATCH v2 4/5] OvmfPkg: Add CpuPageTableLib required by SecCore & CpuMpPei Wu, Jiaxin
2023-05-12 4:15 ` [PATCH v2 5/5] UefiPayloadPkg: " Wu, Jiaxin
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=20230512041548.6416-1-jiaxin.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