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 E7E36157A55; Tue, 14 Jan 2025 15:52:42 +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=1736869963; cv=none; b=fBvFIkmtUgICpGG9/mlf/EbHx9/MZ+ruHah9xYrNvV89qmngVolifycIkmasm7wvO+U+y7P2TJGzqJ770Gh0emWYvTLPRgfhKWexU2V9hzUEKmAVbp8OiUfgyJU1clIaMkhHMfpWTSo0XLiiLlzhlL5I/ayVF/W1r0MT7qEE6Rs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736869963; c=relaxed/simple; bh=omFMmTEBpK/gnO0xG7ehWBNCiTsoY48D44tNe3bcc1A=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=L3hqAeUCUb1hz7tIXkZacm04VB48wcPCYq+9t4WhUm9cv3gG1MrdW8ZDa/KT2gKc6JfuOLHsw4DihLcqfDza0Vay469ysTuFC3URh6kbSTe55LbQAOYp8YCXvBYVM+Jd9Zut4zsuLNR6tW+BL9ySfrgBF6cZLBbFKBd5jITjcYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TJyD+Z2D; 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="TJyD+Z2D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BC26C4CEDD; Tue, 14 Jan 2025 15:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736869962; bh=omFMmTEBpK/gnO0xG7ehWBNCiTsoY48D44tNe3bcc1A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TJyD+Z2DVTd3akcBr9IF2RgjYEyFW8I3oNWTffyMzcdwFuy2uliolAwgGLDmx/8rM rXWKWyPrN1yNO3zzhA3/LUlYAtwiXXtR3bqFNozb47ODMXQL4BCtyPUHcR5uWeFwRe PAjCSqODwl7OiRJtM2535yf5Nl3sZBSlSCptUgij3rum9FQfYsD3htFGsNZ3njCqjf ZCKCycTuoESQLmxmfTC8ZQWTl4KObLpePfzILuy/5zZ15RQwDJFTsJy9fr4XsaeOs/ VF7mWEeR9X1Q5L57XB5NAxvOHvIy8DtKcHFBtMNWqwCXS8vroCCX/WU9XVuqiwyjnm 2IWbjUppYgAYw== 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 1tXjDc-00CBbV-CN; Tue, 14 Jan 2025 15:52:40 +0000 Date: Tue, 14 Jan 2025 15:52:39 +0000 Message-ID: <86cygpwfy0.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: <4a9fbdd9-ad23-44bc-8ba5-399f08068db4@redhat.com> 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> <86y10osr19.wl-maz@kernel.org> <4d443db1-85b1-4071-acd5-3187deb9cb17@redhat.com> <2f6b2cb1-3d32-480a-9801-9b993ae74e2d@os.amperecomputing.com> <152d262e-641d-4bb1-9656-a13e049d62c4@redhat.com> <86h661wje4.wl-maz@kernel.org> <4a9fbdd9-ad23-44bc-8ba5-399f08068db4@redhat.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 Tue, 14 Jan 2025 14:57:43 +0000, Eric Auger wrote: > > Hi Marc, > > On 1/14/25 3:38 PM, Marc Zyngier wrote: > > Hi Eric, > > > > On Tue, 14 Jan 2025 13:12:21 +0000, > > Eric Auger wrote: > >> > >> I also confirm that using a mailine edk2 fixed the issues I faced > >> previously (fed/rhel L1 guest not booting). > >> > >> I used Marc's nv-next branch and qemu rebase. > > > > When did you sample this branch? It is almost daily rebased at the > > moment, given that we keep piling up things in kvmarm/next. > 5 days ago. OK, so probably before I reapplied everything on top of kvmarm/next. Not necessarily a bad thing, just slightly older. The core NV code isn't rapidly changing anymore, with the exception of the recursive nesting stuff that I am currently rewriting. > > If you want me to test a specific branch, please let me know, esp. in > the context of latest series including > > [PATCH v2 00/17] KVM: arm64: Add NV GICv3 support That'd be the current nv-next then, which has all the series currently on the list, and a few more. > > > >> With a rhel L1 guest I can now boot buildroot, debian and rhel guest as > >> L2 (feat mainline edk2). For rhel, I tested different kinds of page size > >> combinations for L1/L2 (4k and 64kB) and it worked. > >> > >> I tested on AmpereOne and Grace-Hopper systems > > > > Thanks for the confirmation. I haven't had a chance to try QEMU yet, > > but I expect that save/restore will not work. Something to look into, > I have not tested this yet.I will give it a try. Thanks, that'd be super helpful. M. -- Without deviation from the norm, progress is not possible.