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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 9E61CC54F30 for ; Tue, 27 May 2025 12:03:33 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uJt1J-0002wI-NV; Tue, 27 May 2025 08:03:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uJt1F-0002s5-R1; Tue, 27 May 2025 08:02:57 -0400 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uJt18-00055L-BZ; Tue, 27 May 2025 08:02:52 -0400 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 8428149F73; Tue, 27 May 2025 12:02:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6239EC4CEEB; Tue, 27 May 2025 12:02:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1748347364; bh=Ui0aXYvfGfPsz+T1F+p5UBbskki77yIqRyr0snwyzVI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kyuSkRnqJH9Vhe85ViSyTM/N2JGDqkFS3s1iDHdggYGgmkxBhiiK9ymem4BNlk6rV iJSTUfer4SBKgZ/eIxoILcaxQkaT51kzCwKvshePtGDZuHPjEFqyR6NFXtQkySCeuT dkEMStC9v/XuGQ/AO0U0trSV29OcqQ6UxQYRO8CaE1xjY0bEOOVrdMBrrmAVrp36ry dFCC66K1MURp3wun+CCDyB7VOoUS4bt1fzOzL/iHJK8MjVVLRWL0lrOPA3aVwAI4My MWQza+cfz27bofU9LsL6tSuLDiHY71edZaZrG7Uryd9QgZXTqu212Nd9BZEEA3WR5L nzeejnQbyzOBQ== 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 1uJt10-000ruQ-54; Tue, 27 May 2025 13:02:42 +0100 Date: Tue, 27 May 2025 13:02:41 +0100 Message-ID: <86jz62dzxa.wl-maz@kernel.org> From: Marc Zyngier To: Miguel Luis Cc: Eric Auger , "eric.auger.pro@gmail.com" , "qemu-devel@nongnu.org" , "qemu-arm@nongnu.org" , "peter.maydell@linaro.org" , "richard.henderson@linaro.org" , "gkulkarni@amperecomputing.com" , "gankulkarni@os.amperecomputing.com" Subject: Re: [PATCH v5 0/5] ARM Nested Virt Support In-Reply-To: <63FE2592-DF4D-4CCF-BC76-D8656C9EFA0A@oracle.com> References: <20250527062534.1186004-1-eric.auger@redhat.com> <86msayec3a.wl-maz@kernel.org> <63FE2592-DF4D-4CCF-BC76-D8656C9EFA0A@oracle.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: miguel.luis@oracle.com, eric.auger@redhat.com, eric.auger.pro@gmail.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, richard.henderson@linaro.org, gkulkarni@amperecomputing.com, gankulkarni@os.amperecomputing.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Received-SPF: pass client-ip=2600:3c0a:e001:78e:0:1991:8:25; envelope-from=maz@kernel.org; helo=sea.source.kernel.org X-Spam_score_int: -49 X-Spam_score: -5.0 X-Spam_bar: ----- X-Spam_report: (-5.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.907, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Tue, 27 May 2025 12:40:35 +0100, Miguel Luis wrote: > > Hi Marc, > > > On 27 May 2025, at 07:39, Marc Zyngier wrote: > > > > Hi Eric, > > > > On Tue, 27 May 2025 07:24:32 +0100, > > Eric Auger wrote: > >> > >> Now that ARM nested virt has landed in kvm/next, let's turn the series > >> into a PATCH series. The linux header update was made against kvm/next. > >> > >> For gaining virt functionality in KVM accelerated L1, The host needs to > >> be booted with "kvm-arm.mode=nested" option and qemu needs to be invoked > >> with: -machine virt,virtualization=on. > > > > Thanks for respinning this series. > > > > Do you have any plan to support the non-VHE version of the NV support > > (as advertised by KVM_CAP_ARM_EL2_E2H0)? It would allow running lesser > > hypervisors (such as *cough* Xen *cough*), which completely rely on > > HCR_EL2.E2H being 0? > > > > Something that pops up is early_kvm_mode_cfg trying to handle nested mode > while KVM_ARM_VCPU_HAS_EL2_E2H0 is set. Care to elaborate? M. -- Without deviation from the norm, progress is not possible.