diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2024-03-08 07:32:09 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-17 20:04:41 +0000 |
commit | ee89b594306b98bee5aff590e8577b74a46c2619 (patch) | |
tree | f042a4a1deddad46b2bb4517e3aa0a1b258bf422 /BaseTools/Source/Python/FirmwareStorageFormat/SectionHeader.py | |
parent | 6ced1e91eff13dae1bfba95734e2b34a73601db2 (diff) | |
download | edk2-ee89b594306b98bee5aff590e8577b74a46c2619.tar.gz edk2-ee89b594306b98bee5aff590e8577b74a46c2619.tar.bz2 edk2-ee89b594306b98bee5aff590e8577b74a46c2619.zip |
UefiCpuPkg/MpInitLib: Use AmdSvsmSnpVmsaRmpAdjust() to set/clear VMSA
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654
The RMPADJUST instruction is used to change the VMSA attribute of a page,
but the VMSA attribute can only be changed when running at VMPL0. To
prepare for running at a less priviledged VMPL, use the AmdSvsmLib library
API to perform the RMPADJUST. The AmdSvsmLib library will perform the
proper operation on behalf of the caller.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/FirmwareStorageFormat/SectionHeader.py')
0 files changed, 0 insertions, 0 deletions