]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: TDX: Document alignment requirements for KVM_TDX_INIT_MEM_REGION
authorMichael Roth <michael.roth@amd.com>
Thu, 8 Jan 2026 21:46:21 +0000 (15:46 -0600)
committerSean Christopherson <seanjc@google.com>
Thu, 15 Jan 2026 20:31:17 +0000 (12:31 -0800)
commit189fd1b059a9c7ed22750bc8a4a1182c58ccf138
tree3439d6bd7e2b97390550cf97dfbe4d484bde77c4
parentdcbcc2323c806b55939d765c13d0728421756017
KVM: TDX: Document alignment requirements for KVM_TDX_INIT_MEM_REGION

Since it was never possible to use a non-PAGE_SIZE-aligned @source_addr,
go ahead and document this as a requirement. This is in preparation for
enforcing page-aligned @source_addr for all architectures in
guest_memfd.

Reviewed-by: Vishal Annapurve <vannapurve@google.com>
Tested-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Link: https://patch.msgid.link/20260108214622.1084057-6-michael.roth@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Documentation/virt/kvm/x86/intel-tdx.rst