Re: [PATCH net 0/4] net: phy: restore driver state after userspace MII resets
From: Andrew Lunn
Date: Fri Nov 13 2026 - 14:49:19 EST
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