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

From: Yan Zhao

Date: Tue Jul 07 2026 - 00:00:07 EST


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>