mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: dsa: b53: fix bcm63xx rgmii user ports with speed < 1g
@ 2025-11-01 13:28 Jonas Gorski
  2025-11-01 13:28 ` [PATCH net 1/2] net: dsa: b53: fix resetting speed and pause on forced link Jonas Gorski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jonas Gorski @ 2025-11-01 13:28 UTC (permalink / raw)
  To: Florian Fainelli, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Florian Fainelli, netdev, linux-kernel

It seems that the integrated switch in bcm63xx does not support polling
external PHYs for link configuration. While the appropriate registers
seem to exist with expected content, changing them does nothing.

This results in user ports with external PHYs only working in 1000/fd,
and not in other modes, despite linking up.

Fix this by writing the link result into the port state override
register, like we already do for fixed links.

With this, ports with lower speeds can successfully transmit and receive
packets.

This also aligns the behaviour with the old bcm63xx_enetsw driver for
those ports.

Jonas Gorski (2):
  net: dsa: b53: fix resetting speed and pause on forced link
  net: dsa: b53: fix bcm63xx RGMII port link adjustment

 drivers/net/dsa/b53/b53_common.c | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)


base-commit: d7d2fcf7ae31471b4e08b7e448b8fd0ec2e06a1b
-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-11-04  1:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-01 13:28 [PATCH net 0/2] net: dsa: b53: fix bcm63xx rgmii user ports with speed < 1g Jonas Gorski
2025-11-01 13:28 ` [PATCH net 1/2] net: dsa: b53: fix resetting speed and pause on forced link Jonas Gorski
2025-11-03 16:48   ` Florian Fainelli
2025-11-01 13:28 ` [PATCH net 2/2] net: dsa: b53: fix bcm63xx RGMII port link adjustment Jonas Gorski
2025-11-03 16:49   ` Florian Fainelli
2025-11-04  1:10 ` [PATCH net 0/2] net: dsa: b53: fix bcm63xx rgmii user ports with speed < 1g patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®