diff options
author | Ceping Sun <cepingx.sun@intel.com> | 2024-02-27 05:18:32 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-19 09:42:06 +0000 |
commit | a1a6da80aa80baecfba71a4d8e4c38dbb8f2f4d3 (patch) | |
tree | e6125a4d3198d1e6f47d0ceb80af7c0b91f52d5a | |
parent | 07c49d5d402429ef4dbe1da5f8371a0a07bcc279 (diff) | |
download | edk2-a1a6da80aa80baecfba71a4d8e4c38dbb8f2f4d3.tar.gz |
OvmfPkg/CcExitLib: Update TDVMCALL_EXPOSE_REGS_MASK
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4696
Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mask.
Reference:
[GHCI]: TDX Guest-Host-Communication Interface v1.5
https://cdrdv2.intel.com/v1/dl/getContent/726792
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>
Cc: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Min Xu <min.m.xu@intel.com>
-rw-r--r-- | OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm b/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm index fa86440904..c9c007352e 100644 --- a/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm +++ b/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm @@ -9,7 +9,7 @@ DEFAULT REL
SECTION .text
-%define TDVMCALL_EXPOSE_REGS_MASK 0xffec
+%define TDVMCALL_EXPOSE_REGS_MASK 0xffcc
%define TDVMCALL 0x0
%define EXIT_REASON_CPUID 0xa
|