Article View: linux.kernel.netdev
Article #13600Re: [PATCH net] net: stmmac: keep est_lock across PTP clock adjustment
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 02:55
Date: Tue, 10 Nov 2026 02:55
26 lines
8910 bytes
8910 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 02 Nov 2026 18:37:56 +0100 you wrote:
> stmmac_adjust_time() disables EST, drops est_lock to step the PTP clock,
> and then reacquires the lock to reprogram EST using a base time computed
> from the new clock value.
>
> That leaves a window where a concurrent tc_taprio_configure() can program
> EST enabled with a base time derived from the pre-step clock. The gate
> schedule then runs across the PTP step with a stale base time until
> stmmac_adjust_time() reprograms it.
>
> [...]
Here is the summary with links:
- [net] net: stmmac: keep est_lock across PTP clock adjustment
https://git.kernel.org/netdev/net-next/c/b0816917a4f7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179427931167.3612825.9963746260177679514.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359799-linux-kernel-netdev=dewy.ruReferences:
<20261102-stmmac-ptp-est-lock-v1-1-76fbc0cb230d@oss.qualcomm.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359799-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: stmmac: keep est_lock across PTP clock adjustment Date: Tue, 10 Nov 2026 02:55:11 +0000 Organization: Usenet Network Message-ID: <179427931167.3612825.9963746260177679514.git-patchwork-notify@kernel.org> References: <20261102-stmmac-ptp-est-lock-v1-1-76fbc0cb230d@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="507880"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:IAEuu+vXRTNkNNmI+WSP+mjNsQ0= sha256:xoB9gwa0jJ00lR6RcILXxpZC3jxgSsYgZsXu4KlB8YQ= sha1:j4p3y4bwO+P7YltPP6DDb+iwbbk= sha256:zzygkJZwEuDa9D0bdnc40jYoGvL9MUXmsygjBYjbr98= 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 07044113A06; Tue, 10 Nov 2026 06:07:10 +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 yKQ8C_aGwtdI; Tue, 10 Nov 2026 06:07:06 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-359799-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id D48ED11392A; Tue, 10 Nov 2026 06:06:57 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 4DE7831386; Tue, 10 Nov 2026 02:57:13 +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=1794279315; b=H9tZbmxG1K+ZwCQTHSM8wXAiToCyWLwb6ZHH/kHr5FFD4W3VNioBOXvPN50ggWdZjYW7 Gc0G8b+bZPEj/0mqjGZt50IjM76lKg15RdbTEsF7HbGnodg8ejpSZgIosA0KBEpT2RKI/ OdusBkCmnBTYl+zFaZWDDE3p+MBF/OmwRpT8UZWHELuKsfzk6XUbIv0lTaOL9EvwlnGJ5 swiGv+SW81sieklJ8Gw37NAjeThtLdfsbvb1jtuRju/u/NTI53vxMa1efeIqu+eJJ4K2l QdoQcxOVFm8d3grl2DGW0cV5bP3TcrBYSxZP8eXgbpxxuuQ+ElwWFKAP2ARycXfVAxg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794279315; 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=9vkjXGj8E1tCNlK6OgtPkP9eLc/ViU7DdLFLKuqN8to=; b=YNefc7BDC+3d/5J2LIMa6Z/hueYoZ9oN7fD7Ks29A/xkySQy9zhniMZNr9pC4VfkyeW8 DL+2Dc5UdzxKr5SGIv7tL96trfWiaITQMjgPNHbJ8CtV9hsESdlL7O07iTHJNZRJBE+bb icb/Nr/fVMy611CqJk9f53w+Q61HrGuPGZ4qYDBnXEWIXImaZXb0UyLiWKg0n1S3CMf+/ e4UeL0Pfp7JcABMJz2oBDLsS5b5TeJ6rGiqxxd5Ex3sRUzkJ8/cskgn5tfoVxSl19p9V5 JSxj5aOaawHWOMe6NdFhx0b8jdKmXoFKP63I5BcI20cdRcVKcH4US+75o7zVpSVGGLA== 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=cUAEMr8b; 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 0D643606A332; Tue, 10 Nov 2026 02:55:15 +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=cUAEMr8b 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=1794279314; b=oaZ/5K/9ikYAMxMOaqkViqW9jUU0X3C0DppEN15rvxMIMwCaTS2o3j893MuloVTX8QSM 0YMlUOMy+K4g5gR93bSUSqNmq9gWwmq2V33v02N6KP5A4f8lHvDtUqxiECbtCKeNgFZhG daZJKre+Oi2tGJUTnLxBTDsviJcItyF6cz58cGzBOG431fKILxHcGS7lvCrw2rHIX9Nz0 3kTUmrKjuRWc2MXSHEvqr1/rhWPfYhKbyllPAWaqx0RBvwbUGJUSIz2iQFzoWQIo59Tah 5jsbwSHA4zS8kpS05FZ9OXDllRWHsfJYKyTUrcGSKw92KGhOAVxcC66tEmQV+2+a05g== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794279314; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=9vkjXGj8E1tCNlK6OgtPkP9eLc/ViU7DdLFLKuqN8to=; b=241YIqYBOfBNuBsVmEJmOxBbt8e6g9plopJb8CPQk4EqJmkdJWmbP1ll2YYvJ6CxtrYV g/mQVApxtSQ8AuQZquDRBkz/qNSgD3ZKRx7olYKmi4TKqF3K17C6AxI6WVgafkZqNCvbQ pOGdw5AYZBw4B8NNGf5mk6DvRDrC+SezaxslcQNuXbLB286V7GHw0QcPNIzMIscR7BjxV vDC9Kf3L5bQ4coAg4r1QY8IrOs10kznObXgWogVjue8E65lLajLprf1d+SA59llHyKEPC HudeVWaSSUAAn90x/BmVhXVnZIdKKm4HRpkR6x1k+Vz0EXEWQUi5fug1gg7E3cBOSfQ== 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=cUAEMr8b; 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 E1951606B0FD for <netdev@vger.kernel.org>; Tue, 10 Nov 2026 02:55:13 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BFAF1F008A1; Tue, 10 Nov 2026 02:55:13 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794279313; bh=9vkjXGj8E1tCNlK6OgtPkP9eLc/ViU7DdLFLKuqN8to=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=cUAEMr8b64rh70D72PomBwr2MzTeqij9ATCHIUOQjtCMakmsEPqsJM0WwmXG4SyhW 76okAytmrvxTZ5H1/sbDr2i+KgoJyCHoamNjilRivfJt+RbbBvdIS8jff+2e/vF6S0 +BJw2XZavkKKfC6zTcMWq2iUGAbN57m1untgackBKVzNugZQUMhQqUZb9S0ShLF8LX k88qaIGyJsyj1lYsO0CKNzGFukK8ZV6oEwkysiNx15pnWDCyHAaaKOyu6a8Ns6xpBm dtFG21iX4HH4rHatekH06i19kwG1/UHR2HqMPpd8xj705XJCGIv3qpjfXyPw8gUX/A Abj5vR7+p+4KQ== 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 21110391AFCB; Tue, 10 Nov 2026 02:55:13 +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: <20261102-stmmac-ptp-est-lock-v1-1-76fbc0cb230d@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, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org