Merged https://github.com/tianocore/edk2/pull/3741
> -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yao, > Jiewen > Sent: Friday, December 9, 2022 2:50 PM > To: Ryan Afranji <afra...@google.com>; devel@edk2.groups.io > Cc: Nakajima, Jun <jun.nakaj...@intel.com>; Xu, Min M > <min.m...@intel.com>; Aktas, Erdem <erdemak...@google.com>; > vannapu...@google.com > Subject: Re: [edk2-devel] [V1 PATCH 1/1] OvmfPkg: Add INVD case in #VE > handler > > Reviewed-by: Jiewen Yao <jiewen....@intel.com> > > > -----Original Message----- > > From: Ryan Afranji <afra...@google.com> > > Sent: Thursday, December 8, 2022 8:51 AM > > To: devel@edk2.groups.io > > Cc: Nakajima, Jun <jun.nakaj...@intel.com>; Xu, Min M > > <min.m...@intel.com>; Yao, Jiewen <jiewen....@intel.com>; Aktas, > Erdem > > <erdemak...@google.com>; vannapu...@google.com; Ryan Afranji > > <afra...@google.com> > > Subject: [V1 PATCH 1/1] OvmfPkg: Add INVD case in #VE handler > > > > According to the Intel GHCI specification document section 2.4.1, the > > goal for instructions that do not have a corresponding TDCALL is for the > > handler to treat the instruction as a NOP. > > > > INVD does not have a corresponding TDCALL. This patch makes the #VE > > handler treat INVD as a NOP. > > > > Signed-off-by: Ryan Afranji <afra...@google.com> > > --- > > OvmfPkg/Library/CcExitLib/CcExitVeHandler.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/OvmfPkg/Library/CcExitLib/CcExitVeHandler.c > > b/OvmfPkg/Library/CcExitLib/CcExitVeHandler.c > > index c35f65a649..3798c2bb13 100644 > > --- a/OvmfPkg/Library/CcExitLib/CcExitVeHandler.c > > +++ b/OvmfPkg/Library/CcExitLib/CcExitVeHandler.c > > @@ -541,6 +541,7 @@ CcExitHandleVe ( > > case EXIT_REASON_MONITOR_INSTRUCTION: > > case EXIT_REASON_WBINVD: > > case EXIT_REASON_RDPMC: > > + case EXIT_REASON_INVD: > > /* Handle as nops. */ > > break; > > > > -- > > 2.39.0.rc1.256.g54fd8350bd-goog > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#97166): https://edk2.groups.io/g/devel/message/97166 Mute This Topic: https://groups.io/mt/95533489/21656 Mute #ve:https://edk2.groups.io/g/devel/mutehashtag/ve Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-