Thread (8 messages) read the whole thread 8 messages, 3 authors, 1d ago

Re: [PATCH net 0/3] net: dsa: mt7530: fix swallowed MDIO read errors

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-30 00:40:57
Also in: linux-arm-kernel, linux-mediatek, lkml

Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Tue, 28 Jul 2026 05:52:05 +0100 you wrote:
While working on a register access cleanup for the mt7530 driver, the
Sashiko AI reviewers flagged long-standing error handling gaps in the
driver's read paths [1].

The MDIO regmap backend truncates negative bus->read() errnos into u16
register halves and returns success, handing garbage data to callers
and to read-modify-write cycles which then write it back to the switch.

[...]
Here is the summary with links:
  - [net,1/3] net: dsa: mt7530: check bus->read() errors in the MDIO regmap backend
    https://git.kernel.org/netdev/net/c/b4ce102b2cd8
  - [net,2/3] net: dsa: mt7530: error out on failed reads in ATC/VTCR command polling
    https://git.kernel.org/netdev/net/c/ed9adac35b8f
  - [net,3/3] net: dsa: mt7530: error out on failed reads in MT7531 PHY polling
    https://git.kernel.org/netdev/net/c/77a9ebe8818c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help