Re: [PATCH net] ptp: Allow exposing cycles only for clocks with free-running counter

From: patchwork-bot+netdevbpf

Date: Fri Oct 31 2025 - 19:40:32 EST


Hello:

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

On Wed, 29 Oct 2025 10:38:13 +0200 you wrote:
> The PTP core falls back to gettimex64 and getcrosststamp when
> getcycles64 or getcyclesx64 are not implemented. This causes the CYCLES
> ioctls to retrieve PHC real time instead of free-running cycles.
>
> Reject PTP_SYS_OFFSET_{PRECISE,EXTENDED}_CYCLES for clocks without
> free-running counter support since the result would represent PHC real
> time and system time rather than cycles and system time.
>
> [...]

Here is the summary with links:
- [net] ptp: Allow exposing cycles only for clocks with free-running counter
https://git.kernel.org/netdev/net/c/5a89b27afd3d

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