linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: ethernet: mtk_eth_soc: minor SGMII fixes
@ 2023-03-14  0:34 Daniel Golle
  2023-03-14  0:34 ` [PATCH 1/2] net: ethernet: mtk_eth_soc: reset PCS state Daniel Golle
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Golle @ 2023-03-14  0:34 UTC (permalink / raw)
  To: devicetree, Rob Herring, Krzysztof Kozlowski, netdev,
	linux-mediatek, linux-arm-kernel, linux-kernel, Russell King,
	Heiner Kallweit, Lorenzo Bianconi, Mark Lee, John Crispin,
	Felix Fietkau, AngeloGioacchino Del Regno, Matthias Brugger,
	DENG Qingfang, Landen Chao, Sean Wang, Paolo Abeni,
	Jakub Kicinski, Eric Dumazet, David S. Miller, Vladimir Oltean,
	Florian Fainelli, Andrew Lunn, Vladimir Oltean
  Cc: Bjørn Mork, Frank Wunderlich, Alexander Couzens

This small series brings two minor fixes for the SGMII unit found in
MediaTek's router SoCs.

The first patch resets the PCS internal state machine on major
configuration changes, just like it is also done in MediaTek's SDK.

The second patch makes sure we only write values and restart AN if
actually needed, thus preventing unnesseray loss of an existing link
in some cases.

Both patches have previously been submitted as part of the series
"net: ethernet: mtk_eth_soc: various enhancements" which grew a bit
too big and it has correctly been criticized that some of the patches
should rather go as fixes to net-next.

This new series tries to address this.

Daniel Golle (2):
  net: ethernet: mtk_eth_soc: reset PCS state
  net: ethernet: mtk_eth_soc: only write values if needed

 drivers/net/ethernet/mediatek/mtk_eth_soc.h |  4 +++
 drivers/net/ethernet/mediatek/mtk_sgmii.c   | 28 ++++++++++++---------
 2 files changed, 20 insertions(+), 12 deletions(-)


base-commit: 512dd354718b98c60d4ff6017ff8c9f66c10d03f
-- 
2.39.2

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-03-15  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-14  0:34 [PATCH net 0/2] net: ethernet: mtk_eth_soc: minor SGMII fixes Daniel Golle
2023-03-14  0:34 ` [PATCH 1/2] net: ethernet: mtk_eth_soc: reset PCS state Daniel Golle
2023-03-14  0:34 ` [PATCH 2/2] net: ethernet: mtk_eth_soc: only write values if needed Daniel Golle
2023-03-15  9:00 ` [PATCH net 0/2] net: ethernet: mtk_eth_soc: minor SGMII fixes 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;
as well as URLs for NNTP newsgroup(s).