Subject: Re: [REGRESSION, BISECTED] Broken networking with net/phy/marvell

From: Andrew Lunn <[email-masked]>
Date: Sat, 28 Oct 2017 21:01:39 +0200

On Thu, Oct 26, 2017 at 03:28:36PM +0300, Aaro Koskinen wrote:
> Hi,
> 
> When upgrading from v4.13 to v4.14-rc6 on OpenRD Client, the box loses
> network connectivity.

Hi Aaro

What exactly is the PHY in the OpenRD?

>  
> -	mscr &= MII_88E1121_PHY_MSCR_DELAY_MASK;
> +	mscr &= ~MII_88E1121_PHY_MSCR_DELAY_MASK;

Please can you print the value of mscr before it is changed.

One possibility, is that the bootloader is setting the PHY to
rgmii-id. This is now getting cleared, where earlier it was
preserved. If this is true, it should be solved by adding

phy-mode = "rgmii-id" to the ethernet node in the device tree.

	 Andrew