[PATCH net-next 0/7] Support external snapshots on dwmac1000
Alexis Lothoré
alexis.lothore at bootlin.com
Tue Oct 29 07:45:07 PDT 2024
Hello Maxime,
On 10/29/24 12:54, Maxime Chevallier wrote:
> Hi,
>
> This series is another take on the pervious work [1] done by
> Alexis Lothoré, that fixes the support for external snapshots
> timestamping in GMAC3-based devices.
>
[...]
> [1]: https://lore.kernel.org/netdev/20230616100409.164583-1-alexis.lothore@bootlin.com/
>
> Thanks Alexis for laying the groundwork for this,
>
> Best regards,
>
> Maxime
Thanks for making this topic move forward. I suspect the series to be missing
some bits: in the initial series you mention in [1], I also reworked
stmmac_hwtstamp_set in stmmac_main.c, which is also currently assuming a GMAC4
layout ([2]). I suspect that in your series current state, any new call to
stmmac_hwtstamp_set will overwrite any previously configured hardware timestamping.
[2]
https://lore.kernel.org/netdev/20230616100409.164583-8-alexis.lothore@bootlin.com/
>
> Maxime Chevallier (7):
> 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
>
> drivers/net/ethernet/stmicro/stmmac/common.h | 4 +
> .../net/ethernet/stmicro/stmmac/dwmac1000.h | 15 +++-
> .../ethernet/stmicro/stmmac/dwmac1000_core.c | 85 +++++++++++++++++++
> drivers/net/ethernet/stmicro/stmmac/hwif.c | 14 ++-
> .../ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 11 +++
> .../net/ethernet/stmicro/stmmac/stmmac_ptp.c | 38 +++++++--
> .../net/ethernet/stmicro/stmmac/stmmac_ptp.h | 10 +++
> 7 files changed, 165 insertions(+), 12 deletions(-)
>
--
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the linux-arm-kernel
mailing list