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 43446232437; Tue, 14 Jan 2025 14:38:15 +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=1736865495; cv=none; b=AQNzncuA+NH9LIwmVLTqtFM16qC3Eh9ljg1j2UQskWVoB9t63Svk38ydIL9q2Rd2d2Dn/+koiOBLTYbSmxAVIWXHZIpLOldgrdHfptN2hUfCVl0feAOx83IlSKmMUWm2UVP5P+EHG1dGKCBay36QOcjS32dTRH9N+YI59ISnR6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736865495; c=relaxed/simple; bh=t5pKKRaZXMFN04XNj8c9l0TranyPnmuUTvNseaq70Ko=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=KuzbIGKsXfD/ZU6JciMd7G1g2WgMpLYAUvdUvIefHXppvubBYwXe00zs5bpEN6dLp5cI7cjWi4/0bkQIAgPaWffoPw0Yua1cIupFvgoD6VUKw4cuyMektNB4J9AwYLCaFZGngnDhVGJZpRhnqfNxR2ao3uuYtHeGsB5crXXbnyI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mcVeVHIJ; 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="mcVeVHIJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE596C4CEDD; Tue, 14 Jan 2025 14:38:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736865494; bh=t5pKKRaZXMFN04XNj8c9l0TranyPnmuUTvNseaq70Ko=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mcVeVHIJlyJjhLxtcTweGFuTVje6KkFV5GA94S+8FW0JiECfQJ7sI+wHbGuz9rb54 OzaZvDk7mKQIf736UjsUpkp/tuF8BDXlPqBTD2A399Ml7FDsw92Z8P0kotee0ERds+ nQeB/x4sljaMu6p1SyBQ/Zvq1NT26wZtqwa/GPpVsB9gM+/E4igMd5WA0nUqUdvVJQ nQpRnsH+yOhmEfrqISP/eDX6QBfNWlcuzKRE8RWEqKMjPgrga8WgZKkmzDf6ZR4d2G T4pqA3lCm0x6DYRyK3Y+i/XuxMiwmjLbpDoTAVKyw/dbfR+1o+ZIjU+Z67FYfafiXy Jcmxbzp0ThLZA== 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 1tXi3Y-00CAAy-DX; Tue, 14 Jan 2025 14:38:12 +0000 Date: Tue, 14 Jan 2025 14:38:11 +0000 Message-ID: <86h661wje4.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: <152d262e-641d-4bb1-9656-a13e049d62c4@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> 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 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. > 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 guess. M. -- Without deviation from the norm, progress is not possible.