Re: [RFC v1 13/26] x86/tdx: Handle MWAIT, MONITOR and WBINVD

From: Andy Lutomirski
Date: Fri Feb 05 2021 - 23:41:44 EST


On Fri, Feb 5, 2021 at 3:39 PM Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx> wrote:
>
> In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions
> are not supported. So handle #VE due to these instructions as no ops.
>

MWAIT turning into NOP is no good. How about suppressing
X86_FEATURE_MWAIT instead?

--Andy