🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17509

Re: [PATCH net] net: stmmac: re-base EST after PTP settime64

#17509
From: patchwork-bot+netdevbpf
Date: Mon, 16 Nov 2026 23:30
31 lines
9200 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 11 Nov 2026 10:54:27 +0100 you wrote:
> stmmac_set_time() initializes the PTP clock through
> stmmac_init_systime() (TSINIT) while holding only ptp_lock.  It neither
> takes est_lock nor disables and re-bases EST around the step, unlike
> stmmac_adjust_time(), which performs TSUPDT through
> stmmac_adjust_systime() under est_lock.
> 
> Both operations change the PHC system time, so both invalidate the
> absolute EST base time.  With settime64, a concurrent
> tc_taprio_configure() can read the pre-step clock through gettimex64()
> and program EST with a base time that is already stale once TSINIT
> lands.  Separately, a taprio offload installed before the clock_settime()
> is never re-based and keeps running with its old base time until taprio
> is reconfigured.
> 
> [...]

Here is the summary with links:
  - [net] net: stmmac: re-base EST after PTP settime64
    https://git.kernel.org/netdev/net/c/4cad287cb13c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179487180503.238365.3162953495840081408.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364820-linux-kernel-netdev=dewy.ru
References: <20261111-stmmac_set_time-est_lock-v1-1-da1554f233e6@oss.qualcomm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364820-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: stmmac: re-base EST after PTP settime64
Date: Mon, 16 Nov 2026 23:30:05 +0000
Organization: Usenet Network
Message-ID: <179487180503.238365.3162953495840081408.git-patchwork-notify@kernel.org>
References: <20261111-stmmac_set_time-est_lock-v1-1-da1554f233e6@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2193093"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ligONsfys5M/cdGXPaw56RSMRfE= sha256:9OJz35YCrKhsblqEvHO+SOAHyjUGFtjQzXFs5ychp1Y=
	sha1:3gIw5wQHKybfHPBCDuEXOV5L9U4= sha256:iJvp3FWCeTH524sfSwf28PjAkjV8d/UMVH1qebpplZU=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 113F8114DBD; Tue, 17 Nov 2026 02:30:31 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id xbPJycmbFXYN;
	Tue, 17 Nov 2026 02:30:23 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-364820-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 1CC8B114DA9; Tue, 17 Nov 2026 02:30:13 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 8BD69298A6; Mon, 16 Nov 2026 23:30:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794871807;
	b=hFNYlPX5lR/R6Menyihw25K0KovPTnnY9EllkLgbDjPADo9Dbz/hiHNHmZ3Wc8+Ex+8T
	 2H741e7IdwigoaRYXHaWOYhQa4pIiwbo4IKV6aahBrTgRsaMeC0J6zYdguwRPJEbjDVw1
	 PYTyvJzilOBxnIyOBOowTYL0mArsQID7PdfbyXFruVxbooOUle51xOh6UlPxhTQjsp/0y
	 vc5ohRBeuXWHZppIY8RI1pXh4fyjEKZgimH1wjmnGT3wnbd45Of2zHLCdHsIAmL0oE9ZV
	 axLRyRy7fg6hOw9eHRv4Yke+31yOjvCJvmllQxYZTNG6xIIBnKNzYf56XXnJ+uRKVng==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794871807;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=2d1/C/muKygY+FB1LWBPJCvJTWV1hknbYasTXckto7A=;
	b=fNTjla0C8/H3K5ZhqwQl313BN7ZDUR79BY8Yhvzu3lJSVuR+gYS6r9NTbhMc4gnmRwNn
	 WLpjyqyueZIwRu94jLDACW04ElnVlkVG2r92MWFTbBIC+ACp0p1vESgACtNamZ5ShqIDu
	 /G1/9GEB0DSWvjC3SQgxocFDiCJTSb8jbCQCRX0lCEx3BxznN5chEB5NOo5KuXCvgsBBW
	 6O+NV+Prm4RjKy2Ae10Pkd5ZJwF1MiLy/abjIwrgJjv9ExjULea2VvR380JbLUhACWK5C
	 Y9z5uBD9UZtZ/JmUe5z5dC8cz37oVsuKtnkrYUGXaDD6Md1wIrROSAsmmMhkSc2g+3g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=knE7eJe9;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 972A6606A32C;
	Mon, 16 Nov 2026 23:30:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=knE7eJe9
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794871806;
	b=12gwxz99m3YPkQnYj1XasYKNYiQiiAjPY7HYRKGE319hCLb7I00Wsi8sdWYW62OgrCAN
	 vGIaYqvl8sTJsXE6LewWMKJoULt5P52f+Q4lOL6zuw4vUpZoAOAz3ZywGFtHauTyyIc7a
	 fLYXc4KLR8BjQefSSv9O8z+FT26yCyv5dnqUt0rAyiWZRfb+tyg1fw8SN0RzZExFR0iTq
	 4OCx7DLedQSRiKA7xlWCbXmibQcK4yczrR52F/64WOZlB1IdzTU1IT/Bwtb9cUkzdIY0n
	 S0YCQ2HSXeqfW/XzWuPiV6ONuf7ai/k8LCf7yWx6prwiIzERXlPHiJgwumEiu3NNloA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794871806;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=2d1/C/muKygY+FB1LWBPJCvJTWV1hknbYasTXckto7A=;
	b=BrNDHUrRr2Qt/B4yeCxQQ6dymGes3RcBTFts+Cf1hY6FwJKq+EORDOu9ckY3iLGHHXgT
	 zxt5cnWkUiwW6elNUayUAoHArC5Ve78DvQpI9Ar7PZc0a9oJ+xSH/8FEJNqgH0q3crkpd
	 lPOfENJlQosOwyKIOT0T8VBY8uoi0adu9bbD7a4hBl/FTsNyMYe7N5Es7Q2wsw6u3mws9
	 1EhC6toLIXDuQdj7akhnnvVQKWPY4XfgZbm2QWQwB+z5OOMN8SU+MeEbgF9IC5eWsANyP
	 uNxLkhALDq6ZHguGE5d7hFxdUE4aMwn2ZTBjAcg1jf91mJ2gK63e2KIMJ4vqVT1N92A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=knE7eJe9;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B301C606A31C
	for <netdev@vger.kernel.org>; Mon, 16 Nov 2026 23:30:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82DEB1F000C4;
	Mon, 16 Nov 2026 23:30:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794871806;
	bh=2d1/C/muKygY+FB1LWBPJCvJTWV1hknbYasTXckto7A=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=knE7eJe9I0iOVOUhqHP/z70JwloTPbFPr+PeZsASX/9e8algTjzVmBFMd+grjW9De
	 IFeGDrj9vjHKzagyDi3YNIsKsPWGXIFSjib7Z5UHWLJLevcTYpExDYRL08dBafZEK4
	 U3/oApXPIQaUtNPk1amyJ5jUyoI1Ns53DkOOWhmqmni2jwCP5dKwXn7cOeoRVj1qRj
	 tZgnL8KpgTQmT2ocU8qZpOpXFh/4R1ZxEU5DAW2QwbpnFUie+0z5mF40lZy8ZlJ1jx
	 ZacE9AXRvaDowfRwJA/Yfp1fq+K7hwwpnHyZ313WE4wbJX1QvAS8Wapr5hI6CvP/VU
	 1sHWjAmrSAJCA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 77434391B059;
	Mon, 16 Nov 2026 23:30:06 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To:  <20261111-stmmac_set_time-est_lock-v1-1-da1554f233e6@oss.qualcomm.com>
X-Cc: maxime.chevallier@bootlin.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
 richardcochran@gmail.com, Jose.Abreu@synopsys.com, netdev@vger.kernel.org,
 linux-arm-kernel@lists.infradead.org