Thread (2 messages) 2 messages, 2 authors, 2026-09-10

Re: [PATCH net v3] net: macb: initialize PTP state before registering clock

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-10 15:51:07
Also in: lkml, stable

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Tue,  8 Sep 2026 18:39:24 +0800 you wrote:
gem_ptp_init() registers the PTP clock before initializing
bp->tsu_clk_lock and the TSU hardware. Since ptp_clock_register()
publishes the PTP character device, userspace may invoke PTP callbacks
before the lock and hardware are ready.

In addition, gem_ptp_init() is called from both the interface open and
resume paths. Reinitializing tsu_clk_lock there can reset the lock while
timestamp processing is using it.

[...]
Here is the summary with links:
  - [net,v3] net: macb: initialize PTP state before registering clock
    https://git.kernel.org/netdev/net/c/e1406330d70e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help