After investigation, I found that with 4.8 kernel, when the PHY is enabled, the link status is read from PHY. However, there are bug in current codes in both Marvell 88E1512 PHY and xgene-mdio drivers, the link status is wrongly read. The issue can be resolved when applying two below patches: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/phy/marvell.c?id=a13c06525ab9ff442924e67df9393a5efa914c56 https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/drivers/net/phy/mdio-xgene.c?id=4b72436dc3dd2457056b22d6f147777368c869fa
After investigation, I found that with 4.8 kernel, when the PHY is enabled, the link status is read from PHY. /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ drivers/ net/phy/ marvell. c?id=a13c06525a b9ff442924e67df 9393a5efa914c56 /git.kernel. org/pub/ scm/linux/ kernel/ git/davem/ net-next. git/commit/ drivers/ net/phy/ mdio-xgene. c?id=4b72436dc3 dd2457056b22d6f 147777368c869fa
However, there are bug in current codes in both Marvell 88E1512 PHY and xgene-mdio drivers, the link status is wrongly read.
The issue can be resolved when applying two below patches:
https:/
https:/