lkml.org 
[lkml]   [2021]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v10 07/11] x86/tdx: Add HLT support for TDX guest
On Thu, Oct 14, 2021, Sathyanarayanan Kuppuswamy wrote:
>
> On 10/14/21 2:30 AM, Thomas Gleixner wrote:
> > On Fri, Oct 08 2021 at 22:37, Kuppuswamy Sathyanarayanan wrote:
> > > +/* HLT TDVMCALL sub-function ID */
> > > +#define EXIT_REASON_HLT 12
> > arch/x86/include/uapi/asm/vmx.h:#define EXIT_REASON_HLT 12
> >
> > Is there a _good_ reason why this can't be reused?

So, no. :-D

> As per current use case we can re-use it. Out of all TDX hypercall sub
> function IDs, only Instruction.PCONFIG (65) exit reason id is missing in
> vmx.h. But currently we are not handling it. So we can ignore it for now.

If the kernel proper needs EXIT_REASON_PCONFIG before KVM, just send a patch...

\
 
 \ /
  Last update: 2021-10-15 17:05    [W:0.063 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site