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 C1DCEC531CB for ; Thu, 23 Jul 2026 08:40:06 +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=IB4UYiop06IgcFwoYKkeqc3k0bp1CiTXd4bWs6POPqw=; b=NbHHVF6oL0IDDg8KlJ0Uh4zO3z 5BO5eWlpWIT+idQlPvpphOVLzmYq6733u8J9e06ECyB22nBXQ1SxpyGahklrgpdnng2H539fneWFy gGCZ/z5tKiLL5QskOUZbS4lj+0W+vKGSfrm/mTU+BER13z1aTBupmXlw/m3j3PFx5ideZVlVBPY3U dfvo1RTJhHODSNR3KDzWlSZjVslCELP8Njrb9t0d5rNc9b9QW27ixeQnKbsIeCLoynceJTDYPtf0d MN86Ns8CwrzmCwFULbgMtF5UTCjbl8SiO00e8ASOFaBgSKM1EwIhw/2SQAX50WgwE4t+FS+iBkuc3 cgizK0pQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wmoyG-0000000DlJQ-1SUQ; Thu, 23 Jul 2026 08:40:00 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wmoyE-0000000DlJB-1XPg for linux-arm-kernel@lists.infradead.org; Thu, 23 Jul 2026 08:39:58 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 0A050600AD; Thu, 23 Jul 2026 08:39:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2E021F000E9; Thu, 23 Jul 2026 08:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784795995; bh=IB4UYiop06IgcFwoYKkeqc3k0bp1CiTXd4bWs6POPqw=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=j2ALiRRbvedyBERtZDFn4ix5duih972p26M1yw1zZ2RckN2mgPPlfA8p6UvPT7ZQN GU5oQSSPU+gQksLxZSGBNS8JVlozKqSkpBr9KQvWtHVQi7pZUQXDEFkBMC3fkKGxNO N3Ra3atHQHrCWKXHuIUCXpIuObNLzb2QiFlt4326iCMYzJasqlCIapL38+uNr0kXuj tU2STtKPt3LrBk2CHxNJ58HBejUGeVy/h5dfZavihXEJWs0q8+ZP7uaQX0bOWAQwmf 27YpZ68G1hgBMpaTEEPr6kJhYPD3e6GLqUV0DWsR5JpB3gIfc2SVR4XS6gm9zFq41n DipUbwdHmVnFw== 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.98.2) (envelope-from ) id 1wmoy9-00000007x1I-35bL; Thu, 23 Jul 2026 08:39:53 +0000 Date: Thu, 23 Jul 2026 09:39:53 +0100 Message-ID: <867bmmdrqe.wl-maz@kernel.org> From: Marc Zyngier To: Jon Hunter Cc: Mark Rutland , "Daniel Lezcano" , Thomas Gleixner , , , Subject: Re: [PATCH] clocksource/drivers/arm_arch_timer: Mark EL2 virtual timer broken for Tegra194/234 In-Reply-To: <20260722125651.148595-1-jonathanh@nvidia.com> References: <20260722125651.148595-1-jonathanh@nvidia.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: jonathanh@nvidia.com, mark.rutland@arm.com, daniel.lezcano@kernel.org, tglx@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org 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 Wed, 22 Jul 2026 13:56:51 +0100, Jon Hunter wrote: > > The following warning is being observed on Tegra194 and Tegra234 > platforms ... > > arch_timer: [Firmware Bug]: VHE-capable CPU without EL2 virtual timer > interrupt > > Adding the missing EL2 virtual timer in device-tree for Tegra194 and > Tegra234 is causing boot issues for both devices. > > The Tegra194 device includes a GIC-400 which defines PPIs for sec-phys, > phys, virt and hyp-phys timer interrupts (per the dt-binding > arm,arch_timer.yaml) but there is no PPI hyp-virt (EL2 virtual) timer > and hence this is not supported for this device. > > The Tegra234 device does have a PPI for the EL2 virtual timer, but > during CPU idle transitions into low-power states this timer is not > preserved currently by firmware and hence causes boot issues when CPU > idle is enabled. > > Avoid the warning for Tegra194 and Tegra234 devices by marking the EL2 > virtual timer as broken. > > Suggested-by: Marc Zyngier This isn't what I suggested at [1]. The warnings are *required*, because these systems are not compliant to the specification. Full timer support was not optional last time I checked. Thanks, M. [1] https://lore.kernel.org/all/878q898ulx.wl-maz@kernel.org/ -- Without deviation from the norm, progress is not possible.