Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3207405ybe; Sun, 15 Sep 2019 09:55:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxq/gk6Yiy9GRNubLatq2rSsUMJBRlvY93fR0qk7MdmwnulWgvN/AZO8SHMU3Wu7pLdYKJ6 X-Received: by 2002:a50:ab83:: with SMTP id u3mr11260800edc.228.1568566506654; Sun, 15 Sep 2019 09:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568566506; cv=none; d=google.com; s=arc-20160816; b=Nk2ce5cwcW92V9ODtGFxPmISkfzEla50T0Yi7PH2MzFJu2/YzcGnI/PeglqZao8fzQ 7wvHPAtm7rYMbX37QDQYvXLVDtLYxy7ZmMAUdclXE+az+iF295WOttipgpL+eyVO80eJ XA9m9GG09qFQ5z2eKTclin3fSNyppNyKO9ARcY3tD6jV61Homz3OOp8Yi21l0bFyPWWA nLzPJMpi/CP5Or03sNmYuIA2lnOl+/qG9FZ8zYb4iC7oHVX4Fk1Si9/EUzlHjy+hZ0Ai eiOLynRubpEAITLmrdTcxvYIlnpT8fKBeRk4s907wN9YzhFi0UbFdryhyWGgHrMaCbSZ gMdA== 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=xMf0N4K2EgA3OUVay8T7uJqPe+W0bKJBfCqBZvUVfYk=; b=PMLQQe7VqGRqKVqLXaMkvtqA63y2CiTR4ZLN81Jb1C1iWm8FxvjkT6e8zcmgycLnfa JaXuTVx2fZHNIZww++dRcuL5NUNVSNhAFkafG6BQPuDbi6dTphsn+xwHFfThbf9i1Ucc yA2OM+wnpxjwNIsiZYYpKPUSv+yPjPZ3tKsvqLm8AvJ10wgGOlPagXCcvrksLYhVv0P+ IpribtB4TYDgrPF9f7hfX1zfnI9NqnCZqrmv//3Dm72bzrj+xMEjh9G23FBt/rNtd0Q2 nPVAUBiIPTqB6Baz0OvQHbnjb0zXNXRSEzRxYJA1Bw8ra+kd2AiORhx68r+22cYhb8qc KCTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=O4qJeJ59; 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 z20si14738518edq.250.2019.09.15.09.54.43; Sun, 15 Sep 2019 09:55:06 -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=O4qJeJ59; 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 S1731744AbfIOOm6 (ORCPT + 99 others); Sun, 15 Sep 2019 10:42:58 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:46944 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbfIOOm5 (ORCPT ); Sun, 15 Sep 2019 10:42:57 -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=xMf0N4K2EgA3OUVay8T7uJqPe+W0bKJBfCqBZvUVfYk=; b=O4qJeJ59kDtv4wGtvnnVT6JpDi Y3WowKRfuE2WOGLv7wp6e0j6GymzHYw9dMik4XLOXSRz41wglcLbJb9vWvFUVjWeshj6a9TyKadcm +4xYbG+lBAYY0e3bWcFszP0eZOERrelUw0C0dFIX3q7Jo/bw6WaH6JzkLPUEd32MAXIk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1i9Vjo-0004Wx-AG; Sun, 15 Sep 2019 16:42:52 +0200 Date: Sun, 15 Sep 2019 16:42:52 +0200 From: Andrew Lunn To: Russell King - ARM Linux admin Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Baruch Siach , Fabio Estevam , Sascha Hauer , tinywrkb , open list , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed Message-ID: <20190915144252.GA17261@lunn.ch> References: <20190910155507.491230-1-tinywrkb@gmail.com> <20190910185033.GD9761@lunn.ch> <87muf6oyvr.fsf@tarshish> <20190915135652.GC3427@lunn.ch> <20190915140639.GC25745@shell.armlinux.org.uk> <20190915141552.GD25745@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190915141552.GD25745@shell.armlinux.org.uk> 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 > > OF: fdt: Machine model: SolidRun HummingBoard Solo/DualLite > > ... > > # ethtool eth0 > > Settings for eth0: > > Supported ports: [ TP MII ] > > Supported link modes: 10baseT/Half 10baseT/Full > > 100baseT/Half 100baseT/Full > > 1000baseT/Full > > 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 > > 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: 1000Mb/s > > Duplex: Full > > Port: MII > > PHYAD: 0 > > Transceiver: internal > > Auto-negotiation: on > > Supports Wake-on: d > > Wake-on: d > > Link detected: yes > Note that the FEC does *not* support 1000baseT/Half. Hi Russell fec_main.c has code to mask it out. And it is not listed in the modes you have above. So as you say, this all looks to be working. I'm wondering if there is an older variant of the hardware with 100Mbps magnetics, and the boot loader is setting something in the PHY? It could be we are now stomping over that? We need to see output like yours, but on a device which is experiencing the problem. Andrew