[PATCH net 0/4] net: dsa: mt7530: fix remaining swallowed MDIO access errors

Daniel Golle daniel at makrotopia.org
Thu Jul 30 09:03:00 PDT 2026


v1 of "net: dsa: mt7530: fix swallowed MDIO read errors" [1] was
applied to net just before v2 [2] went out. This series carries
everything from v2 which was not already applied with v1 and still
qualifies as a fix: the two standalone patches v2 had grown following
the Sashiko AI reviewers' findings on v1, and, as patches of their
own, the companion fixes v2 added inside the already applied patches:
the unchecked bus->read() in core_rmw() and the unchecked PHY_IAC
command writes in the MT7531 indirect PHY access functions.

The remaining non-fix changes from v2, dropping a redundant read-back
and improving the poll failure messages, will follow via net-next.

[1] https://lore.kernel.org/netdev/cover.1785213071.git.daniel@makrotopia.org/
[2] https://lore.kernel.org/netdev/cover.1785368701.git.daniel@makrotopia.org/

Daniel Golle (4):
  net: pcs: mtk-lynxi: check regmap reads in mtk_pcs_lynxi_get_state()
  net: dsa: mt7530: check bus->read() error in core_rmw()
  net: dsa: mt7530: error out on failed PHY_IAC command writes
  net: dsa: mt7530: serialize the regmap IRQ chip like every other user

 drivers/net/dsa/mt7530.c        | 56 ++++++++++++++++++++++++++++-----
 drivers/net/pcs/pcs-mtk-lynxi.c |  5 +--
 2 files changed, 51 insertions(+), 10 deletions(-)


base-commit: dd16f1b5720f5dae33a79b5305e188e8290a3973
-- 
2.55.0



More information about the Linux-mediatek mailing list