diff options
author | Lendacky, Thomas via groups.io <thomas.lendacky=amd.com@groups.io> | 2023-03-29 02:09:23 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-01 03:15:51 +0000 |
commit | 3323359a811a597b8ee045638c5addd10444402c (patch) | |
tree | 87edc58c4b8f1e8272982872d456d0f28e412179 /BaseTools/Source/Python/Table/TableReport.py | |
parent | 54051768cdf69e2b46dc4fe1a85455d631aa2634 (diff) | |
download | edk2-3323359a811a597b8ee045638c5addd10444402c.tar.gz edk2-3323359a811a597b8ee045638c5addd10444402c.tar.bz2 edk2-3323359a811a597b8ee045638c5addd10444402c.zip |
UefiCpuPkg/MpInitLib: Reuse VMSA allocation to avoid unreserved allocation
https://bugzilla.tianocore.org/show_bug.cgi?id=4353
When parking the APs on exiting from UEFI, a new page allocation is made.
This allocation, however, does not end up being marked reserved in the
memory map supplied to the OS. To avoid this, re-use the VMSA by clearing
the VMSA RMP flag, updating the page contents and re-setting the VMSA RMP
flag.
Fixes: 06544455d0d4 ("UefiCpuPkg/MpInitLib: Use SEV-SNP AP Creation ...")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableReport.py')
0 files changed, 0 insertions, 0 deletions