audk/UefiCpuPkg
Tom Lendacky ee89b59430 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>
2024-04-17 20:04:41 +00:00
..
Application/Cpuid UefiCpuPkg: Calculate DisplayFamily correctly 2023-03-07 10:42:38 +00:00
CpuDxe UefiCpuPkg: Add CpuDxe driver for LoongArch64 2024-04-16 06:00:32 +00:00
CpuDxeRiscV64 UefiCpuPkg: Add cache operations support for Arch proto 2024-02-04 03:09:12 +00:00
CpuFeatures
CpuIo2Dxe
CpuIo2Smm
CpuIoPei
CpuMmio2Dxe UefiCpuPkg: Add a new CPU IO 2 driver named CpuMmio2Dxe 2024-02-06 23:51:47 +08:00
CpuMpPei UefiCpuPkg/CpuMpPei: Don't write CR3 in ConvertMemoryPageToNotPresent 2024-02-22 03:28:55 +00:00
CpuS3DataDxe UefiCpuPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
CpuTimerDxeRiscV64 UefiCpuPkg/CpuTimerDxeRiscV64: Add support for Sstc 2024-01-11 12:07:42 +00:00
Include UefiCpuPkg/AmdSvsmLib: Create the AmdSvsmLib library to support an SVSM 2024-04-17 18:30:03 +00:00
Library UefiCpuPkg/MpInitLib: Use AmdSvsmSnpVmsaRmpAdjust() to set/clear VMSA 2024-04-17 20:04:41 +00:00
MicrocodeMeasurementDxe UefiCpuPkg/MicrocodeMeasurementDxe: Fix exception 2023-03-10 07:13:14 +00:00
PiSmmCommunication
PiSmmCpuDxeSmm UefiCpuPkg/PiSmmCpuDxeSmm: Check BspIndex first before lock cmpxchg 2024-02-21 01:33:51 +00:00
ResetVector UefiCpuPkg/ResetVector: Remove AP waking vector from ResetVector 2023-09-18 02:39:25 +00:00
SecCore UefiCpuPkg: auto-generate SEC ProcessLibraryConstructorList() decl 2024-03-08 09:09:22 +00:00
SecMigrationPei
Test UefiCpuPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Universal/Acpi/S3Resume2Pei UefiCpuPkg/S3Resume2Pei: assert for invalid excution mode combo 2023-09-08 06:19:34 +00:00
UefiCpuPkg.ci.yaml UefiCpuPkg/UefiCpuPkg.ci.yaml: Ignore RISC-V file 2023-02-16 05:53:28 +00:00
UefiCpuPkg.dec UefiCpuPkg/AmdSvsmLib: Create the AmdSvsmLib library to support an SVSM 2024-04-17 18:30:03 +00:00
UefiCpuPkg.dsc UefiCpuPkg/AmdSvsmLib: Create the AmdSvsmLib library to support an SVSM 2024-04-17 18:30:03 +00:00
UefiCpuPkg.uni
UefiCpuPkgExtra.uni