diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2021-08-17 21:46:51 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-08-27 12:10:40 +0000 |
commit | b9af5037b270c4767b275fd5d23b942c422e742f (patch) | |
tree | d12364a37e9ee7c87acb68df99fb0d94aea33d36 /ArmPkg/Drivers | |
parent | ab77b6031b03733c28fa5f477d802fd67b3f3ee0 (diff) | |
download | edk2-b9af5037b270c4767b275fd5d23b942c422e742f.zip edk2-b9af5037b270c4767b275fd5d23b942c422e742f.tar.gz edk2-b9af5037b270c4767b275fd5d23b942c422e742f.tar.bz2 |
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>
Diffstat (limited to 'ArmPkg/Drivers')
0 files changed, 0 insertions, 0 deletions