Received: by 10.213.65.68 with SMTP id h4csp1505039imn; Mon, 19 Mar 2018 06:08:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELu+araWqeI1pGIWuOwCZLtReFMmR6VuBjHQeBoRHksVSFjRezBgDC8PSzy7bcoJHOH6SchG X-Received: by 2002:a17:902:34f:: with SMTP id 73-v6mr12468905pld.55.1521464887198; Mon, 19 Mar 2018 06:08:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521464887; cv=none; d=google.com; s=arc-20160816; b=Ydxi7uJBaPy6e8lS3jZx2e49znzQsenuabnQKsMLTrWF3AIDBXK8lnwSsdeo/bE8xk /TeOj3JAF2ilREVIzfxZ74XJccWfZZlgNcVHpqRb08yitAYrzKXut8ajgV9f5xNJL+zz WJgT5VZWwN752Y4yxCOKoW6iXbVZ3wvIYmh/9L5rWSR/k9o7w2b4eZ2PfA1RZly7gRHP B4nQAb8UmmedH0FSHhh1HkjUqA14Qx2QCifdE549JID77ir/nCmV+FxM9+0q8eaBHqqj LZRVcYjd/p0x4e4qG6X6c5yJuows/jjX7xgMQK6wFkCCiHuGsNaFFWRN/Si2lUipDUnp LE2A== 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:arc-authentication-results; bh=AvfdUglX43xM/IgKnxsWpYNuloqyD5n0JnOv5wWJC3U=; b=f2EJX2vcwwsUv9SPugoK0smPnC/7UEOBCVxQVQL7BoN2jaJQKwcPP6T3Dvpt5b5Ahl pW+qcJshFVxydO835bsbcqbVxFxYluAjL1QREz9cgjuhgTgcYTvIhD9ar/3weG0H1DeV yJY7UKzYhEF8ePtkQ6zQhUQCTn+b8G/0h8k82PhQXQ4E1D9EysWtJJrnv6ksxgO2ui60 V0IpltR0ePn4Puvp0XFHC4ogzbTVoSiptddwIl9nYH0LCPoOFiYxnhCVLN1qi/C6ZIcx fh0jaRIgGWXNq/ZukQPpRUPv6wJ2pC9Qws8GEYrqH/cr9na3YEyAedoNDo/3vt+ggfI+ Eggg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=T+BL2rMg; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2-v6si27965plh.259.2018.03.19.06.07.52; Mon, 19 Mar 2018 06:08:07 -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=@armlinux.org.uk header.s=pandora-2014 header.b=T+BL2rMg; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932989AbeCSNGW (ORCPT + 99 others); Mon, 19 Mar 2018 09:06:22 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:40484 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755506AbeCSNGP (ORCPT ); Mon, 19 Mar 2018 09:06:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=AvfdUglX43xM/IgKnxsWpYNuloqyD5n0JnOv5wWJC3U=; b=T+BL2rMgkAf1IGPvBdG+XM8TdoJ1lt/yNgLx+Jf1SFlUXdJTw5AVkVP3lVHIw2lSeX6sy0dM8nNjzlcuLcIf2CUobBEv4iEWZLzvv2RA/Tzo603XzzSal5Oz5dOtyTqmePiJwp+94RAElQ/XpQv82qp5BoUkcakEHZkrAjA1LM4=; Received: from n2100.armlinux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:4f86]:59295) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1exuUD-0008Ha-BF; Mon, 19 Mar 2018 13:06:01 +0000 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1exuUA-0006iC-Em; Mon, 19 Mar 2018 13:05:58 +0000 Date: Mon, 19 Mar 2018 13:05:57 +0000 From: Russell King - ARM Linux To: Yan Markman Cc: Stefan Chulski , Antoine Tenart , "davem@davemloft.net" , "kishon@ti.com" , "gregory.clement@bootlin.com" , "andrew@lunn.ch" , "jason@lakedaemon.net" , "sebastian.hesselbarth@gmail.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , "maxime.chevallier@bootlin.com" , "miquel.raynal@bootlin.com" , Nadav Haklai , "mw@semihalf.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation Message-ID: <20180319130556.GC2743@n2100.armlinux.org.uk> References: <20180316103351.16616-1-antoine.tenart@bootlin.com> <20180316103351.16616-3-antoine.tenart@bootlin.com> <20180316155307.GQ9418@n2100.armlinux.org.uk> <20180319085252.GF4519@kwain> <20180319111205.GB2743@n2100.armlinux.org.uk> <4e11135ba2644f76beb41a307c9d990a@IL-EXCH01.marvell.com> <2ff0a81f55a84069a4652d02a4212b70@IL-EXCH01.marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ff0a81f55a84069a4652d02a4212b70@IL-EXCH01.marvell.com> 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 Mon, Mar 19, 2018 at 01:01:07PM +0000, Yan Markman wrote: > The DTS-patch for this board (in "old" format) is attached > > > Yan Markman > Tel. 05-44732819 > > > -----Original Message----- > From: Stefan Chulski > Sent: Monday, March 19, 2018 2:58 PM > To: Russell King - ARM Linux ; Antoine Tenart > Cc: davem@davemloft.net; kishon@ti.com; gregory.clement@bootlin.com; andrew@lunn.ch; jason@lakedaemon.net; sebastian.hesselbarth@gmail.com; netdev@vger.kernel.org; linux-kernel@vger.kernel.org; thomas.petazzoni@bootlin.com; maxime.chevallier@bootlin.com; miquel.raynal@bootlin.com; Nadav Haklai ; Yan Markman ; mw@semihalf.com; linux-arm-kernel@lists.infradead.org > Subject: RE: [EXT] Re: [PATCH net-next 02/10] net: phy: phylink: allow 10GKR interface to use in-band negotiation > > > > > There is no inband negotiation like there is with 802.3z or SGMII, > > > > so this makes no sense. > > > > > > Oh, that's what I feared. I read some docs but probably will need > > > more > > > :) > > > > > > Anyway, the reason to use in-band negotiation was also to avoid > > > using fixed-link. It would work but always report the link is up, > > > which for the user isn't a great experience as we have a way to detect this. > > > > > > What would you suggest to achieve this in a reasonable way? > > > > The intention of this test in phylink_of_phy_connect() is to avoid > > failing when there is no requirement for a PHY to be present (such as > > a fixed link, or an 802.3z link.) However, with 10G PHYs such as the > > 3310, we need the PHY so we can read the speed from it, and so know > > whether to downgrade the MAC to SGMII mode, or having downgraded the > > MAC, upgrade it back to 10G mode when the PHY switches to 10G. > > > > I'm guessing that you're wanting this for the DB boards, but I don't see why. > > Do they not have PHYs? > > New Solid Run board MACCHIATObin Single Shot doesn't has 3310 PHY either, like DB boards. > https://www.cnx-software.com/2017/12/20/solidrun-macchiatobin-single-shot-networking-board-launched-for-269-and-up/ Correct, but this DTS is wrong. It connects to a SFP cage, and as SFP cages are supported in mainline now, there's no need to mess around with fixed links or similar. I haven't tested phylink in that configuration yet as SolidRun haven't sent me a SingleShot board yet - and I need any board I do get to have the pull-up resistors on the I2C lines of the correct value, because I'm not risking corruption of the EEPROMs in my SFP* modules. -- 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