From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BF49322B90 for ; Thu, 15 Jan 2026 21:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768511272; cv=none; b=NLav+G7lTRTZFHs8MiuoR0/3M5p1rlxHL5YHGcUVhs6/FQON57W4fm9ITizDId52RDPqVfzGEx+co1q9vQTCg7kycY3u1msvT4IKRQevsII23yTa/vWKmO1h9Ca6OJyjCNBVTwfGjCRFT4MSdLN8rhXjly5VMNvaXOKVNKhonsk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768511272; c=relaxed/simple; bh=RMi5gX9RXeXwJzPuAbDfslFEC8LCMJRoHS6UE4uQmWg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=pdz8rff7fwuEwR32aSvvNcJ65Lylqc/bdyZzZbeCzQGJ2jxH4Pam1Mha6pqBR1dO6COy5smcpLjIIv4wY4Le4joK3soEjZj8WZpLxh+bWmsB+oNE6zTvUH0Y4Lz2zYOhlw5Yg7KewxDbaqXUf2Lsor7y7mGiOgU3kI6y5Ge8G4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Wq7FRGiQ; arc=none smtp.client-ip=209.85.214.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Wq7FRGiQ" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-29f1450189eso10776895ad.1 for ; Thu, 15 Jan 2026 13:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1768511270; x=1769116070; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=+q0zy3rt0+W46s/KLmj4uNeydBrbpj2ej0hXrXM1xwo=; b=Wq7FRGiQyatW9xDsVCSLJ0LUtQ9DJWswfTjmJwU7bKw4qu+uGxB/RRpYnwueQEYHIS X5lC8qNJ5XOQxLebBr4MoL7fCe5Q1dMwsDWPtGUNnEWegVgA5cTecYloMn3dXRp4A3iZ jM+FlCjxTxJv1blLxC0QdSUzxifU0OzE5bH40rwz4pEpZt9dmxItxO1Iq7mFWiKIBzIJ qfBzYKdAd0O32cBF5M9C1lb5DYb1zLNpLc8WKDkpsWlI18YudjIUwyUV13+rXw6QdGa7 7Q3bw8n/vCrW4PzDrO3kmC9J8vbK+yG7iMabZskqe0yARcYMC5x3i1NdimKOtPELtCI9 6POA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768511270; x=1769116070; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+q0zy3rt0+W46s/KLmj4uNeydBrbpj2ej0hXrXM1xwo=; b=Mstlscf9D+zHPonFgj/a1m+N8JfKNNQx8AQCF8P6B79H+gt+zGosQ+rA58WBoncts4 pW4GWvH70SgoPEx7eY/L0KLuulGSpzt/xIvk4ii78cJk5x05cpOTmlKQE7z6FTlgzWxD M1YY2vI45h5zttmwhmm9w4eVETyH4MSlaIqGFgkQTeKtLQuveIHUv8368paklL8cUtz/ aWGIcWq9VIsEpyF+FTRp2zkO+nCBkNL6jb1TbVYMVRJ0WNsJwUGOUOf4X1xB1dtDUtJ1 oYeMP6ddw+MLkzUU64jly2a06HACzR4Jiis/LzqUra7K3RFs8p7r8qcvW01fmokUdtIZ xOIw== X-Forwarded-Encrypted: i=1; AJvYcCW8XMt01ZE9crFiQ+1J9hrRrELgnOcuvYcBBn/Wk1SNcCEobXUm9+FEWxbU0H1Py7gLXPeedQ1CURrY5tI=@vger.kernel.org X-Gm-Message-State: AOJu0YyaMy3uYq+Hk+lLkjHEoKnm7wgL7I0dEiRizyg+vQNT0m9IxN0V 0IT34koplQ4Z/2VqRSuopCWuWE3mhhh7gPZozjLdnb9j2pUe0ZnqLae6On7rLEOtflQKPP7Aq+R ivLNGWQ== X-Received: from plch3.prod.google.com ([2002:a17:902:f2c3:b0:2a3:e3b:89b6]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:2c08:b0:2a0:c92e:a378 with SMTP id d9443c01a7336-2a71756b899mr7431015ad.7.1768511269740; Thu, 15 Jan 2026 13:07:49 -0800 (PST) Date: Thu, 15 Jan 2026 13:07:47 -0800 In-Reply-To: <176849903000.720660.2401438098975748028.b4-ty@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260108214622.1084057-1-michael.roth@amd.com> <176849903000.720660.2401438098975748028.b4-ty@google.com> Message-ID: Subject: Re: [PATCH v3 0/6] KVM: guest_memfd: Rework preparation/population flows in prep for in-place conversion From: Sean Christopherson To: kvm@vger.kernel.org, Michael Roth Cc: linux-coco@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, thomas.lendacky@amd.com, pbonzini@redhat.com, vbabka@suse.cz, ashish.kalra@amd.com, liam.merwick@oracle.com, vannapurve@google.com, ackerleytng@google.com, aik@amd.com, ira.weiny@intel.com, yan.y.zhao@intel.com, pankaj.gupta@amd.com, David Hildenbrand Content-Type: text/plain; charset="us-ascii" On Thu, Jan 15, 2026, Sean Christopherson wrote: > On Thu, 08 Jan 2026 15:46:16 -0600, Michael Roth wrote: > > This patchset is also available at: > > > > https://github.com/AMDESE/linux/tree/gmem-populate-rework-v3 > > > > and is based on top of kvm/next (0499add8efd7) > > > > > > [...] > > Applied to kvm-x86 gmem, with the tweaked logic I suggested. Thanks! > > [1/6] KVM: SVM: Fix a missing kunmap_local() in sev_gmem_post_populate() > https://github.com/kvm-x86/linux/commit/60b590de8b30 > [2/6] KVM: guest_memfd: Remove partial hugepage handling from kvm_gmem_populate() > https://github.com/kvm-x86/linux/commit/0726d3e164f1 > [3/6] KVM: guest_memfd: Remove preparation tracking > https://github.com/kvm-x86/linux/commit/188349ceb0f0 > [4/6] KVM: SEV: Document/enforce page-alignment for KVM_SEV_SNP_LAUNCH_UPDATE > https://github.com/kvm-x86/linux/commit/b2e648758038 > [5/6] KVM: TDX: Document alignment requirements for KVM_TDX_INIT_MEM_REGION > https://github.com/kvm-x86/linux/commit/894c3cc35b89 > [6/6] KVM: guest_memfd: GUP source pages prior to populating guest memory > https://github.com/kvm-x86/linux/commit/ba375af3d04d New hashes after fixing the IS_ERR() goof: [1/6] KVM: SVM: Fix a missing kunmap_local() in sev_gmem_post_populate() https://github.com/kvm-x86/linux/commit/60b590de8b30 [2/6] KVM: guest_memfd: Remove partial hugepage handling from kvm_gmem_populate() https://github.com/kvm-x86/linux/commit/6538b6221cc2 [3/6] KVM: guest_memfd: Remove preparation tracking https://github.com/kvm-x86/linux/commit/8622ef05709f [4/6] KVM: SEV: Document/enforce page-alignment for KVM_SEV_SNP_LAUNCH_UPDATE https://github.com/kvm-x86/linux/commit/dcbcc2323c80 [5/6] KVM: TDX: Document alignment requirements for KVM_TDX_INIT_MEM_REGION https://github.com/kvm-x86/linux/commit/189fd1b059a9 [6/6] KVM: guest_memfd: GUP source pages prior to populating guest memory https://github.com/kvm-x86/linux/commit/2a62345b3052