Re: [PATCH v10 03/11] x86/virt/tdx: Add __tdx_pamt_get/put() helpers

From: Dave Hansen

Date: Thu Sep 03 2026 - 12:51:02 EST


On 9/2/26 18:51, Rick Edgecombe wrote:
> Create __tdx_pamt_get/put() to handle installing DPAMT 4KB backing for
> pages that are already allocated (such as KVM's use of S-EPT page tables
> or guest private memory). Have them take a pfn instead of a struct page,
> as future changes will want to use these helpers for guest pages which are
> tracked by PFN.

Looks fine with the v10 changes:

Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>