From: Paolo Bonzini Date: Mon, 9 Feb 2026 18:08:17 +0000 (+0100) Subject: Merge tag 'kvm-x86-gmem-6.20' of https://github.com/kvm-x86/linux into HEAD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9123c5f956b1fbedd63821eb528ece55ddd0e49c;p=thirdparty%2Fkernel%2Fstable.git Merge tag 'kvm-x86-gmem-6.20' of https://github.com/kvm-x86/linux into HEAD KVM guest_memfd changes for 6.20 - Remove kvm_gmem_populate()'s preparation tracking and half-baked hugepage handling, and instead rely on SNP (the only user of the tracking) to do its own tracking via the RMP. - Retroactively document and enforce (for SNP) that KVM_SEV_SNP_LAUNCH_UPDATE and KVM_TDX_INIT_MEM_REGION require the source page to be 4KiB aligned, to avoid non-trivial complexity for a non-existent usecase (and because in-place conversion simply can't support unaligned sources). - When populating guest_memfd memory, GUP the source page in common code and pass the refcounted page to the vendor callback, instead of letting vendor code do the heavy lifting. Doing so avoids a looming deadlock bug with in-place due an AB-BA conflict betwee mmap_lock and guest_memfd's filemap invalidate lock. --- 9123c5f956b1fbedd63821eb528ece55ddd0e49c