Re: [PATCH v3 00/24] KVM: TDX huge page support for private memory
From: Dave Hansen
Date: Fri Jan 16 2026 - 17:25:39 EST
On 1/16/26 11:59, Sean Christopherson wrote:
> The SEAMCALL itself. I'm saying that TDH_MEM_PAGE_AUG is really just the S-EPT
> version of "make this PTE PRESENT", and that piling on sanity checks that aren't
> fundamental to TDX shouldn't be done when KVM is writing PTEs.
>
> In other words, something like this is totally fine:
>
> KVM_MMU_WARN_ON(!tdx_is_convertible_pfn(pfn));
>
> but this is not:
>
> WARN_ON_ONCE(!page_mapping(pfn_to_page(pfn)));
OK, I think I've got a better idea what you're aiming for. I think
that's totally doable going forward.