Re: [PATCH net 0/4] net: phy: restore driver state after userspace MII resets

From
Andrew Lunn <andrew@lunn.ch>
Date
2026-11-13 13:33:39
Also in
lkml
Reply to
James Hilliard, 2026-11-13
On Fri, Nov 13, 2026 at 01:48:39AM -0700, James Hilliard wrote:
An MII ioctl reset needs to restore the PHY driver's configuration and
software state before the PHY worker can access the device again.
The MII ioctl is a footgun. If you use it for writing registers, don't
be surprised if bad things happen. Even reading registers can cause
bad side effects, like missed interrupts.

The whole design is broken, there is no fixing it, so we don't try to
fix it.

Sorry, but NACK.

       Andrew
Thread (10 messages) 10 messages, 3 authors, last reply 3d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help