lkml.org 
[lkml]   [2022]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v7 01/20] x86/tdx: Define TDX supported page sizes as macros
Date
On Mon, 2022-11-21 at 15:48 -0800, Hansen, Dave wrote:
> On 11/20/22 16:26, Kai Huang wrote:
> > +/*
> > + * TDX supported page sizes (4K/2M/1G).
> > + *
> > + * Those values are part of the TDX module ABI. Do not change them.
> > + */
> > +#define TDX_PS_4K 0
> > +#define TDX_PS_2M 1
> > +#define TDX_PS_1G 2
>
> That comment can just be:
>
> /* TDX supported page sizes from the TDX module ABI. */
>
> I think folks understand that the kernel can't willy nilly change ABI
> values.

Thanks. Will do.
\
 
 \ /
  Last update: 2022-11-22 01:02    [W:2.045 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site