Re: [PATCH v7 01/20] x86/tdx: Define TDX supported page sizes as macros
From: Huang, Kai
Date: Mon Nov 21 2022 - 04:16:02 EST
On Sun, 2022-11-20 at 18:52 -0800, Sathyanarayanan Kuppuswamy wrote:
>
> On 11/20/22 4:26 PM, Kai Huang wrote:
> > +/*
> > + * TDX supported page sizes (4K/2M/1G).
> > + *
> > + * Those values are part of the TDX module ABI. Do not change them.
>
> It would be better if you include specification version and section
> title.
>
Such as below?
"Those values are part of the TDX module ABI (section "Physical Page Size", TDX
module 1.0 spec). Do not change them."
Btw, Dave mentioned we should not put the "section numbers" to the comment:
https://lore.kernel.org/lkml/2a1886e7-fa5d-99e2-b1da-55ed7c0d024b@xxxxxxxxx/
I was trying to follow.