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 98EF4C636CC for ; Tue, 31 Jan 2023 13:22: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: 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=aLmVlm9Ga4BXqhnRMh5CiLS/upLUv/sTrP5CAv3333I=; b=k3r7di8i5s9MdO 4UO/a/FNpx4vP4k3qPQKGnyjZ1ZDgOhNgO2YPsvGoNv7ZutfRnqxHgSKGRusvSnceBXvl5iwMtMYX sIPKh3Wd2OExLqgqjJFfDghPzaF0t2pTHSROPedox33GwUBHsSv/zlscXaIj5Clua8CoRZoVYZND5 eW48yO+tSMcx4UfkSDjtK+vRqKHLk5BjoGO+LIj+Opu6Nh//6nTrEszcRSjFbDQFp6ykNVpa6ddAT feX3NkodgkYQS51wvJhw/bjRl0qqQkuFmDxvQI7R7rELebVJ1zC8DnsUedYERu1EYpIJNweCF0YyK 5UCjYs8p6A1WB1L1mcvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMqZf-0083f7-Gw; Tue, 31 Jan 2023 13:21:23 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMqZc-0083dv-Dy for linux-arm-kernel@lists.infradead.org; Tue, 31 Jan 2023 13:21:22 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 8FDE7CE1E50; Tue, 31 Jan 2023 13:21:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 058D7C433EF; Tue, 31 Jan 2023 13:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675171277; bh=ZHMJN0b9ClADyyKEIl5sAXyp+mv1Bh3OoMA4yF1FxxY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DLSR7//V6XsPmJEYe3MvY4c5++Dx5LFTWabMZZBLnZe238Yhjjija8eS6CKosnty3 23aiu0/7eFPwTVw3v+SZS5s696x98iuNemwQrkjwxSXSVhiirMwXLP4EjDZ8CJmogj e++EqtpzOXEcd9dc5RSZ13JDoJnfHdczDr0AmothShXrjDodYF/IZ5kOOht5YQqdph AnF4zeiCNr04+Ma6cDJmNxOGgAJNT+pQUTVWJzDWZGlP21eYTQYurs6hToXBHpMk34 ciWpZ+Z31gHtirFAfNqowFWxLsOHFAVpiPVas25EQcamZ1fbeJmmOElkwOgj2L27ne a3A91v1NsyP1g== 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 1pMqZW-006CoO-KL; Tue, 31 Jan 2023 13:21:14 +0000 Date: Tue, 31 Jan 2023 13:21:14 +0000 Message-ID: <86edra262d.wl-maz@kernel.org> From: Marc Zyngier To: Catalin Marinas Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandru Elisei , Andre Przywara , Chase Conklin , Christoffer Dall , Ganapatrao Kulkarni , Jintack Lim , Russell King , James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu Subject: Re: [PATCH v8 01/69] arm64: Add ARM64_HAS_NESTED_VIRT cpufeature In-Reply-To: References: <20230131092504.2880505-1-maz@kernel.org> <20230131092504.2880505-2-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/28.2 (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: catalin.marinas@arm.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, gankulkarni@os.amperecomputing.com, jintack@cs.columbia.edu, rmk+kernel@armlinux.org.uk, 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-20230131_052120_836678_7E706861 X-CRM114-Status: GOOD ( 22.33 ) 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, 31 Jan 2023 12:03:52 +0000, Catalin Marinas wrote: > > On Tue, Jan 31, 2023 at 09:23:56AM +0000, Marc Zyngier wrote: > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > > index 6cfa6e3996cf..b7b0704e360e 100644 > > --- a/Documentation/admin-guide/kernel-parameters.txt > > +++ b/Documentation/admin-guide/kernel-parameters.txt > > @@ -2553,9 +2553,14 @@ > > protected: nVHE-based mode with support for guests whose > > state is kept private from the host. > > > > + nested: VHE-based mode with support for nested > > + virtualization. Requires at least ARMv8.3 > > + hardware. > > So we can't have protected + nested at the same time? ;) (I guess once > you make the protected mode use VHE, this could be revisited) We could move the whole shadow S2 inside the protected hypervisor, but that's pretty complicated, as this mandates multiple S2 contexts per VMs. I'd really want to see a use case for it before I even try. On the other hand, debugging the protected hypervisor (or at least its VHE version) under NV is pretty fun. Makes the whole debug cycle incredibly short. > In the hope that this averts another post of the series: > > Acked-by: Catalin Marinas Thanks! But I'm afraid you'll definitely see more of this stuff. I can only hope it gets merge quicker than I add to it... M. -- 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