From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796414492; b=a50jLYtOFOHLSK7O/oWWN4LLZcbp/RZp8eV/a3uVjKNVMIDbXEI8ShtKjVCE12i+S2oJ lMSgtDSk6A2Lm1TifNN1DdDtWQeZ+v9GMrRdIK5tkDESNeEm9gNGFqUeqt4l7fiZC8vN2 821PnidQDLYk7UKJaWvxzA8bpLmHQexvsoC+lbCvjXrR+PgT48PORDSFVxz2pVEguHqqA udRTCFYF+ao/d5CWB36eHf9SpJ02rjl3mdCfgnr9HkQ9U4EETU15hdU+fZhtzvgJCZCmW TFENmiafJ76mk6Qnu+5nwGrWGSQ+S2t0BdtdB2BCFc7LRna+ullpeNDtwZDoH0AM7tA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796414492; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=na1J9COSyS1Xyh9jKT7V4jAM6ePyT8yvbKgNP2Ylg4c=; b=m82wuXUTc4HAJJ66wvukqiWpaKJYmj1RTeYC/4K3uvey6TUcYnMemcklcSvhb/zcnTfM xEYqvniZ2S0h9j3YqK3neGKBuepdKe8KpJW6zh5pOhLZZ0sHRrSo2Dto5LE7lbkJ4MPYu j6WyAJEGd5NapidWcTq7eD5TKIKjNLLdVD3WgtqcUdZruINny8eGm10oQsDJjkNg8UuJe o1zAlZm1WpnWZyYJyzzK/Cc1GYT7ih0/EOeV5p8QE6kP+EgE/+LtJRGxrHn+xaHWJeJ2z R2KyWAw9QoDOraZIWQnRF9qGZeRnXOYgBHHRU1wYj+DI75arZIzVZOWVfWLvijiyo3g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SIYLBj6g; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9CC4606A322 for ; Fri, 4 Dec 2026 20:01:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SIYLBj6g Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C2781F00936; Fri, 4 Dec 2026 20:01:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796414492; bh=na1J9COSyS1Xyh9jKT7V4jAM6ePyT8yvbKgNP2Ylg4c=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=SIYLBj6gYCpfApNmkLgcShdZNWeyGcKIVgXw1IjruB8NKJwKBtFaWvI9+PIKAPJIv FQvhVM8HYwKNMe66X5VH6jmN4BVVojOE4K9qHz5zt7uFGfsWEULDSv6MRRvh4HwUrP 9xTvq+LPA000dkulnXAfA/WpoEO4k8OsD6Cm0TMJ1nX3qXH2cMTsuN/7tnS+ZtQt9o jBdf9YM6Xq/ztqt+SJFVBOXIrf/5QUntF3oFTftDDEdSVF6rFAi2iGBMO4pXrHtVxb O0MK/sDxu0iye0UHEujxr9Nlibf2p5S+BNZp/InaU6hJrkQFNfH43b6mwJOYpgKdDM NKda9UAdFn16g== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 13/17] KVM: Invalidate all GFN=>PFN caches when VM and/or its process is dying Reply-To: sashiko-reviews@lists.linux.dev To: "Paolo Bonzini" , kvm@vger.kernel.org In-Reply-To: <20261204175930.2154542-14-pbonzini@redhat.com> References: <20261204175930.2154542-1-pbonzini@redhat.com> <20261204175930.2154542-14-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 20:01:31 +0000 X-Mailing-List: kvm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] KVM: commit message refers to removed kvm_flush_shadow_all() -- commit 65fcfccc757ce92283ecf557f6135d45190e157f Author: Sean Christopherson KVM: Invalidate all GFN=3D>PFN caches when VM and/or its process is dying This commit adds gfn_to_pfn_cache_invalidate_all() and calls it from kvm_mmu_notifier_release() so all GFN=3D>PFN caches are invalidated when a = VM or its owning process is dying. Link: https://patch.msgid.link/20261120195742.55768-6-seanjc@google.com > Invalidate all GPCs in kvm_flush_shadow_all(), i.e. when a VM or its owni= ng > process is dying, to ensure a GPC can't be used after the associated mm h= as > exited, e.g. via a timer callback. [Severity: Low] Should this refer to kvm_mmu_notifier_release() instead of kvm_flush_shadow_all()? Earlier in this series, commit "KVM: Fold kvm_flush_shadow_all() into kvm_mmu_notifier_release()" removed kvm_flush_shadow_all(), and this patch adds the gfn_to_pfn_cache_invalidate_all() call to kvm_mmu_notifier_release(). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204175930.2154= 542-1-pbonzini@redhat.com?part=3D13