Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1279017ybl; Mon, 2 Dec 2019 00:40:35 -0800 (PST) X-Google-Smtp-Source: APXvYqy1CyReOqi9Tc1kYP5tvPxzKPTh5/hDwGNOUEkhFGBbx4bYx70s4ejZ/6MkcJDPcJlEMtiA X-Received: by 2002:aa7:c994:: with SMTP id c20mr22068346edt.113.1575276034902; Mon, 02 Dec 2019 00:40:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575276034; cv=none; d=google.com; s=arc-20160816; b=Rjt1LxLqcmWwLQldvpS7bqcsBC89rSwhaWTsaFW5BKXYMr8hrVhSD/pO1sEvWcrssU ZGVPs6n68FvbPqVOwa2y2kcweffa0zt5ocsJkasyyu5eKplwQ/syE6DCuJOs+mN9isL2 a27udkcspEnzm0r9+O4GFxsb3Rlqvc0324kDiiry+HODVbVXURFaYMLG2vOA5wJ5WaGj UjM5SfQNQUN5tYE+JpDSlQ8rzRhR0fmU0ZVt4yqQT7YwvIUQPdhVoL6EpTTp0bvkqELx D56vXpkABLwDzJLZLkdD4I0PwU2y00X0PwnaT2tzAMq6tg23gPuJX0MQqRr+wfbW8/Gc LHOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=h9f2jKqxY4dwXF2tYcM3Hkkn6OH4OT7K0il5mBuoT2s=; b=dVMifrOmui0+Qu6pmThcPlfEbqtpiRlrJeiwTm6MhbE5ObdJ0O8kj6JP+01i+IFp+E xFxHLWkHTmKjN84xtJ5cZklPJhu9zSwU8G8kk2AegIg16NSlbQ5nGiRWDl6JMhhJNw5m pe1wXvVPxP9wLjoBYM0zTn3DV2XYtaUXLK6zyzThjq+JAxNQvL2qogVqQdGVGNKo/3Mw 7RPbrLGOD8X/YNDMQNheDoOsYzdExDnfGHgaWH0MJwc1Y8Oobb3kzI4+VTY6/Ky7eWtx vDBmRl7urJzyRXJXrqddnQdPTXRh7PelOO+y9nzIGRHuE+sqAKEqp4qEUoeKH8UIxUl4 yHNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bp2RcZzG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c38si8921298edf.356.2019.12.02.00.40.10; Mon, 02 Dec 2019 00:40:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bp2RcZzG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726214AbfLBIi5 (ORCPT + 99 others); Mon, 2 Dec 2019 03:38:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:34268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfLBIi5 (ORCPT ); Mon, 2 Dec 2019 03:38:57 -0500 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BAD95215F1; Mon, 2 Dec 2019 08:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575275936; bh=HPnBrd8TXP+68qZoG8LNSixiz/YCSXeBr6RQKOHtrC8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bp2RcZzGdf+enbmwVBjF09UI/+xWqNpE/kBrQ+kP6Av8dF6B57wiy2JseC9QVHQKk EQoT5TaOQ+Zn+ZhFs7iy/I5DFOwaXuwJJdW6ecPdxEWTL3GaoAllmhpFYuvk8R4+MT Yw3Qd7igkMRqLftK1TDF0Ir9Dv+cX2ZPmcy0WbS0= Date: Mon, 2 Dec 2019 16:38:40 +0800 From: Shawn Guo To: Oliver Graute Cc: Peng Fan , "catalin.marinas@arm.com" , "will@kernel.org" , Anson Huang , "linux-kernel@vger.kernel.org" , "mripard@kernel.org" , "bjorn.andersson@linaro.org" , "dinguyen@kernel.org" , dl-linux-imx , "olof@lixom.net" , Leonard Crestez , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] arm64: defconfig: Change CONFIG_AT803X_PHY from m to y Message-ID: <20191202083838.GE9767@dragon> References: <1572848275-30941-1-git-send-email-peng.fan@nxp.com> <20191126145450.GB5108@optiplex> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191126145450.GB5108@optiplex> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 26, 2019 at 03:54:50PM +0100, Oliver Graute wrote: > On 04/11/19, Peng Fan wrote: > > From: Peng Fan > > > > With phy-reset-gpios are enabled for i.MX8MM-EVK board, phy > > will be reset. Without CONFIG_AT803X_PHY as y, board will stop > > booting in NFS DHCP, because phy is not ready. So mark > > CONFIG_AT803X_PHY from m to y to make board boot when using nfs rootfs. > > > > Signed-off-by: Peng Fan > > --- > > arch/arm64/configs/defconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > index c9a867ac32d4..cd778c9ea8a4 100644 > > --- a/arch/arm64/configs/defconfig > > +++ b/arch/arm64/configs/defconfig > > @@ -285,7 +285,7 @@ CONFIG_SNI_AVE=y > > CONFIG_SNI_NETSEC=y > > CONFIG_STMMAC_ETH=m > > CONFIG_MDIO_BUS_MUX_MMIOREG=y > > -CONFIG_AT803X_PHY=m > > +CONFIG_AT803X_PHY=y > > CONFIG_MARVELL_PHY=m > > CONFIG_MARVELL_10G_PHY=m > > CONFIG_MESON_GXL_PHY=m > > -- > > 2.16.4 > > Hello Peng, > > this patch broke my imx8qm nfs setup. With the generic phy driver my > board is booting fine. But with the AT803X_PHY=y enabled I'am running > into the following phy issue. So on my side it looks inverse as on > yours. What is the best proposal to fix this? So you are saying your Atheros 8035 device works with generic phy driver but not with AT803X_PHY driver? That makes no sense. Did you add phy-reset-gpios property for your device? Shawn > > [ 5.550442] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > [ 5.573206] Sending DHCP requests ...... timed out! > [ 95.339702] IP-Config: Retrying forever (NFS root)... > [ 95.348873] Atheros 8035 ethernet 5b040000.ethernet-1:06: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=5b040000.ethernet-1:06, irq=POLL) > [ 99.438443] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > [ 99.461206] Sending DHCP requests ...... timed out! > [ 174.419639] IP-Config: Retrying forever (NFS root)... > [ 174.428834] Atheros 8035 ethernet 5b040000.ethernet-1:06: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=5b040000.ethernet-1:06, irq=POLL) > [ 178.542418] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > [ 178.565206] Sending DHCP requests ..... > [ 209.261271] random: crng init done > [ 230.565202] . timed out! > [ 260.577340] IP-Config: Retrying forever (NFS root)... > [ 260.586497] Atheros 8035 ethernet 5b040000.ethernet-1:06: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=5b040000.ethernet-1:06, irq=POLL) > [ 264.686438] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > [ 264.709206] Sending DHCP requests ...... timed out! > [ 339.259701] IP-Config: Retrying forever (NFS root)... > [ 339.268835] Atheros 8035 ethernet 5b040000.ethernet-1:06: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=5b040000.ethernet-1:06, irq=POLL) > [ 343.374422] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > [ 343.405206] Sending DHCP requests ...... timed out! > [ 433.171676] IP-Config: Retrying forever (NFS root)... > [ 433.180842] Atheros 8035 ethernet 5b040000.ethernet-1:06: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=5b040000.ethernet-1:06, irq=POLL) > [ 437.294439] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > [ 437.317206] Sending DHCP requests ...... timed out! > [ 509.003660] IP-Config: Retrying forever (NFS root)... > [ 509.012836] Atheros 8035 ethernet 5b040000.ethernet-1:06: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=5b040000.ethernet-1:06, irq=POLL) > [ 513.102416] fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off > > Best Regards, > > Oliver