Thread (10 messages) 10 messages, 4 authors, 6d ago

Re: [PATCH net v13 0/4] net: phy: keep a PHY interrupt across a generic bind cycle

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-10-07 00:40:11
Also in: linux-usb, lkml

Hello:

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

On Thu,  1 Oct 2026 16:02:32 +0300 you wrote:
On a Keenetic KN-1012 the EN8811H PHY behind lan4 has its driver as a
module on the root filesystem, so it binds to the generic driver first.
phy_probe() replaces its interrupt with PHY_POLL, and nothing puts it
back when the real driver takes over, so the PHY is polled for the rest
of the uptime.

Patches 1 and 2 put the lan78xx and smsc95xx PHY interrupts into the
MDIO bus table entry of the PHY each driver uses, so there is a number
to restore for them too. Patch 3 restores the interrupt from that table
in phy_detach(). Patch 4 restores it when the generic bind fails inside
phy_attach_direct().

[...]
Here is the summary with links:
  - [net,v13,1/4] net: usb: lan78xx: register the PHY interrupt with the MDIO bus
    https://git.kernel.org/netdev/net-next/c/06192231d089
  - [net,v13,2/4] net: usb: smsc95xx: register the PHY interrupt with the MDIO bus
    https://git.kernel.org/netdev/net-next/c/2c583f49e8f0
  - [net,v13,3/4] net: phy: take the interrupt back from the bus on detach
    https://git.kernel.org/netdev/net-next/c/026bb4593faf
  - [net,v13,4/4] net: phy: restore the interrupt when the generic bind cycle fails
    https://git.kernel.org/netdev/net-next/c/4719b69bb66b

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