On Fri, Jan 22, 2021 at 04:03:34PM +0100, Marc Kleine-Budde wrote: > In our setup the dp83tc811 is configure to master mode. When there is no slave > connected the dp83tc811 triggers an interrupt is triggerd, several bits in the > status registers are set, and te INT_N pin goes low. One of interrupt bits is > the NO_FRAME interrupt. > > Reading the status register acknowledges the interrupt, but as there is still > no slave connected, the NO_FRAME interrupt stays set and the INT_N pin low. > For > level triggered IRQs this results in an interrupt storm, as long as the slave > is not connected. For edge triggered interupts the link change event, when the > slave comes online, is lost. > > To fix this problem the NO_FRAME interrupt is not enabled. At least in our > testcase with edge triggered interrupts link change events are now properly > detected. > > Cc: Dan Murphy <dmur...@ti.com> > Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de>
Hi Marc Seems reasonable. Please add to your rebased version: Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew