summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorCeping Sun <cepingx.sun@intel.com>2023-11-08 19:38:27 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-11-09 17:15:39 +0000
commit8a41004643412b59f669876658bd02b8025bec71 (patch)
treef322fe466436b8d6665fc35c65af6ca64b0ebcf2 /BaseTools
parent212cf07aaa149160d37ce3c383a13d012ca45c01 (diff)
downloadedk2-8a41004643412b59f669876658bd02b8025bec71.zip
edk2-8a41004643412b59f669876658bd02b8025bec71.tar.gz
edk2-8a41004643412b59f669876658bd02b8025bec71.tar.bz2
OvmfPkg/BaseMemEncryptTdxLib: Handle retry result of MapGPA
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4572 According to section 3.2 of the [GHCI] document, if the return status of MapGPA is "TDG.VP.VMCALL_RETRY", TD must retry this operation for the pages in the region starting at the GPA specified in R11. In this patch, when a retry state is detected, TDVF needs to retry the mapping with the specified address from the output results of TdVmCall. Reference: [GHCI]: TDX Guest-Host-Communication Interface v1.0 https://cdrdv2.intel.com/v1/dl/getContent/726790 Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Michael Roth <michael.roth@amd.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions