Re: [PATCH net-next v4 0/8] net: dsa: mt7530: modernise register access and add two DSA ops

Jakub Kicinski <[email protected]> Mon, 27 Jul 2026 16:44:15 -0700
Newsgroups org.infradead.lists.linux-mediatek,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
On Sun, 19 Jul 2026 18:33:45 +0100 Daniel Golle wrote:
> v4:
>  * rebase onto current net-next
>  * 5/8: zero the read-back buffer in mt7530_regmap_read() instead of
>    initialising the result variables at every call site, as suggested
>    by Jakub
>  * 6/8: keep MT753X_CTRL_PHY_ADDR() as plain address arithmetic rather
>    than converting it to FIELD_PREP() as suggested in review: the macro
>    computes the MDIO bus address of the switch PHYs, used as the addr
>    argument of bus->read/write and as an iterator base in
>    mt7530_setup_mdio(), not a hardware register field

Looks like this needs another rebase

BTW Sashiko is still complaining about corner cases of patch 5:
https://sashiko.dev/#/patchset/16c17477dc9eea8054455ef0e444a687336ced70.1784481922.git.daniel@makrotopia.org