[PATCH net-next 0/2] net: stmmac: correctly populate ptp_clock_ops.getcrosststamp

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Sep 5 19:00:09 PDT 2025


Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Wed, 3 Sep 2025 15:00:16 +0100 you wrote:
> Hi,
> 
> While reviewing code in the stmmac PTP driver, I noticed that the
> getcrosststamp() method is always populated, irrespective of whether
> it is implemented or not by the stmmac platform specific glue layer.
> 
> Where a platform specific glue layer does not implement it, the core
> stmmac driver code returns -EOPNOTSUPP. However, the PTP clock core
> code uses the presence of the method in ptp_clock_ops to determine
> whether this facility should be advertised to userspace (see
> ptp_clock_getcaps()).
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: stmmac: ptp: conditionally populate getcrosststamp() method
    https://git.kernel.org/netdev/net-next/c/bb427fb839de
  - [net-next,2/2] net: stmmac: intel: only populate plat->crosststamp when supported
    https://git.kernel.org/netdev/net-next/c/0c9fbb38e2a9

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





More information about the linux-arm-kernel mailing list