From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) (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 1B1244E8E04 for ; Thu, 24 Sep 2026 21:53:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790286803; cv=none; b=YJ/C0yn7AyK/yBNmphGPY5SyNqVcl5cEIJCIZa8EE/q7qs4ups51ljq3g+2w44hSr1uThmdrB6hoRaH7cD6Y4r2g0GzoGteWfIV1fR796ETJsXpr8cMJqLKXdCBvxRH+gLV5WHIdUiEf+9qhb23/ERS3WaKZNvKyIlT+3KkG9WY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790286803; c=relaxed/simple; bh=RbSuvXpZGJzj7DyvR5wUr6ym4Nnq30Ym0ZQqCgZv2e4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=MI8P+3DKknE9GwQLk960vILHm43uSxqxltEeH/4oCelNRav1mTgF/YQwYiWJk37UNoHOV4+SWXXtYgFO9mwCB0LZXGW41WsT5wMEpJg623mFHePo8DoIdslR7+EHMVcXIg2JdIXxjIVvUiPXE5nXSkyPTK4VV6+p9ZSF+acXkqs= 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=u8ip4hsX; arc=none smtp.client-ip=209.85.216.69 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="u8ip4hsX" Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3a0bcf8b74cso19141a91.1 for ; Thu, 24 Sep 2026 14:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1790286791; x=1790891591; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=6LkhgjIPo4LQGHd0bFnsw+pSTli362MQLpClW50HsSw=; b=u8ip4hsXZjYKo0/NLX1BwjJaC4gBAmy1XdO39VjPw5H3XSxbB7GkGlJKrpQUAK4s8A du6dRREUDc/txuUNqgmifo0zXCjZOUJRvecq0Ij2rrIObXgozG3ROlk3p96eqV3Rlq6H 0VZgFQggx6if0cRZKzYWCC6YjVcXBpqxK17eahjRUX/oA1AEJ/SdXmiz8cn0L8rm1Yon Y13vLKjLsQ7xvCBH3yzR/Qeeu22BiJb6CB/joUSsLJIAnoRhJFRTW5ilTW4mJ92UzG3q GuHUfErxnYmJ4J0LOQGgRGfeB9VKqhDQE7jSsTblK46+OBE0rEozAsPCk9yb4gxtAEjp osWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790286791; x=1790891591; h=content-type: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:content-type; bh=6LkhgjIPo4LQGHd0bFnsw+pSTli362MQLpClW50HsSw=; b=yzjWLtUUNJTmR1RtnEyDtE+yWJ8bfopB1VWhlLrNpHzhS1KB71EsTR3R0L18zB77Pi Rbk5jIjW7oi89CeLe49zo7IKDsJI3pIJr+YQIG4xe9vY6M8qJ9EcioeRkrnSAmR0dfjE MgHsilH5wSAUUjETgvKH824gG8DHOhupED9VZQIUYhoiqqoG8hm29nvqa/PXon+0zSfB e38Oic44AspzW8t/doLOjEZ+A5jrB9vl9zHfO0JPOJheAuOvYciemKgujOL4uFnmYOPw DMfkCH19euvnIEsfoQTfD0L4MABbp8d0PyrldBoT8A2na3cNfGks8eRfLO2SRCkwNN8u FfpA== X-Forwarded-Encrypted: i=1; AKwUvBztvCfm2w5Phif7K2IoI5quJ9c/2sjMEn6WEl7ED08VRs3wMVzsjxD8ocbpZ0BF7wkA1ZaRtGkAVxURjjY=@vger.kernel.org X-Gm-Message-State: AFuF++n+MVZKAA8ZYlsQ/Izn1XQviJaWEAstRj3DemygDtxejguOYZwr s7vHF1Blc3YXpuK/SkOTej15CZ64OS3vXhmBmhpo3tV6oXoiP6sMmofMAHCLZr6blqIqb/cZkff vHhFM6Q== X-Received: from pjrv22.prod.google.com ([2002:a17:90a:bb96:b0:3a0:9658:1de6]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:2703:b0:3a0:2ffd:1a4b with SMTP id 98e67ed59e1d1-3a098ce5269mr3354853a91.25.1790286791218; Thu, 24 Sep 2026 14:53:11 -0700 (PDT) Date: Thu, 24 Sep 2026 14:51:51 -0700 In-Reply-To: <20260826-gmem-no-return-page-v4-0-3bb9c1ddb4e3@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260826-gmem-no-return-page-v4-0-3bb9c1ddb4e3@google.com> X-Mailer: git-send-email 2.56.0.rc1.315.gc6ed9934b7-goog Message-ID: <179028368772.2007408.8775233545709825615.b4-ty@b4> Subject: Re: [PATCH v4 0/5] Stop returning struct page from guest_memfd PFN lookup From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Ashish Kalra , Michael Roth , Brijesh Singh , Marc Zyngier , Oliver Upton , Joey Gouly , Steffen Eiden , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , David Hildenbrand , Yan Zhao , "Edgecombe, Rick P" , Vishal Annapurve , Fuad Tabba , Ackerley Tng Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev Content-Type: text/plain; charset="utf-8" On Wed, 26 Aug 2026 09:01:45 +0000, Ackerley Tng wrote: > v4 splits out a new patch (3) that makes use of KVM MMU invalidation logic > introduced into the RMP fault handling in patch 2 to avoid warning on a > benign case. > > Other changes in v4: > > + Took Sean's version of the changelog for patch 2 > + Picked up Fuad's Reviewed-by: and Tested-by: > > [...] Applied to kvm-x86 coco, thanks! [1/5] KVM: SEV: Treat unassigned RMP entry as benign race on PSMASH failure https://github.com/kvm-x86/linux/commit/211606532680 [2/5] KVM: SEV: Drop page refcount early during RMP fault handling https://github.com/kvm-x86/linux/commit/375b32931b5d [3/5] KVM: SEV: Check for invalidation before warning on unassigned RMP entry https://github.com/kvm-x86/linux/commit/acafcf32c83e [4/5] KVM: SEV: Drop page refcount early in VMSA reload https://github.com/kvm-x86/linux/commit/3c427e5c0347 [5/5] KVM: guest_memfd: Stop returning struct page from PFN lookup https://github.com/kvm-x86/linux/commit/89fbe3de01cc -- https://github.com/kvm-x86/linux/tree/next