]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/AmdSevDxe/AmdSevDxe.inf
OvmfPkg/AmdSev: expose the SNP reserved pages through configuration table
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 9 Dec 2021 03:27:59 +0000 (11:27 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 9 Dec 2021 06:28:10 +0000 (06:28 +0000)
commit67484aed694e7d9dff4ae91df0afeff28898c68a
tree574e05fda73ddc6e51f62122cb3cc5393399a64e
parentea3a12d9706dd405d5eb96901be31de28c3134af
OvmfPkg/AmdSev: expose the SNP reserved pages through configuration table

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275

Now that both the secrets and cpuid pages are reserved in the HOB,
extract the location details through fixed PCD and make it available
to the guest OS through the configuration table.

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: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
OvmfPkg/AmdSevDxe/AmdSevDxe.c
OvmfPkg/AmdSevDxe/AmdSevDxe.inf
OvmfPkg/Include/Guid/ConfidentialComputingSevSnpBlob.h [new file with mode: 0644]
OvmfPkg/OvmfPkg.dec