audk/OvmfPkg/ResetVector
Michael Roth 34819f2cac OvmfPkg/ResetVector: use SEV-SNP-validated CPUID values
CPUID instructions are issued during early boot to do things like probe
for SEV support. Currently these are handled by a minimal #VC handler
that uses the MSR-based GHCB protocol to fetch the CPUID values from
the hypervisor. When SEV-SNP is enabled, use the firmware-validated
CPUID values from the CPUID page instead [1].

[1]: SEV SNP Firmware ABI Specification, Rev. 0.8, 8.13.2.6

Cc: Michael Roth <michael.roth@amd.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
2021-12-09 06:28:10 +00:00
..
Ia16 OvmfPkg/ResetVector: introduce SEV metadata descriptor for VMM use 2021-12-09 06:28:10 +00:00
Ia32 OvmfPkg/ResetVector: use SEV-SNP-validated CPUID values 2021-12-09 06:28:10 +00:00
X64 OvmfPkg/ResetVector: pre-validate the data pages used in SEC phase 2021-12-09 06:28:10 +00:00
Main.asm OvmfPkg: Enable TDX in ResetVector 2021-10-24 02:09:27 +00:00
ResetVector.inf OvmfPkg/ResetVector: pre-validate the data pages used in SEC phase 2021-12-09 06:28:10 +00:00
ResetVector.nasmb OvmfPkg/ResetVector: pre-validate the data pages used in SEC phase 2021-12-09 06:28:10 +00:00