Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935343AbdIYMOG (ORCPT ); Mon, 25 Sep 2017 08:14:06 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:34476 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934655AbdIYMOD (ORCPT ); Mon, 25 Sep 2017 08:14:03 -0400 Date: Mon, 25 Sep 2017 13:13:43 +0100 From: Russell King - ARM Linux To: Antoine Tenart Cc: davem@davemloft.net, andrew@lunn.ch, gregory.clement@free-electrons.com, thomas.petazzoni@free-electrons.com, miquel.raynal@free-electrons.com, nadavh@marvell.com, linux-kernel@vger.kernel.org, mw@semihalf.com, stefanc@marvell.com, netdev@vger.kernel.org Subject: Re: [PATCH net-next] net: mvpp2: phylink support Message-ID: <20170925121343.GO20805@n2100.armlinux.org.uk> References: <20170921134522.10993-1-antoine.tenart@free-electrons.com> <20170922110731.GG20805@n2100.armlinux.org.uk> <20170925095514.GA19364@kwain> <20170925104532.GN20805@n2100.armlinux.org.uk> <20170925115303.GC19364@kwain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170925115303.GC19364@kwain> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1197 Lines: 23 On Mon, Sep 25, 2017 at 01:53:03PM +0200, Antoine Tenart wrote: > On Mon, Sep 25, 2017 at 11:45:32AM +0100, Russell King - ARM Linux wrote: > > Can you describe what the GoP link IRQ is doing please? > > In cases where there is no PHY connected to the MAC and no SFP cage is > used. One example is when a SOHO switch is connected directly to a > serdes lane. In such cases we still need to have a minimal link > management. The GoP link interrupt helps doing so as it raises when the > serdes is in sync and AN succeeded. Isn't this just like a fixed link scenario, or an in-band autonegotiation scenario (both of which phylink supports natively)? The situation on Clearfog with the 88E6176 switch is pretty similar - a switch connected directly via serdes to the MAC. Currently, we configure stuff there as a fixed link, but in actual fact the 88E6176 is configured to run the CPU facing port in 1000base-X mode, and with appropriate tweaks, switching phylink to 1000base-X mode also works. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up