audk/OvmfPkg/ResetVector
Brijesh Singh b9af5037b2 OvmfPkg/ResetVector: move the GHCB page setup in AmdSev.asm
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3429

While build the initial page table, the SetCr3ForPageTables64 checks
whether SEV-ES is enabled. If so, clear the page encryption mask from the
GHCB page. Move the logic to clear the page encryption mask in the
AmdSev.asm.

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>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
2021-08-27 12:10:40 +00:00
..
Ia16 OvmfPkg/AmdSev: reserve MEMFD space for for firmware config hashes 2021-07-29 09:49:50 +00:00
Ia32 OvmfPkg/ResetVector: move the GHCB page setup in AmdSev.asm 2021-08-27 12:10:40 +00:00
ResetVector.inf OvmfPkg/ResetVector: update SEV support to use new work area format 2021-08-27 12:10:40 +00:00
ResetVector.nasmb OvmfPkg/ResetVector: update SEV support to use new work area format 2021-08-27 12:10:40 +00:00