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 0610BC5ACB3 for ; Tue, 21 Nov 2023 09:09: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k1mleTjDVazSouviC/JQwq/p+AbkU2Hi16JRwh7FqCs=; b=iizKlNPgVm9SBr /QF07sqbpuySMnhqr9n39cAMpaV0efJNuawLeCvtYJiTk/IS5yPk6/6HARhLr1WQEQRDbdKcleUw6 nwcXTxPbh9FZtcgvG8MbwH3FNNvQf/L3hHqOMfXjOPCK8Evx7cw5OMdAKp/ZpVrOjJySGPuN3qYll TLOFYbwBkiAvFOr+UhWuJE7RCoGZ0uzfgIv3r8DVnwLOqoyi4ccS1pUbzsXQ01O4MH9/UJ4rZcUi7 nG3FnnKI8ZmTLpA6qVYAWauQMaLliNjv4zA2hR3k8mIJFqZHvGXBtFh7c0OO/+84i09o5urAKgWkd i1wx3x0luuaYOcGO+X7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5Mkh-00G5Tf-0w; Tue, 21 Nov 2023 09:09:03 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5Mke-00G5So-0e for linux-arm-kernel@lists.infradead.org; Tue, 21 Nov 2023 09:09:02 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A6A8460F9C; Tue, 21 Nov 2023 09:08:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5319BC433C8; Tue, 21 Nov 2023 09:08:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700557739; bh=6E7CjjqcTMiIdJW3Laz7ZOTf9b/ExHkZ/JmXvjgg7jk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Lh0JR0uqEZiTNLk0rvj2Nmq3z4HsBzrHmfF1DbzYT3m22TTPEUrvU5C8UxzZWknUi HocCLve9LxJ1gqMBbirnYFcehRf/3u2r+8ZYKgH5qt2has1zfwgb0CV+ApETd68NyN K/+4Krgh4W/SxX3gDKhSOF2ucp+XAnviaVjj4neKWrEUEQI7jXf3edZbd+itHil5yw eLxNloyce023XQL4NYM016w81Z4WkBkPx4iOAc3g34j4x8tJ1y58SR26lBya8jbxHa RP1YljGuGW2bFR7SFFHS3tJ7uS9FeU/FgL7YvC8CfFgNORGA6yZ4fQ4nRLeWy5zg76 jbK+2S3D/lHRw== 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.95) (envelope-from ) id 1r5Mka-00F0cJ-Hy; Tue, 21 Nov 2023 09:08:56 +0000 Date: Tue, 21 Nov 2023 09:08:55 +0000 Message-ID: <86ttpfzd5k.wl-maz@kernel.org> From: Marc Zyngier To: Ganapatrao Kulkarni Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandru Elisei , Andre Przywara , Chase Conklin , Christoffer Dall , Darren Hart , Jintack Lim , Russell King , Miguel Luis , James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu Subject: Re: [PATCH v11 00/43] KVM: arm64: Nested Virtualization support (FEAT_NV2 only) In-Reply-To: References: <20231120131027.854038-1-maz@kernel.org> 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/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: gankulkarni@os.amperecomputing.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alexandru.elisei@arm.com, andre.przywara@arm.com, chase.conklin@arm.com, christoffer.dall@arm.com, darren@os.amperecomputing.com, jintack@cs.columbia.edu, rmk+kernel@armlinux.org.uk, miguel.luis@oracle.com, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com 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-20231121_010900_662858_0053FAA0 X-CRM114-Status: GOOD ( 28.26 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 21 Nov 2023 08:51:35 +0000, Ganapatrao Kulkarni wrote: > > > Hi Marc, > > On 20-11-2023 06:39 pm, Marc Zyngier wrote: > > This is the 5th drop of NV support on arm64 for this year, and most > > probably the last one for this side of Christmas. > > > > For the previous episodes, see [1]. > > > > What's changed: > > > > - Drop support for the original FEAT_NV. No existing hardware supports > > it without FEAT_NV2, and the architecture is deprecating the former > > entirely. This results in fewer patches, and a slightly simpler > > model overall. > > > > - Reorganise the series to make it a bit more logical now that FEAT_NV > > is gone. > > > > - Apply the NV idreg restrictions on VM first run rather than on each > > access. > > > > - Make the nested vgic shadow CPU interface a per-CPU structure rather > > than per-vcpu. > > > > - Fix the EL0 timer fastpath > > > > - Work around the architecture deficiencies when trapping WFI from a > > L2 guest. > > > > - Fix sampling of nested vgic state (MISR, ELRSR, EISR) > > > > - Drop the patches that have already been merged (NV trap forwarding, > > per-MMU VTCR) > > > > - Rebased on top of 6.7-rc2 + the FEAT_E2H0 support [2]. > > > > The branch containing these patches (and more) is at [3]. As for the > > previous rounds, my intention is to take a prefix of this series into > > 6.8, provided that it gets enough reviewing. > > > > [1] https://lore.kernel.org/r/20230515173103.1017669-1-maz@kernel.org > > [2] https://lore.kernel.org/r/20231120123721.851738-1-maz@kernel.org > > [3] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/nv-6.8-nv2-only > > > > V11 series is not booting on Ampere platform (I am yet to debug). > With lkvm, it is stuck at the very early stage itself and no early > boot prints/logs. > > Are there any changes needed in kvmtool for V11? Not really, I'm still using the version I had built for 6.5. Is the problem with L1 or L2? However, this looks like a problem I've been chasing, and which I though was only a M2 issue. In some situations, I'm getting interrupt storms when L1 gets a level interrupt while in L2. Can you cherry-pick [1] from my tree, and let me know if this helps? This isn't a proper fix, but if L2 starts booting with this, I would know this is a common issue. Now, if your problem is with L1, I really have no idea. Thanks, M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=kvm-arm64/nv-6.8-nv2-only&id=759d2e18f8954f4c76eb1772f38301df6ed8fa5d -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel