From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2175AC04AA7 for ; Tue, 14 May 2019 01:16:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7D092085A for ; Tue, 14 May 2019 01:16:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="feNSXGCw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7D092085A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=mentor.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ex6rjp7s81jQRUJc5okBJoHp83EsoRvL5arS3fafKKs=; b=feNSXGCwBZZX48 6TOFpURsl2ZWlpOZOochZn4dCDgj7ntXBs4zZM2wtiwq+ih4JuRAIGlMsagTThlB+iK7jI0oGpzF+ H+ZOEpPqsuehVE3WvL5xjNXfc2rAoeRsran9Pwyd3eeX5OVuoc8A055kuDdNvd9YWwmRlYO9b8ArR Z4QO8vdWyolizq0o/wOL+J80HqEfKjp1MVcvd4L2+XRANUUf7ErSeQkpPkOdvDQme0JiMqj2260m5 H36Ss5dBDmsUcJODmdlq4bQXRxTggXq6eSPs01Ifey9TPLlaA9sSZdFQQ6cuS6L/QH6ArlUaKn7rm 1AOwxvnWtdZOc0lDEnXw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQM3N-0004Cz-4b; Tue, 14 May 2019 01:16:25 +0000 Received: from relay1.mentorg.com ([192.94.38.131]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQM3J-0004Cc-MR for linux-arm-kernel@lists.infradead.org; Tue, 14 May 2019 01:16:23 +0000 Received: from svr-orw-mbx-01.mgc.mentorg.com ([147.34.90.201]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1hQM39-0004Ny-44 from George_Davis@mentor.com ; Mon, 13 May 2019 18:16:11 -0700 Received: from localhost (147.34.91.1) by svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 13 May 2019 18:16:08 -0700 Date: Mon, 13 May 2019 21:16:07 -0400 From: "George G. Davis" To: Sasha Levin Subject: Re: [PATCH v3] ARM: dts: imx: Fix the AR803X phy-mode Message-ID: <20190514011606.GA18528@mam-gdavis-lt> References: <20190403221241.4753-1-festevam@gmail.com> <20190513171826.GA18591@mam-gdavis-lt> <20190514004539.GG11972@sasha-vm> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190514004539.GG11972@sasha-vm> User-Agent: Mutt/1.5.24 (2015-08-30) X-ClientProxiedBy: svr-orw-mbx-02.mgc.mentorg.com (147.34.90.202) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190513_181621_732770_8DD0810E X-CRM114-Status: GOOD ( 20.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@lunn.ch, baruch@tkos.co.il, Fabio Estevam , ken.lin@advantech.com, stable@vger.kernel.org, smoch@web.de, stwiss.opensource@diasemi.com, linux-imx@nxp.com, kernel@pengutronix.de, aford173@gmail.com, Marc Kleine-Budde , shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 13, 2019 at 08:45:39PM -0400, Sasha Levin wrote: > On Mon, May 13, 2019 at 01:18:27PM -0400, George G. Davis wrote: > >Hello, > > > >On Wed, Apr 03, 2019 at 07:12:41PM -0300, Fabio Estevam wrote: > >>Commit 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode") > >>exposed an issue on imx DTS files using AR8031/AR8035 PHYs. > >> > >>The end result is that the boards can no longer obtain an IP address > >>via UDHCP, for example. > >> > >>Quoting Andrew Lunn: > >> > >>"The problem here is, all the DTs were broken since day 0. However, > >>because the PHY driver was also broken, nobody noticed and it > >>worked. Now that the PHY driver has been fixed, all the bugs in the > >>DTs now become an issue" > >> > >>To fix this problem, the phy-mode property needs to be "rgmii-id", which > >>has the following meaning as per > >>Documentation/devicetree/bindings/net/ethernet.txt: > >> > >>"RGMII with internal RX and TX delays provided by the PHY, the MAC should > >>not add the RX or TX delays in this case)" > >> > >>Tested on imx6-sabresd, imx6sx-sdb and imx7d-pico boards with > >>successfully restored networking. > >> > >>Based on the initial submission from Steve Twiss for the > >>imx6qdl-sabresd. > >> > >>Signed-off-by: Fabio Estevam > >>Tested-by: Baruch Siach > >>Tested-by: Soeren Moch > >>Tested-by: Steve Twiss > >>Tested-by: Adam Thomson > >>Signed-off-by: Steve Twiss > >>Tested-by: Marc Kleine-Budde > >>Signed-off-by: Marc Kleine-Budde > >>--- > >>Changes since v2: > >>- Also fixed imx6q-ba16 > >>- Removed stable tag as it does not apply cleanly on older > >>stable trees. I can manually generate versions for stable > >>trees after this one hits mainline. > > > >Please add this commit to the v5.1.x stable queue to resolve NFS root breakage > >in v5.1. I can confirm that it applies cleanly to v5.1.1 and resolves NFS root > >breakage that occurs on i.MX6 boards in v5.1.x, tested on imx6q-sabreauto.dts > >and imx6q-sabresd.dts. Although the fix should be backported to pre-v5.1.x > >stable series as well, it does not cause problems for pre-v5.1 but results in > >NFS root breakage for v5.1.x. > > What's the commit id in Linus's tree? I don't see it. Er, um, sorry, it was deferred to linux-next commit 68e9c97161b3 ("serial: sh-sci: disable DMA for uart_console"), which quite frankly rather annoyed me personally since linux-next commit 68e9c97161b3 is required to fix a regression caused by v5.1 commit 6d4cd041f0af. In my opinion, linux-next commit 68e9c97161b3 really should have been pushed to the v5.1 release, earlier, due to the noted regression, but I'm happy to wait for linux-next commit 68e9c97161b3 to make it to Linus's tree before propagating it to linux-stable. Meanwhile, I wanted to let you know that v5.1.x is rather broken, in this regard, on i.MX6 as-is for now. > > -- > Thanks, > Sasha -- Regards, George _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel