Re: [PATCH v6 02/11] x86/virt/tdx: Allocate page bitmap for Dynamic PAMT

From: Edgecombe, Rick P

Date: Tue Jul 07 2026 - 17:26:45 EST


On Tue, 2026-07-07 at 11:59 +0800, Yan Zhao wrote:
> On Mon, May 25, 2026 at 07:35:06PM -0700, Rick Edgecombe wrote:
> > +static inline bool tdx_supports_dynamic_pamt(const struct tdx_sys_info *sysinfo)
> > +{
> > + return false; /* To be enabled when kernel is ready */
> > +}
> > +
> Nit:
> Would the following style be better, though the comment will soon be removed?
>
> static inline bool tdx_supports_dynamic_pamt(const struct tdx_sys_info *sysinfo)
> {
> /* To be enabled when kernel is ready */
> return false;
> }
>
> Reviewed-by: Yan Zhao <yan.y.zhao@xxxxxxxxx>

Sure.