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 53D8FC5AD49 for ; Thu, 29 May 2025 12:45:12 +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=fu06K+GaHSa34J5d6w/OkaS+V2+EEu3MfJi2oGZkqvI=; b=q/plfWXdDBvz8aj5nZVyd9PPa3 OSWuRU6ZTx7CufJ/1op9Co2XCFP2K3KhePAikSV0njO+bkMBMnN53TTy9uzQQh96DPPny8M+nESWP CpPKS3E36/egDsptiSZR05TXP9ZhzP4taRkj35IHvpUCKLGmeuqdBcJkaMiaQIryVGQpQsDAPt347 z9hie4CANk4Yc0k3I5LMV5G1LV9CpoZNp1ExVG1sgQppyeFMypyoQoifyOen29ts2iieJtbdch7C/ yIsKa/QNX80cpzQZ+l8VT5CO9j7odkYrCJUdOc+mir3fAGrqkqCQCoXQvAOpTal77gKG++Z+YVilh QDq08nCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uKcd6-0000000FlRx-1uHP; Thu, 29 May 2025 12:45:04 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uKbk2-0000000FfuL-1xHa for linux-arm-kernel@lists.infradead.org; Thu, 29 May 2025 11:48:10 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 7E914614BA; Thu, 29 May 2025 11:48:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33FD2C4CEE7; Thu, 29 May 2025 11:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1748519288; bh=P7souVYNDTCPcO1CXMYGoclN1/o/FL5aiEHy0SwZIR4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MsQQPjxSX+4DmYyhHGCpSURnuD0cmkl4qu3BbZUy07xbxOHBZySYUKM1CNg1Impvd jFhl1sras34WV5jDj2ARxFbselPnvdCeGBX/0eI3BxG4PiyVx1SF7vzJyCzS8/ycj7 eWasMHhhL1/SsYfthIZpZfaeZi2TJiJ39y14cuMYeQh4h7KM8hNbUP7aowkQt6vEAr MRO4II492FsEbgtuY8bUWwQyWnhssfZR8sLVqQbbdeGUZQhFUylja5L081wmJfHUOJ zGzEmOcB/Cx+/YgfA8kD0lE0IMqIZyyqwE79fO3E0GntYoQXkNX4BneWixatifPs5I cQKUKuyc2tWRQ== 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 1uKbjx-001YLY-Ia; Thu, 29 May 2025 12:48:05 +0100 Date: Thu, 29 May 2025 12:48:05 +0100 Message-ID: <86a56veiyy.wl-maz@kernel.org> From: Marc Zyngier To: Ganapatrao Kulkarni Cc: Eric Auger , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, oliver.upton@linux.dev, joey.gouly@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, seanjc@google.com, darren@os.amperecomputing.com Subject: Re: [RFC PATCH v2 0/9] KVM: Enable Nested Virt selftests In-Reply-To: <7bf7bd52-7553-42a7-afdb-a5e95f8699b5@os.amperecomputing.com> References: <20250512105251.577874-1-gankulkarni@os.amperecomputing.com> <92c7e99c-5574-422c-92f1-62d5cde58fec@redhat.com> <7bf7bd52-7553-42a7-afdb-a5e95f8699b5@os.amperecomputing.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: gankulkarni@os.amperecomputing.com, eauger@redhat.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, oliver.upton@linux.dev, joey.gouly@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, seanjc@google.com, darren@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 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 Thu, 29 May 2025 11:29:58 +0100, Ganapatrao Kulkarni wrote: > > > Hi Eric, > > On 5/28/2025 6:58 PM, Eric Auger wrote: > > Hi Ganapatrao, > > > > On 5/12/25 12:52 PM, Ganapatrao Kulkarni wrote: > >> This patch series makes the selftest work with NV enabled. The guest code > >> is run in vEL2 instead of EL1. We add a command line option to enable > >> testing of NV. The NV tests are disabled by default. > > > > For commodity, I would add in the coverletter that for all tests > > enhanced with vEL2 testing "-g 1" option shall be added to force that mode. > > Sure, will do. > > > > > I don't really get how you chose tests capable to run at vEL2 and > > excluded others? Wouldn't it make sense to have a way to run all tests > > in either mode? > There is no selection as such. I have worked on around 50% of the tests and sent for the early review. > Yes, almost all tests can/should run in vEL2 except few. Define EL2. You are so far assuming a E2H RES1 guest, and I don't see anything that is even trying E2H RES0. After all the complaining that E2H0 wasn't initially supported, this is a bit... disappointing. Also, running EL2 is the least of our worries, because that's pretty easy to deal with. It is running at EL1/0 when EL2 is present that is interesting, and I see no coverage on that front. M. -- Without deviation from the norm, progress is not possible.