Re: [PATCH net v4] phy: mscc: Fix timestamping for vsc8584

From: Horatiu Vultur
Date: Mon Aug 18 2025 - 10:19:58 EST


The 08/18/2025 16:21, Vladimir Oltean wrote:

Hi Vladimir,

>
> On Mon, Aug 18, 2025 at 10:10:29AM +0200, Horatiu Vultur wrote:
> > diff --git a/drivers/net/phy/mscc/mscc_main.c b/drivers/net/phy/mscc/mscc_main.c
> > index 37e3e931a8e53..800da302ae632 100644
> > --- a/drivers/net/phy/mscc/mscc_main.c
> > +++ b/drivers/net/phy/mscc/mscc_main.c
> > @@ -2368,6 +2368,13 @@ static int vsc85xx_probe(struct phy_device *phydev)
> > return vsc85xx_dt_led_modes_get(phydev, default_mode);
> > }
> >
> > +static void vsc85xx_remove(struct phy_device *phydev)
> > +{
> > + struct vsc8531_private *priv = phydev->priv;
> > +
> > + skb_queue_purge(&priv->rx_skbs_list);
> > +}
>
> Have you tested this patch with an unbind/bind cycle? Haven't you found
> that a call to ptp_clock_unregister() is also missing?

I haven't tested unbind/bind cycle. As I said also to Paolo[1], I will need
to look in this issue with missing ptp_clock_unregister(). But I want to
do that in a separate patch after getting this accepted.

[1] https://lkml.org/lkml/2025/8/13/345

--
/Horatiu