From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7B78153824; Mon, 9 Dec 2024 17:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733765414; cv=none; b=LoxKDfCijuVE4Ed9XUeL0FZO0ulDeutUvMAgN7s8rG5e1hfvMxgrxmEjpTRJ5XIPF11zSgUHGAyYNubAL7sDkMwcW73zsEUcnDw7PzLEVClDsZ/k/x6sA+mph85Lp/J3xf34DZy7VSXIs/n/tTihIM5f914kffO+yJXb8YKPnT4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733765414; c=relaxed/simple; bh=ltA8ZXUOrcimjpQDn402TJwnKjVCVkj8YyFNS4SlR3k=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=C/DOTV+mlKvgHFC+lrr8Cdy1q/JRPCp26YfflEdxLAAQWxG7TzrRZRUfGAUaXhox/k7i+3zl46EP/T8Z4ci+Z1E7062CMpOkgRte1BS7uww0YQr8diQ4MBu22MCMCnZeoePM+nFKoO6JBjzESg3X78fb0pmEjA/nNzHYp5JsTyg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QSuNh6eE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QSuNh6eE" 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) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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.