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 5B56DE7717D for ; Mon, 9 Dec 2024 17:31:36 +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=cdiozM3Gyl2txmHpXfpqmV362rjQTSPqpH52r9Fn++w=; b=aQOT/vLqkylj55A6ggqSdghexF /VoYAdD1FmQix1wzYZcMOK1pQxk2ApVSTJk7xXL25W+FM5w9bsa0Hav72PIzryHJndorc4erY5ztC LJB5kbaPubX+RGjiThIu34LVEXA1HIP1xLofONxF6mQuHHHk7VQkUICntFK0cm9Gb68Vw32ysM1oj A084NE2XTra4fAM4TQ9hc84TlaBnDP486lpnyRceYdC45KqdMsQ2wwYS+/9SQ6/7vWQl05TmEgF5l /DbPdEE99qDzfQxmYMpFZDOjQItPO3RoRl/kYBr3KB/tz0VpTCO79YiAqeUhuMJwXsvts2upuDPuJ UlEowluw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tKhbM-00000008jnz-0LTO; Mon, 09 Dec 2024 17:31:20 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tKhaJ-00000008jdB-0SqX for linux-arm-kernel@lists.infradead.org; Mon, 09 Dec 2024 17:30:16 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id EA3D75C5EEC; Mon, 9 Dec 2024 17:29:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C8F1C4CED1; Mon, 9 Dec 2024 17:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1733765414; bh=ltA8ZXUOrcimjpQDn402TJwnKjVCVkj8YyFNS4SlR3k=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QSuNh6eEGkzUdkFOvU3+uJ4EftL33iPFxA080EDk401g1Y1vEjhzR+FhGlGYKuB4s 78ieMDoZ50W0yDQ+/TzsJ5juHPTwQyDprSQm63RcRa/tHwcCdqW52mto0dCMp7vHKB r416tcPLnaCWN+VTk4gmARSQSSbDw44rmjuiXCTYR8SUURBTzIHqIN+dYH4/ndoXgx JxLd8wkvdlao0h1qK3q7cMq5QefqpgL3GPnoO/ifemwg62U0kI4ApcNzCRiY14OadN 22Pzertz8uMHCObq2b49VF6jAzmER483p9KxaaVbkInoyetaf27HFI+fh4s2P8NJ8a UcEFC7YF2tImg== 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 1tKhaF-001xta-FD; Mon, 09 Dec 2024 17:30:11 +0000 Date: Mon, 09 Dec 2024 17:30:10 +0000 Message-ID: <86y10osr19.wl-maz@kernel.org> From: Marc Zyngier To: Eric Auger Cc: Ganapatrao Kulkarni , kvmarm , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, oliver.upton@linux.dev, christoffer.dall@arm.com, suzuki.poulose@arm.com, will@kernel.org, catalin.marinas@arm.com, coltonlewis@google.com, joey.gouly@arm.com, yuzenghui@huawei.com, darren@os.amperecomputing.com, vishnu@os.amperecomputing.com Subject: Re: [PATCH] KVM: arm64: nv: Set ISTATUS for emulated timers, If timer expired In-Reply-To: References: <20241209053201.339939-1-gankulkarni@os.amperecomputing.com> <867c89tc4q.wl-maz@kernel.org> <865xntt2kv.wl-maz@kernel.org> <8be59ff3-6a68-48e1-8181-0ce4b2e7180f@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/29.4 (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: eauger@redhat.com, gankulkarni@os.amperecomputing.com, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, oliver.upton@linux.dev, christoffer.dall@arm.com, suzuki.poulose@arm.com, will@kernel.org, catalin.marinas@arm.com, coltonlewis@google.com, joey.gouly@arm.com, yuzenghui@huawei.com, darren@os.amperecomputing.com, vishnu@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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241209_093015_244141_4445F681 X-CRM114-Status: GOOD ( 23.24 ) 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 Mon, 09 Dec 2024 16:46:30 +0000, Eric Auger wrote: > > Hi, > > On 12/9/24 16:39, Ganapatrao Kulkarni wrote: > > > > > > On 09-12-2024 06:50 pm, Marc Zyngier wrote: > >> On Mon, 09 Dec 2024 12:25:34 +0000, > >> Ganapatrao Kulkarni wrote: > >>>>> > >>>>> During automated testing of Nested Virtualization using avocado-vt, > >>>> > >>>> Which is not merged upstream. So what branch are you using? Based on > >>>> what kernel version? On what HW? With which virtualisation features? > >>>> > >>> > >>> Testing is done on Ampere's AmpereOne platform using 6.10 based kernel > >>> with NV patches from your repo. > >> > >> Grmbl... *Which* patches? At least give me the SHA1 of the branch, > >> because I have no idea what you are running. And 6.10 is definitely > >> not something I care about. If you're using the NV patches, the > >> *minimum* you should run is 6.13-rc1, because that's what the current > >> code is based on. > >> > > > > I tried 6.13-rc1 based nv-next branch today, which failed to boot > > UEFI as L1. Yet to debug this. > > I confirm am stuck with the same issue with nv-next on AmpereOne. All I can say is that it Works For Me (TM) on M2 and Snapdragon, using kvmtool, a fresh EDK2 built by Ard, and with the guest running purely VHE (FEAT_E2H0 not implemented). I haven't tried QEMU, I don't have an AmpereOne. I have also spent way too much time on this recently. So I'm afraid people interested in making this particular combination work will have to debug it. M. -- Without deviation from the norm, progress is not possible.