From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow-b1-smtp.messagingengine.com (flow-b1-smtp.messagingengine.com [202.12.124.136]) (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 0A5191A08A3 for ; Thu, 9 Jul 2026 13:19:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783603187; cv=none; b=eUd1MH1pTD52d3EZSdue9XvUqcQyHY/UoHjQOVouYBw9JEzex9qUDili2lxGAQu/jBylQP7oX/Uoh3H7zpcr1eiJ+GZbeSkLJWfauXcg35HDI91LFpQu+MxfSH+o2flJDGV/QBNQjgEkOZyHvz0JZ8R8z5oMU7M18xY0GgEIfjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783603187; c=relaxed/simple; bh=CBjI+72drasiudngin03hO6GhsXw9is3PvpIiICePwQ=; h=MIME-Version:Date:From:To:Message-Id:In-Reply-To:References: Subject:Content-Type; b=VEXw+k0wQbWzS7oRGJCiVs0f6TrQgHtPFq81cn6NeCNzgxo01L2aSU8n7Es7CrPYbh/+hA5+3mct15MyH9koUZfp9VScRrHzsVoDPvMzJt3xQsYiswtgMdNOiaIpkMt7bCY3/6vRKKx9u9UHJ0+gv2VHCLA6IrA2OaNA8DuNzrI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=YNvE81hF; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=DcdzyRG0; arc=none smtp.client-ip=202.12.124.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="YNvE81hF"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="DcdzyRG0" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailflow.stl.internal (Postfix) with ESMTP id B155E13005F5; Thu, 9 Jul 2026 09:19:44 -0400 (EDT) Received: from phl-imap-05 ([10.202.2.95]) by phl-compute-04.internal (MEProxy); Thu, 09 Jul 2026 09:19:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1783603184; x=1783610384; bh=69Trgaf6PlAujWQ84FtTx1iLB4xjkh4TGJaFgJbfvQE=; b= YNvE81hFVE1rpQG7A6lKS/YVNs3HFBOhMLyb83+XRvNY2ppnQVW9/C7X/SRMvJgP zUMrfB2Mkr8VY3n9dNvTR31lFsZmORAL/1XYY/BK0Zku2qNb67rW8VZGjuNPkGFs rtuUA7K/of6CEPn7KIiib7NWxONONFYOWk7T+Uagq1xo5jeBf+D4YBEy87NrElev PNHaqWoFZab05ciI8MHODZU6od48tO9Agx4kCGxMu7DvXKFsfNfRpgKAHqwE/uw6 v+msng03JdOG/25OuumlrhQJyaJE4f81ZW6CmQJA7ec9gpTXmUgaU9gZds1pqwmQ cflvLcphrgaGPDwcZf+5HQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1783603184; x=1783610384; bh=6 9Trgaf6PlAujWQ84FtTx1iLB4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OtQ X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id C60FE182007E; Thu, 9 Jul 2026 09:19:42 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AjQOwIcbsnGN Date: Thu, 09 Jul 2026 15:19:22 +0200 From: "Arnd Bergmann" To: "Marek Szyprowski" , "David Woodhouse" , "Richard Cochran" , "Wen Gu" , "Andrew Lunn" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "John Stultz" , "Thomas Gleixner" , "Stephen Boyd" , "Anna-Maria Gleixner" , "Frederic Weisbecker" , shuah , "Peter Zijlstra" , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , "Miroslav Lichvar" , "Julien Ridoux" , "Ryan Luu" , linux-kernel@vger.kernel.org Message-Id: <6458dfda-f477-4943-896b-857fae5ac871@app.fastmail.com> In-Reply-To: References: <20260621220051.1030462-1-dwmw2@infradead.org> <20260621220051.1030462-4-dwmw2@infradead.org> Subject: Re: [PATCH v7 3/7] timekeeping: Account for clocksource tick quantisation via NTP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Jul 9, 2026, at 14:56, Marek Szyprowski wrote: > On 21.06.2026 23:53, David Woodhouse wrote: > > This patch landed yesterday in linux-next as commit e8bf3955dc2f > ("timekeeping: Account for clocksource tick quantisation via NTP"). > In my tests I found that it breaks booting Raspberry Pi 3B and Pi 4B > boards in ARM 32bit mode with quite old (Debian 10) userspace. Hi Marek, Are you running a 32-bit or 64-bit kernel with your 32-bit userspace? > Booting > freezes just before getting a getty login prompt and no more kernel > or userspace messages are observed. If I start with init=3D/bin/bash in > kernel cmdline and then wait a while and do "exec /sbin/init" I get > the following additional kernel message: > > [=C2=A0 186.867605] Adjusting arch_sys_counter more than 11% (12136 vs= 344864995) > > then booting freezes again before getting getty prompt. > > I can do some more tests, just let me know what will help debugging th= is > issue. Other ARM 32bit machines I have work fine with this patch. > > Reverting subject together with its dependencies on top of linux-next=C2=A0 > fixes the issue. IIRC, there are some variants of these machines with broken arch timer. Can you check on the working kernel whether the vdso clock_gettime64 helper is enabled, and whether the "arm,cpu-registers-not-fw-configured" property is set on the arm,armv7-timer node? If it's not that, the difference between the working and non-working systems could be the clock frequency behind the arch timer, which differs wildly between systems, you should see a "cp15 timer running at ... MHz" message that tells you what is is=20 Arnd