Reviewed-by: Min Xu <min.m...@intel.com> > -----Original Message----- > From: Sun, CepingX <cepingx....@intel.com> > Sent: Tuesday, February 27, 2024 5:19 AM > To: devel@edk2.groups.io > Cc: Sun, CepingX <cepingx....@intel.com>; Aktas, Erdem > <erdemak...@google.com>; James Bottomley <j...@linux.ibm.com>; Yao, > Jiewen <jiewen....@intel.com>; Xu, Min M <min.m...@intel.com>; Tom > Lendacky <thomas.lenda...@amd.com>; Michael Roth > <michael.r...@amd.com>; Gerd Hoffmann <kra...@redhat.com>; > Yamahata, Isaku <isaku.yamah...@intel.com> > Subject: [PATCH V1 2/3] 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 <erdemak...@google.com> > Cc: James Bottomley <j...@linux.ibm.com> > Cc: Jiewen Yao <jiewen....@intel.com> > Cc: Min Xu <min.m...@intel.com> > Cc: Tom Lendacky <thomas.lenda...@amd.com> > Cc: Michael Roth <michael.r...@amd.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Isaku Yamahata <isaku.yamah...@intel.com> > Signed-off-by: Ceping Sun <cepingx....@intel.com> > --- > OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm > b/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm > index fa86440904fe..c9c007352e8d 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 > > -- > 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116295): https://edk2.groups.io/g/devel/message/116295 Mute This Topic: https://groups.io/mt/104577520/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-