]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-altera-tse-cleanup-init-sequence'
authorJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 02:15:17 +0000 (18:15 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 02:15:18 +0000 (18:15 -0800)
commit907c46ae20cd1a8f2fe2cd732a6089d115a36cf5
tree002496fad8f7b341080392acf6a8b14972fff52a
parent617a0dd24ef2b4e6240df48b1fbac1c3ebfa9282
parent055e554b8fff7bb47e026bb8d199b213756e4321
Merge branch 'net-altera-tse-cleanup-init-sequence'

Maxime Chevallier says:

====================
net: altera-tse: Cleanup init sequence

Altera TSE cleanup to make sure everything is properly intialized
before registering the netdev.

When Altera TSE was converted to phylink, the PCS and phylink creation
were added after register_netdev(), which is wrong as this may race
with .ndo_open() once the netdev is registered.

This series makes so that we register the netdev once all resources are
cleanly initialised, that includes PCS and phylink creation as well as a
few other operations such as reading the IP version.

No errors were found in the wild, so this series doesn't target net, but
given that we fix some racy-ness, a point could be made to send that to
net.

This series doesn't introduce functional changes, however the internal
mii_bus for PCS configuration is renamed.

v1: https://lore.kernel.org/20251030102418.114518-1-maxime.chevallier@bootlin.com
====================

Link: https://patch.msgid.link/20251103104928.58461-1-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>