Re: [PATCH net v2 0/2] net: dsa: mt7530: fix two crashes on driver unbind

From: patchwork-bot+netdevbpf

Date: Thu Sep 24 2026 - 12:52:54 EST


Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 18 Sep 2026 04:50:18 +0300 you wrote:
> Unbinding the MT7530 driver from an MT7531 dereferences NULL in
> regulator_disable(). On a Netcraze NC-1012 (MT7981B + MT7531, 6.18.44):
>
> # echo mdio-bus:1f > /sys/bus/mdio_bus/drivers/mt7530-mdio/unbind
>
> oopses there, and the build it was found on sets CONFIG_PANIC_ON_OOPS, so
> the board goes down with it. Fix that and the same command gets as far as
> mt7530_remove_common(), which disposes interrupt mappings the switch's own
> regmap-irq chip still owns; the regmap-irq thread then faults in
> handle_nested_irq() later in the same teardown. rmmod reaches both, since
> mdio_module_driver() calls .remove on module exit.
>
> [...]

Here is the summary with links:
- [net,v2,1/2] net: dsa: mt7530: fix NULL dereference on unbind of MT7531 and MT7621
https://git.kernel.org/netdev/net/c/c2cdef41e0b4
- [net,v2,2/2] net: dsa: mt7530: leave the MDIO IRQ mappings to regmap-irq
https://git.kernel.org/netdev/net/c/0d80ba0a204c

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