From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1333AD1714E for ; Tue, 22 Oct 2024 01:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Cc:To:From:Subject:Message-ID:References:Mime-Version: In-Reply-To:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MsmHAIiTKT1PsAHJrcn3wc4lWOtEN6U6cuZlArYcGvA=; b=DEiCGOy/5QUocbKR6iJ4l1UZau ktn9XYifzswD1LLaq289nWDFX1WLzr4CeZl3RQnoYUanlmUh8Xb5lnZHiOwe2qXDRH8Kay6uR+eWL 8l6tcX0d2mZyDzmB0uqKVA2Mj1/eloK2ZpbfGHJJWwhDUJgBJxrEXydns6j9f/mydaEcq/dxhhCoI CiWrsAM10nux+rFjoCXldxTHZn7dCEOish69WLjdN56H1wbbnemnKDxEI2JB/awTiAgY8vX6Qo4TP m68wLBOxN+h4oMnvy7M1VXDD4miWwP39EkcFJ1EX7owNXV7TBcanQctjiomqjEJdXwK0E6c8w6rg6 RPeR7aUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t33Id-000000098ra-0E24; Tue, 22 Oct 2024 01:03:03 +0000 Received: from mail-yb1-xb49.google.com ([2607:f8b0:4864:20::b49]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t32iH-000000093ca-0qxK for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 00:25:31 +0000 Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-e29205f6063so8056428276.1 for ; Mon, 21 Oct 2024 17:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1729556727; x=1730161527; darn=lists.infradead.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=MsmHAIiTKT1PsAHJrcn3wc4lWOtEN6U6cuZlArYcGvA=; b=UxrE7+E9NrxVM8sCIENJV5N5VAJkDJSnFwCF+AihPUHX+tE1VRtYw6FkQ4l3a4kzAM HwsSMQ2o54r3od83tUFqbrdhsMD+XPl1FMRChKBs5n09Vjh5pwWG+Q/MzGgYWlMOe9+B p0oiYSN7Q1d2KQVl9DBh/4WSNQIbnCZ8hW2p9pSpnRzsl6Q3IeQOsUUwnpYTkziaIbj7 0rGrGIsapSAeIHuQGWGBqLL4dxLpuBl7dmYf7Epo18lzMp8S9Mdt3+sombzZpZmdz1Id aFAq1ChD7J9MdBMZOD7ABgVkh8ei1ufI4L+sHR1AcswpeaXEzd6gfvBim7IrxAdLm1pk 0NLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729556727; x=1730161527; h=content-transfer-encoding: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=MsmHAIiTKT1PsAHJrcn3wc4lWOtEN6U6cuZlArYcGvA=; b=wbp1mgnvv31KlgYAHGeZm5eqypqIT3XD2jmmMZufpRHHjbkMjrqjWVllH7LeEabtmq XQsLxFUNY77uoD6Iy7CQxZvtpEb89rN8mO8AU0bnJbm0t9KNMMFHqsTy+SNDHOqpdStq ZFZnuc8+M5sJSkUXN2RQYjVy9qoXqMULQPXfQlAdyKVoGAm7rBvjziM6IkZFivxKK4Em i3PvXy+baQowy3Vggf+DakqX0CsuOqq727gYAdFUHJiMoM2HnAKzCO0MzDgh03W4kf1E F/BpbmGLxoBNttY9cY5u705CA5kurNIS5L/DSfnV/HD80xngzQDXs8aabkw2xqPaerYL 31kQ== X-Forwarded-Encrypted: i=1; AJvYcCWBeX+MgSvZTEvZkiMbHRdx4F5FtoU9KjkXvyBCT/PVYFNhfy2vm1qh7W6ab5x50B+7n6JY/ZWeKNJ7r9gXPdCX@lists.infradead.org X-Gm-Message-State: AOJu0YwlB9XYUEef9RDsy/pQqTrZPtSo30sdAOarNggBtoqtOmUmhuNT R40lSwqieRCobXuQmYCDZ1LWMhTEyLZvoRlhjHCWKbRDEIbwVqhNpsJNDJahx1XsyCk4xyNv37X hmA== X-Google-Smtp-Source: AGHT+IFt751p/7pq+BSWT0h/wj8dy6pof7dpapFjoV1RFsMPc4iJ6WxDdC7RwTVAow0VYtv4igk8p4vJkHM= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:9d:3983:ac13:c240]) (user=seanjc job=sendgmr) by 2002:a25:aae9:0:b0:e29:1893:f461 with SMTP id 3f1490d57ef6-e2bb0feddc7mr22594276.0.1729556726690; Mon, 21 Oct 2024 17:25:26 -0700 (PDT) Date: Mon, 21 Oct 2024 17:25:25 -0700 In-Reply-To: Mime-Version: 1.0 References: <20241010182427.1434605-1-seanjc@google.com> Message-ID: Subject: Re: [PATCH v13 00/85] KVM: Stop grabbing references to PFNMAP'd pages From: Sean Christopherson To: Paolo Bonzini Cc: Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, "Alex =?utf-8?Q?Benn=C3=A9e?=" , Yan Zhao , David Matlack , David Stevens , Andrew Jones Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_172529_276929_590C5839 X-CRM114-Status: GOOD ( 15.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 17, 2024, Paolo Bonzini wrote: > On Thu, Oct 10, 2024 at 8:24=E2=80=AFPM Sean Christopherson wrote: > > v13: > > - Rebased onto v6.12-rc2 > > - Collect reviews. [Alex and others] > > - Fix a transient bug in arm64 and RISC-V where KVM would leak a page > > refcount. [Oliver] > > - Fix a dangling comment. [Alex] > > - Drop kvm_lookup_pfn(), as the x86 that "needed" it was stupid and is= (was?) > > eliminated in v6.12. > > - Drop check_user_page_hwpoison(). [Paolo] > > - Drop the arm64 MTE fixes that went into 6.12. > > - Slightly redo the guest_memfd interaction to account for 6.12 change= s. >=20 > Here is my own summary of the changes: Yep, looks right to me. > patches removed from v12: > 01/02 - already upstream > 09 - moved to separate A/D series [1] > 34 - not needed due to new patch 36 > 35 - gone after 620525739521376a65a690df899e1596d56791f8 >=20 > patches added or substantially changed in v13: > 05/06/07 - new, suggested by Yan Zhao > 08 - code was folded from mmu_spte_age into kvm_rmap_age_gfn_range > 14 - new, suggested by me in reply to 84/84 (yuck) > 15 - new, suggested by me in reply to 84/84 > 19 - somewhat rewritten for new follow_pfnmap API > 27 - smaller changes due to new follow_pfnmap API > 36 - rewritten, suggested by me > 45 - new, cleanup > 46 - much simplified due to new patch 45 >=20 > Looks good to me, thanks and congratulations!! Should we merge it in > kvm/next asap? That has my vote, though I'm obvious extremely biased :-)