mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/9] Support external snapshots on dwmac1000
@ 2024-11-12 17:06 Maxime Chevallier
  2024-11-12 17:06 ` [PATCH net-next v4 1/9] net: stmmac: Don't modify the global ptp ops directly Maxime Chevallier
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Maxime Chevallier @ 2024-11-12 17:06 UTC (permalink / raw)
  To: Alexandre Torgue, Jose Abreu, Andrew Lunn, davem, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Maxime Coquelin, Richard Cochran
  Cc: Maxime Chevallier, Alexis Lothoré,
	Thomas Petazzoni, netdev, linux-stm32, linux-arm-kernel,
	Daniel Machon, linux-kernel

Hi,

This is v4 on the series to support external snapshots on dwmac1000.

The main change since v3 is the move of the fifo flush wait in the
ptp_clock_info enable() function within the mutex that protects the ptp
registers. Thanks Jakub and Paolo for spotting this.

This series also aggregates Daniel's reviews, except for the patch 4
which was modified since then.

This series is another take on the previous work [1] done by
Alexis Lothoré, that fixes the support for external snapshots
timestamping in GMAC3-based devices.

Details on why this is needed are mentionned on the cover [2] from V1.

[1]: https://lore.kernel.org/netdev/20230616100409.164583-1-alexis.lothore@bootlin.com/
[2]: https://lore.kernel.org/netdev/20241029115419.1160201-1-maxime.chevallier@bootlin.com/

Thanks Alexis for laying the groundwork for this,

Best regards,

Maxime

Link to V1: https://lore.kernel.org/netdev/20241029115419.1160201-1-maxime.chevallier@bootlin.com/
Link to V2: https://lore.kernel.org/netdev/20241104170251.2202270-1-maxime.chevallier@bootlin.com/
Link to V3: https://lore.kernel.org/netdev/20241106090331.56519-1-maxime.chevallier@bootlin.com/

Maxime Chevallier (9):
  net: stmmac: Don't modify the global ptp ops directly
  net: stmmac: Use per-hw ptp clock ops
  net: stmmac: Only update the auto-discovered PTP clock features
  net: stmmac: Introduce dwmac1000 ptp_clock_info and operations
  net: stmmac: Introduce dwmac1000 timestamping operations
  net: stmmac: Enable timestamping interrupt on dwmac1000
  net: stmmac: Don't include dwmac4 definitions in stmmac_ptp
  net: stmmac: Configure only the relevant bits for timestamping setup
  net: stmmac: dwmac_socfpga: This platform has GMAC

 drivers/net/ethernet/stmicro/stmmac/common.h  |   4 +
 .../ethernet/stmicro/stmmac/dwmac-socfpga.c   |   1 +
 .../net/ethernet/stmicro/stmmac/dwmac1000.h   |  12 +++
 .../ethernet/stmicro/stmmac/dwmac1000_core.c  | 101 ++++++++++++++++++
 drivers/net/ethernet/stmicro/stmmac/hwif.c    |  15 ++-
 .../ethernet/stmicro/stmmac/stmmac_hwtstamp.c |  26 ++++-
 .../net/ethernet/stmicro/stmmac/stmmac_ptp.c  |  38 +++++--
 .../net/ethernet/stmicro/stmmac/stmmac_ptp.h  |  10 ++
 8 files changed, 196 insertions(+), 11 deletions(-)

-- 
2.47.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-11-14  3:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-12 17:06 [PATCH net-next v4 0/9] Support external snapshots on dwmac1000 Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 1/9] net: stmmac: Don't modify the global ptp ops directly Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 2/9] net: stmmac: Use per-hw ptp clock ops Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 3/9] net: stmmac: Only update the auto-discovered PTP clock features Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 4/9] net: stmmac: Introduce dwmac1000 ptp_clock_info and operations Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 5/9] net: stmmac: Introduce dwmac1000 timestamping operations Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 6/9] net: stmmac: Enable timestamping interrupt on dwmac1000 Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 7/9] net: stmmac: Don't include dwmac4 definitions in stmmac_ptp Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 8/9] net: stmmac: Configure only the relevant bits for timestamping setup Maxime Chevallier
2024-11-12 17:06 ` [PATCH net-next v4 9/9] net: stmmac: dwmac_socfpga: This platform has GMAC Maxime Chevallier
2024-11-14  3:00 ` [PATCH net-next v4 0/9] Support external snapshots on dwmac1000 patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®