[PATCH net 1/4] net/fsl: xgmac_mdio: Add workaround for erratum A-009885

Andrew Lunn andrew at lunn.ch
Mon Jan 17 09:02:19 AEDT 2022


On Sun, Jan 16, 2022 at 10:15:26PM +0100, Tobias Waldekranz wrote:
> Once an MDIO read transaction is initiated, we must read back the data
> register within 16 MDC cycles after the transaction completes. Outside
> of this window, reads may return corrupt data.
> 
> Therefore, disable local interrupts in the critical section, to
> maximize the probability that we can satisfy this requirement.

Since this is for net, a Fixes: tag would be nice. Maybe that would be
for the commit which added this driver, or maybe when the DTSI files
for the SOCs which have this errata we added?

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew


More information about the Linuxppc-dev mailing list