mirror of https://github.com/acidanthera/audk.git
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> |
||
---|---|---|
.. | ||
AcpiPlatformLib | ||
AcpiTimerLib | ||
BaseCachingPciExpressLib | ||
BaseMemEncryptSevLib | ||
BaseMemEncryptTdxLib | ||
BasePciCapLib | ||
BasePciCapPciSegmentLib | ||
BhyveFwCtlLib | ||
BlobVerifierLibNull | ||
CcExitLib | ||
CcProbeLib | ||
DxePciLibI440FxQ35 | ||
EmuVariableFvbLib | ||
GenericQemuLoadImageLib | ||
HardwareInfoLib | ||
LoadLinuxLib | ||
LockBoxLib | ||
MpInitLibDepLib | ||
NestedInterruptTplLib | ||
NvVarsFileLib | ||
PciHostBridgeLib | ||
PciHostBridgeLibScan | ||
PciHostBridgeUtilityLib | ||
PeilessStartupLib | ||
PlatformBmPrintScLib | ||
PlatformBootManagerLib | ||
PlatformBootManagerLibBhyve | ||
PlatformDebugLibIoPort | ||
PlatformFvbLibNull | ||
PlatformHasIoMmuLib | ||
PlatformInitLib | ||
PlatformSecureLib | ||
PxeBcPcdProducerLib | ||
QemuBootOrderLib | ||
QemuFwCfgLib | ||
QemuFwCfgS3Lib | ||
QemuFwCfgSimpleParserLib | ||
ResetSystemLib | ||
SerializeVariablesLib | ||
SmbiosVersionLib | ||
SmmCpuFeaturesLib | ||
SmmCpuPlatformHookLibQemu | ||
Tcg2PhysicalPresenceLibNull | ||
Tcg2PhysicalPresenceLibQemu | ||
TdxMailboxLib | ||
TlsAuthConfigLib | ||
UefiDriverEntryPointFwCfgOverrideLib | ||
UefiPciCapPciIoLib | ||
VirtioLib | ||
VirtioMmioDeviceLib | ||
X86QemuLoadImageLib | ||
XenConsoleSerialPortLib | ||
XenHypercallLib | ||
XenIoMmioLib | ||
XenPlatformLib | ||
XenRealTimeClockLib |