Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5292871ybe; Tue, 17 Sep 2019 05:59:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyheRHUjBMH8AzrNSvpPfd6o78lpDK5zl9cRCTP+4OyP0oCqZZU1Dy1vRBN1KRCvMtheDkn X-Received: by 2002:a17:906:1995:: with SMTP id g21mr4656785ejd.226.1568725163739; Tue, 17 Sep 2019 05:59:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568725163; cv=none; d=google.com; s=arc-20160816; b=EYmJ8ystUrISsLMLbl9/Mc/3fP77GLJYslmdGHnnp/zriY6ZGGwH0htrMjZYYgGjzw VQrpWODeE/8Ra5H7ZI942TUguViCUdS3LIK+8eCx5puTmgo8yT/1Gqe8Yzws5+QR28CT OTE2jopXtG6P6taBSa38qt2hpBDevblxJZjY+ujBgcEgYbEPvMiFSe927L1rvJKn7Jdh vJDS632seoZCp7FtE28Qs4GARU6nD3KPz558ctzVecg7gKTbe5wrPHLLuqqo/DqGbU1O PXmfkyp2K3cNLsOKE3Nx4SSgGCZawRLVc1GGb1fIbfkG7dOqRPPBnLu5dyCcd6UHIeo7 0jPQ== 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=53HEgi+72KwpP9sgsXsDmzVZkyS10sCz71cZFT+AAfk=; b=F8UT2W4rESyU1Gu+nqxRC/P0+ML2286/5nI3ik3Lv1T9wS6yA9NXLoUI/nVZhsgYOb rfuY8SkVgKfVU1rU+9+ijoEPy6uJ826gthfoFPPGWLFfTHTqQWq7gBgsnQAoJEoTiDvO QH11rdK7g8udr96xe54fCfzFm2bHbQCcHlVCMRc5EliyhSnCgT+x3zKg524nmJE7oJsW 9Uvvsk9vz2SFkpXxJTIgQkn71HlJwrDyN5xiag5mhnMiW+l0+HQPly4rQYDWMq0FQ8N4 nEA0pL35ZoiMfmE2F4ZSePo0zRayVOKE13+jU9uOZhYxfHnAFv80+/MnmcW7lh7MThvT eTsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=Hv2zeqGH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gv10si1030491ejb.398.2019.09.17.05.58.59; Tue, 17 Sep 2019 05:59:23 -0700 (PDT) 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=fail header.i=@lunn.ch header.s=20171124 header.b=Hv2zeqGH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727927AbfIQMyl (ORCPT + 99 others); Tue, 17 Sep 2019 08:54:41 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50458 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfIQMyl (ORCPT ); Tue, 17 Sep 2019 08:54:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=53HEgi+72KwpP9sgsXsDmzVZkyS10sCz71cZFT+AAfk=; b=Hv2zeqGHZl58IobfJJXo7ZMRQ4 32JsM7SK/VJ2h1fe0KuOAIZdw2fZ4U8nin5av2mdlNwqSITfVtkzlY5EQJ/4dM4c0hCNrbIGh19J8 HclRUpAbE1miLccGX+a0F6uJ996GQ7Yt01oaFVLT61v7hBgxoGDbAfEY6jfkLHxJSiA8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1iAD06-0000w9-Vu; Tue, 17 Sep 2019 14:54:34 +0200 Date: Tue, 17 Sep 2019 14:54:34 +0200 From: Andrew Lunn To: tinywrkb Cc: Baruch Siach , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Shawn Guo , Sascha Hauer , Russell King , open list , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed Message-ID: <20190917125434.GH20778@lunn.ch> References: <20190910155507.491230-1-tinywrkb@gmail.com> <20190910185033.GD9761@lunn.ch> <87muf6oyvr.fsf@tarshish> <20190915135652.GC3427@lunn.ch> <20190917124101.GA1200564@arch-dsk-01> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917124101.GA1200564@arch-dsk-01> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 17, 2019 at 03:41:01PM +0300, tinywrkb wrote: > On Sun, Sep 15, 2019 at 03:56:52PM +0200, Andrew Lunn wrote: > > > Tinywrkb confirmed to me in private communication that revert of > > > 5502b218e001 fixes Ethernet for him on effected system. > > > > > > He also referred me to an old Cubox-i spec that lists 10/100 Ethernet > > > only for i.MX6 Solo/DualLite variants of Cubox-i. It turns out that > > > there was a plan to use a different 10/100 PHY for Solo/DualLite > > > SOMs. This plan never materialized. All SolidRun i.MX6 SOMs use the same > > > AR8035 PHY that supports 1Gb. > > > > > > Commit 5502b218e001 might be triggering a hardware issue on the affected > > > Cubox-i. I could not reproduce the issue here with Cubox-i and a Dual > > > SOM variant running v5.3-rc8. I have no Solo/DualLite variant handy at > > > the moment. > > > > Could somebody with an affected device show us the output of ethtool > > with and without 5502b218e001. Does one show 1G has been negotiated, > > and the other 100Mbps? If this is true, how does it get 100Mbps > > without that patch? We are missing a piece of the puzzle. > > > > Andrew > > linux-test-5.1rc1-a2703de70942-without_bad_commit > > Settings for eth0: > Supported ports: [ TP MII ] > Supported link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Full So this means the local device says it can do 1000Mbps. > Supported pause frame use: Symmetric > Supports auto-negotiation: Yes > Supported FEC modes: Not reported > Advertised link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Full The link peer can also do 1000Mbps. > Advertised pause frame use: Symmetric > Advertised auto-negotiation: Yes > Advertised FEC modes: Not reported > Link partner advertised link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Full > Link partner advertised pause frame use: Symmetric > Link partner advertised auto-negotiation: Yes > Link partner advertised FEC modes: Not reported > Speed: 100Mb/s Yet they have decided to do 100Mbps. We need to understand Why? The generic PHY driver would not do this on its own. So i'm thinking something has poked a PHY register with some value, and this patch is causing it to be over written. Please can you use mii-tool -v -v to dump the PHY registers in each case. Thanks Andrew