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 3A8DAC982C1 for ; Wed, 16 Sep 2026 07:08:32 +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-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iPPSs8t6HCHVvLUXUgpO1nMbCgpWJ+6yj0K1jackD7s=; b=GjuOl9l3fg4zAvMzRS3VrJpVq1 g8FSIZ9HXPTxaCh3FHRfsx1J/DKC9jpspA9r+r9IrtaFYj8zV9ti/OMXv5+v5VRH6JlqiWRbdZM1v Xf7Vh1gqUxqLOSRcyzfE81O/P3wcePvmcKFQp+b7B4OcJMmiBpnUp/TEi7e030n6oH0uF1gZYCjyt dLHJcTtZVTHJpuFQijCgoULTR+0ZcmFdg3rzL1njxrHyBz9HHVqXrgohjR7OjUdPWc8EGRtXV6AUK e5iIk9dSxY+eHW0UuxXRUr8wMSUndxyw27S8VcLpthsGfPREeGcFXQe+nCcRHkkXoXmdI5h3yH+qV GzDcE1vA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6jkm-00000008Yq5-42vO; Wed, 16 Sep 2026 07:08:25 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6jkl-00000008YpQ-1bn8 for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2026 07:08:23 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id B8CEC41259; Wed, 16 Sep 2026 07:08:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98EB31F00898; Wed, 16 Sep 2026 07:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1789542502; bh=iPPSs8t6HCHVvLUXUgpO1nMbCgpWJ+6yj0K1jackD7s=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=YkY9epgZqkRRY9guKEgBDs7Lrde5h0502AJqdL3UjjLO4zAiKI+VCt5VduXcMAem3 oqZ6jDg1cYkvxGBIDMn2widDGu+3Cbmy5bBn2ESdQcsU9I5qwg+mQ/sV4p/4aNiVCb f7+yEXm64vKGHUL6SNWMneQ5YkEZ+9TzVX2s295G/FF7oqJUGpWcfCj8uqzeUcUJNe KaAysJjArdWcETF2PGvOLrgKqqobWEobF9ySCIBHAjln4M/juXRQXFltsBctqWWBfU LwC+gjm5rEcD7Ee4qicj38SzW2ixE80V3baShhwOpG+ZSZWzdy/aZlEqQ1OinGeaU1 ZAUW/CB7gEXNA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) 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 1x6jki-00000009Tp9-2nPE; Wed, 16 Sep 2026 07:08:20 +0000 Date: Wed, 16 Sep 2026 08:08:20 +0100 Message-ID: <86ld9165cr.wl-maz@kernel.org> From: Marc Zyngier To: Itaru Kitayama Cc: Wei-Lin Chang , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, Oliver Upton , Fuad Tabba , Joey Gouly , Steffen Eiden , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Mark Rutland , Wang Han , Shuai Xue , "Lorenzo Stoakes (ARM)" Subject: Re: [PATCH v6 0/7] KVM: arm64: nv: Implement nested stage-2 reverse map In-Reply-To: References: <20260915154305.3852871-1-weilin.chang@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: itaru.kitayama@fujitsu.com, weilin.chang@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, oupton@kernel.org, fuad.tabba@linux.dev, joey.gouly@arm.com, seiden@linux.ibm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, wanghan@linux.alibaba.com, xueshuai@linux.alibaba.com, ljs@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-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 Wed, 16 Sep 2026 00:27:22 +0100, Itaru Kitayama wrote: > > On Wed, Sep 16, 2026 at 12:22:30AM +0100, Wei-Lin Chang wrote: > > On Wed, Sep 16, 2026 at 06:49:57AM +0900, Itaru Kitayama wrote: > > > On Tue, Sep 15, 2026 at 04:42:58PM +0100, Wei-Lin Chang wrote: > > > > Hi, > > > > > > > > This is v6 of optimizing the shadow s2 mmu unmapping during MMU > > > > notifiers. > > > > > > > > This version fixes a few issues, and adds Marc's space optimization > > > > for kvm_guest_s2_mapping [1]. Please see the changelog for the details. > > > > > > > > Tested by booting L3, and running in-kernel targetted tests described > > > > in [2]. v5 got some tested-by's from Itaru and Wang (thanks), I didn't > > > > carry them over since some bugs fixed in v6 are non-obvious. Some > > > > retest would be much appreciated! > > > > > > How did you boot into L3, with KVM selftest or recrusively boot on HW? > > > > I just recrusively booted VMs on hardware. :) > > Good. Then I actually tried that on Grace CPUs, but letting L1 boot > with nested mode did not print "VHE+NV2" KVM init log in dmesg, thus not > able to boot L3. Do I need to add other than kvm.arm-mode=nested to command line? kvm-arm.mode=nested, as documented. That also puts in perspective your TB tag on the whole series... M. -- Without deviation from the norm, progress is not possible.