On Tue, May 03, 2022 at 03:15:06PM +0200, Lukas Wunner wrote: > Cache the interrupt mask to avoid re-reading it from the PHY upon every > interrupt. > > This will simplify a subsequent commit which detects hot-removal in the > interrupt handler and bails out. > > Analyzing and debugging PHY transactions also becomes simpler if such > redundant reads are avoided. > > Last not least, interrupt overhead and latency is slightly improved. > > Tested-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> # LAN9514/9512/9500 > Tested-by: Ferry Toth <fntoth@xxxxxxxxx> # LAN9514 > Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew