OSDN Git Service

Merge branch 'net-fsl-fman-address-erratum-A011043'
authorDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2020 20:17:13 +0000 (21:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2020 20:17:13 +0000 (21:17 +0100)
commit72b5917413e19529dd9495852fc10892f749c4ef
treeefe5bad889fccc2c8044619e568407517721017d
parent22e984493a41bf8081f13d9ed84def3ca8cfd427
parent1d3ca681b9d9575ccf696ebc2840a1ebb1fd4074
Merge branch 'net-fsl-fman-address-erratum-A011043'

Madalin Bucur says:

====================
net: fsl/fman: address erratum A011043

This addresses a HW erratum on some QorIQ DPAA devices.

MDIO reads to internal PCS registers may result in having
the MDIO_CFG[MDIO_RD_ER] bit set, even when there is no
error and read data (MDIO_DATA[MDIO_DATA]) is correct.
Software may get false read error when reading internal
PCS registers through MDIO. As a workaround, all internal
MDIO accesses should ignore the MDIO_CFG[MDIO_RD_ER] bit.
When the issue was present, one could see such errors
during boot:

  mdio_bus ffe4e5000: Error while reading PHY0 reg at 3.3
====================

Signed-off-by: David S. Miller <davem@davemloft.net>