Subject: Re: [PATCH net-next v3 6/7] net: phy: smsc: Cache interrupt mask

From: Lukas Wunner <[email-masked]>
Date: Thu, 12 May 2022 14:17:17 +0200

On Thu, May 12, 2022 at 10:42:06AM +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 <[email-masked]> # LAN9514/9512/9500
> Tested-by: Ferry Toth <[email-masked]> # LAN9514
> Signed-off-by: Lukas Wunner <[email-masked]>

Reviewed-by: Andrew Lunn <[email-masked]>

Andrew kindly provided this tag here:
https://lore.kernel.org/netdev/[email-masked]/

Forgot to add it to the commit.
Sending it in separately so patchwork picks it up.
My apologies for the inconvenience.