Re: [PATCH net-next v7 08/10] net: dsa: realtek: rtl8365mb: re-latch the family D SerDes

From: Andrew Lunn

Date: Fri Nov 06 2026 - 10:51:21 EST


> > pcs_config() runs seconds before the far-end MAC even starts
> > configuring, so a single edge driven from there is not enough: the
> > receiver has nothing to latch onto yet. Neither is pcs_link_up(),
> > which is seconds early for the same reason. phylink does not help
> > either - it never calls rtl8365mb_pcs_get_state() for this port in
> > the first place, since mb->pcs.poll only arms phylink's own poll for
> > in-band links, and this CPU port is a fixed link.

Sorry, not been following this patch series.

One thing which might help here. Russell once said it should be
possible to use phylink with pcs to pcs links, rather than use
fixed-link. You then get all the phylink machinery, which might
trigger the pcs negotiation and get your link up?

I don't know of any board which actually does this, so i've no idea if
it really does work.

Andrew