[PATCH v3 net-next 0/4] Phylink link callback replay helpers for SJA1105 and XPCS

Vladimir Oltean posted 4 patches 2 weeks, 5 days ago
drivers/net/dsa/sja1105/sja1105_main.c | 84 ++++----------------------
drivers/net/phy/phylink.c              | 75 +++++++++++++++++++----
include/linux/phylink.h                |  5 ++
3 files changed, 80 insertions(+), 84 deletions(-)
[PATCH v3 net-next 0/4] Phylink link callback replay helpers for SJA1105 and XPCS
Posted by Vladimir Oltean 2 weeks, 5 days ago
The sja1105 is reducing its direct interaction with the XPCS.

The changes presented here are an older simplification idea, broken out
of a previous patch set to allow for more thorough review.

v2 submitted at:
https://lore.kernel.org/netdev/20251118190530.580267-2-vladimir.oltean@nxp.com/
v1 submitted at:
https://lore.kernel.org/netdev/20241212172026.ivjkhm7s2qt6ejyz@skbuf/

The change log is consolidated here rather than in individual patches.

Change log:
v2->v3:
- single patch broken up into separate changes for preliminary phylink
  refactoring, phylink core functionality, and first use in sja1105
- new patch to re-merge sja1105_set_port_speed() and
  sja1105_set_port_config()
v1->v2:
- check in phylink_replay_link_end() whether phylink_replay_link_begin()
  was previously called.
- fix the handling of the new pl->force_major_config in phylink_resolve(),
  to not depend on "bool mac_config". Reimplement it closer to a
  forceful behaviour.

Vladimir Oltean (4):
  net: phylink: simplify phylink_resolve() -> phylink_major_config()
    path
  net: phylink: introduce helpers for replaying link callbacks
  net: dsa: sja1105: let phylink help with the replay of link callbacks
  net: dsa: sja1105: re-merge sja1105_set_port_speed() and
    sja1105_set_port_config()

 drivers/net/dsa/sja1105/sja1105_main.c | 84 ++++----------------------
 drivers/net/phy/phylink.c              | 75 +++++++++++++++++++----
 include/linux/phylink.h                |  5 ++
 3 files changed, 80 insertions(+), 84 deletions(-)

-- 
2.34.1
Re: [PATCH v3 net-next 0/4] Phylink link callback replay helpers for SJA1105 and XPCS
Posted by Russell King (Oracle) 2 weeks, 5 days ago
On Mon, Jan 19, 2026 at 02:19:50PM +0200, Vladimir Oltean wrote:
> The sja1105 is reducing its direct interaction with the XPCS.
> 
> The changes presented here are an older simplification idea, broken out
> of a previous patch set to allow for more thorough review.

I think I had completely missed these, so thanks for breaking them out.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!