audk/OvmfPkg/PlatformPei
Tom Lendacky 4bd3b5ab13 OvmfPkg/PlatformPei: Retrieve APIC IDs from the hypervisor
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654

If the hypervisor supports retrieval of the vCPU APIC IDs, retrieve
them before any APs are actually started. The APIC IDs can be used
to start the APs for any SEV-SNP guest, but is a requirement for an
SEV-SNP guest that is running under an SVSM.

After retrieving the APIC IDs, save the address of the APIC ID data
structure in a GUIDed HOB.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Michael Roth <michael.roth@amd.com>
Cc: Min Xu <min.m.xu@intel.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
2024-04-17 18:30:03 +00:00
..
AmdSev.c OvmfPkg/PlatformPei: Retrieve APIC IDs from the hypervisor 2024-04-17 18:30:03 +00:00
ClearCache.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
FeatureControl.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Fv.c OvmfPkg/PlatformPei: PeiFv: stop using mPlatformInfoHob 2022-12-14 17:45:41 +00:00
IntelTdx.c OvmfPkg/PlatformPei: Build GuidHob for Tdx measurement 2023-02-04 03:38:15 +00:00
MemDetect.c OvmfPkg/PlatformPei: log pei memory cap details 2024-02-27 13:29:25 +00:00
MemTypeInfo.c OvmfPkg: Format with Uncrustify 73.0.8 2023-11-27 20:14:59 +00:00
Platform.c OvmfPkg/PlatformPei: drop S3Verification() 2023-05-29 11:19:51 +00:00
Platform.h OvmfPkg/PlatformPei: remove mFeatureControlValue 2022-12-14 17:45:41 +00:00
PlatformPei.inf OvmfPkg/PlatformPei: Retrieve APIC IDs from the hypervisor 2024-04-17 18:30:03 +00:00