From patchwork Thu Feb 15 15:29:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 13558698 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 E4963C4829E for ; Thu, 15 Feb 2024 15:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=sB4F+hzF/eC+E66JT8dThkoL3/iAJylUjbEkCdOzzAY=; b=qK0PNJLSoAb1vW VAWy2/pzlqjZ3mr+VhLX8PfDbM2pzX7e5Fye2/+/3o9hw3KXj2V2KjQi7SXzb4yptE7qGwHDl2atL pZiMn7+h3ljWXjWHsF7dNcLlqSCcUA8cjk/7pGM16NpdnxCJy9xVVaZ4LDGyXC+C8Z/tIEhq9IRV4 X/3jOitwTTQrySJJIQYv0olb6bqPKmEyg+FocMHzAJyn8IQWlD0P9plO4A9fOjMqfMZQ9UoPV4e31 34+Ebe3KGNBfWq0+HW/BU82nHKM0M0t5bV1G7JRk9LAIVxpbj/iqqPY/0vnL05Wa+ClMDPebYf2HJ 29L5djp3Cs9aXfaAe6qQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1radgH-0000000GkPM-3Ke9; Thu, 15 Feb 2024 15:29:45 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1radgE-0000000GkOA-2ysD for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2024 15:29:44 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 1136D61D15; Thu, 15 Feb 2024 15:29:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACE90C433C7; Thu, 15 Feb 2024 15:29:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708010981; bh=Nnud892Bslm9egn9hKCn7asQA+cP79m2+G21dMWR1LY=; h=From:To:Cc:Subject:Date:From; b=Ih/SmNUCvkQ1V4RSA803oNyGazqyAgjHiYHZrR1OdR2xIUNEgyXTQ/eNccrdxDnS3 VTV0MH5jrzlfI4Zzf4VrvlXdQ67DcTgnTpkzajQUh72pBdE+bnabnFsyv51BhOFZF3 iBNJ7/SXTX5UVrKHgGjrkMiFzMYpukccyQ48F9Cei1KplJQmpH0N7d68/mB1LEhw+F 4DHQD54Jemax69QTAiGdWnMwjdGha1cLLZmieaiNW3OgUAZsm2QJEWFL3MncQAWhEr SGNzIcuQMoifNsZ1ZpmAe47sscDez3sOIQiNehxwsbalkJf26d/SvCWeg57+ZP0iJK pJq+2p3/kBm5A== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1radgB-003XsL-Co; Thu, 15 Feb 2024 15:29:39 +0000 From: Marc Zyngier To: Paolo Bonzini Cc: Oliver Upton , Ricardo Koller , Will Deacon , James Morse , Suzuki K Poulose , Zenghui Yu , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Subject: [GIT PULL] KVM/arm64 fixes for 6.8, take #2 Date: Thu, 15 Feb 2024 15:29:35 +0000 Message-Id: <20240215152935.3093768-1-maz@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, oliver.upton@linux.dev, ricarkol@google.com, will@kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240215_072942_821044_8969F18C X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. 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 Hi Paolo, Another week, another very small pull request. This time, the bug is irritating enough that I want it fixed and backported right away. It has only been found by inspection (thanks Will!), but once you've seen it, you can unsee it. If you haven't pulled the previous tag [1], you'll get both for free. Please pull, M. [1] https://lore.kernel.org/r/20240207144611.1128848-1-maz@kernel.org The following changes since commit 42dfa94d802a48c871e2017cbf86153270c86632: KVM: arm64: Do not source virt/lib/Kconfig twice (2024-02-04 13:08:28 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.8-2 for you to fetch changes up to c60d847be7b8e69e419e02a2b3d19c2842a3c35d: KVM: arm64: Fix double-free following kvm_pgtable_stage2_free_unlinked() (2024-02-13 19:22:03 +0000) ---------------------------------------------------------------- KVM/arm64 fixes for 6.8, take #2 - Avoid dropping the page refcount twice when freeing an unlinked page-table subtree. ---------------------------------------------------------------- Will Deacon (1): KVM: arm64: Fix double-free following kvm_pgtable_stage2_free_unlinked() arch/arm64/kvm/hyp/pgtable.c | 2 -- 1 file changed, 2 deletions(-)