Re: [RFC PATCH v2 2/6] x86/virt/tdx: Add SEAMCALL wrappers for TDX TD creation
From: Dave Hansen
Date: Wed Dec 04 2024 - 16:55:23 EST
On 12/2/24 17:03, Rick Edgecombe wrote:
> +u64 tdh_mng_addcx(struct tdx_td *td, struct page *tdcs_page)
> +{
> + struct tdx_module_args args = {
> + .rcx = page_to_pfn(tdcs_page) << PAGE_SHIFT,
This is a nit, but there is a page_to_phys().