Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3ABEE49B202 for ; Fri, 11 Sep 2026 16:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789143746; cv=none; b=ASufdCzYRfkpMqRrtfbsU2tx9JQGyTExC4W+Ccz6Hq0toyj7QmEJUM7CAFWVio8jzK6RS15+G5Wzztek6eoeogU8EoD5vJnwV+FRUA3stsIP0IAeP4IiTqSAeBbi61xVnUUkHGFIGMAkynhvFGNsIyT1/CQcLHhlE5vePR5eNx8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789143746; c=relaxed/simple; bh=Qe9iO6FdrqH0CaHufZOikqJvB+dhH5J874bgXPrFihg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AywRVliuxGiUOrTksWYUS7d1dFB7EgfiGGWIbxvhr+pSCOcOvf+mhhSvKYUUUgniflS7gUQDb9naBV0HkyrOEZTlVwr41u8YuBmj84Ksje6ImcLDb4D02jWaB/ITKV9/PrjTXmwAFL07A9AHDnLmgnGcZaJZWiXtigUB4U29RYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SNga7xVx; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SNga7xVx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EFDD1F000FF; Fri, 11 Sep 2026 16:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1789143744; bh=RdS7Wqx1sTQW56FHfN0F8MYke0Taf2Z8VE/SYcQlAKc=; h=From:To:Cc:Subject:Date; b=SNga7xVxglS3nXkDS0oG9a8sdDEq628Iww2bOjbe1k8tBzz4iq02lwlTpSJCRoin1 2jFalVbF1fNzrMeIhizlVb+oZJNZgUvxItMf/+8F7LVvE6F6l3grY1o8eZx7t32Q3C JbZoMA82MgADt7UalOCIPLZwya3BvjmD/ABEaqwJMJLHFqODHy5HDvPRHL77XcMi7q Bo7uxVevv0mJ8KZT3VhcaocvP8OxbIrNNTNzDoyPThxq/U6wVBWbE9F+ziG1QfwwA3 5bp9cfcc/WMvZ+cZbqqyV1fvSfuInMboNcv1UveB/0Acoi+FN9Un7nyg8TUXtqwrAp i7XziZeujvKDQ== 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.98.2) (envelope-from ) id 1x5417-00000007qRK-43EP; Fri, 11 Sep 2026 16:22:22 +0000 From: Marc Zyngier To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Steffen Eiden , Joey Gouly , Suzuki K Poulose , Oliver Upton , Zenghui Yu , Fuad Tabba , ljs@kernel.org, Shen Yongchao , Karl Mehltretter , Wei-Lin Chang Subject: [PATCH v4 0/2] KVM: arm64: nv: Shadow S2 life-cycle fixes Date: Fri, 11 Sep 2026 17:22:01 +0100 Message-ID: <20260911162203.1919330-1-maz@kernel.org> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, seiden@linux.ibm.com, joey.gouly@arm.com, suzuki.poulose@arm.com, oupton@kernel.org, yuzenghui@huawei.com, fuad.tabba@linux.dev, ljs@kernel.org, grayhat@foxmail.com, kmehltretter@gmail.com, weilin.chang@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false 7.3-rc2 has introduced annoying conflicts with this, so in the spirit of making things a bit easier for Oliver, here's the version rebased on -rc2! * From v3 [1] - Fixed spacing (Wei-Lin) - Rebased on 7.3-rc2 - Collected RB from Lorenzo, with thanks. [1] https://lore.kernel.org/all/20260821161829.1032561-1-maz@kernel.org Marc Zyngier (2): KVM: arm64: nv: Fix life cycle of the nested_mmus array KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction arch/arm64/include/asm/kvm_host.h | 2 +- arch/arm64/include/asm/kvm_nested.h | 3 +- arch/arm64/kvm/arm.c | 8 ++- arch/arm64/kvm/nested.c | 100 ++++++++++++++-------------- 4 files changed, 58 insertions(+), 55 deletions(-) -- 2.47.3