Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2637115imc; Sat, 23 Feb 2019 07:41:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IYMWXpTjGvqyTs2a0jqzFHvT6wlBSJgSkvubSpp+w7/38LOOM+GkJS+kyJD137MJKDqYKSm X-Received: by 2002:a62:e719:: with SMTP id s25mr9883606pfh.12.1550936511034; Sat, 23 Feb 2019 07:41:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550936511; cv=none; d=google.com; s=arc-20160816; b=jtglq2eVCGmeqOhjDtWkYJ/x1F4xK9nAc8M1eNSeBGhvfFQLz8DC0FOEaF9pK5Kyfx YD7X522AzZRh4sawCQShGriVsEoO49mIq0+kbcZaABgMDBe3QnHdmMhF0meywKHH9/Av 6/u/9y5kjQCBT7lQnIpXPGougwMAUxDkOIanbmccZfTEqqrIL6ZmBTUJ3UMk635F41Cj qFZB5GQieHbQdvIKJ44M3Nr0E3qK961xINV/5/mhA5k6VENF9TudUi5/oA0IXlvKX4/q rB3Z6XWmtWukSFUMg3RbBjSPF+UtITZ5ta1GaizNsXnwfuRY6SHlzN/LnNCx23atMmqH fFdQ== 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=jlZLZsViRFGl/A+TAQDwkrwFi2a68DNaZ30qwnrb0Nk=; b=dEOpf9awQEP0wzUrGQGxXaEHyyChw4btgVYdeDrYXpqbywwMczwoT3DK8KVIcX3i6k OfWvV4Y3H+rVaGa91w6zDEIGzOhLj1ZfF7Fr3Db7MJbkPSdn2s2EiV9h++qFKJIPGnRe UhUNWd+xHPL+3HAFKk7X0lOB5GzdHuCFQX8E0+w2PXb+JHJ3XY3V/ba5by4fHLH1uYN2 eoPVCF4XFgnoL0F0tKpdspYi07ph+2GSxRK7fUXFCOYpOet31qGgzuCdwc7Rfe08aSsZ BNYaQ60stNWZdLxjpJGTmE/9Jc1MqcSJXnbol5i9qFaH2sNSlkUtjwDcvywnh2SDAqB7 jcNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=TtVtu93n; 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 72si3997992pla.218.2019.02.23.07.41.35; Sat, 23 Feb 2019 07:41:51 -0800 (PST) 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=TtVtu93n; 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 S1726430AbfBWPky (ORCPT + 99 others); Sat, 23 Feb 2019 10:40:54 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:36181 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725859AbfBWPkx (ORCPT ); Sat, 23 Feb 2019 10:40:53 -0500 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=jlZLZsViRFGl/A+TAQDwkrwFi2a68DNaZ30qwnrb0Nk=; b=TtVtu93ndSRC49hMbmyyQtGgBI 4rNA2T4gkPL5AQNaRgEXZZUcPLovuLu4Z3m0wchjTK1qIEsqxKnhZPG/bEI6bvuGzbiQdGIrRZRyy LyAzUakkG+zY9MlW50HS2Vq16G4EwNkJBgqZQh3uv63CXNVsECWB1kAAscP1Ht+PFoOc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gxZQ3-0003uF-BT; Sat, 23 Feb 2019 16:40:51 +0100 Date: Sat, 23 Feb 2019 16:40:51 +0100 From: Andrew Lunn To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Antoine Tenart , thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com Subject: Re: [PATCH net-next v2 5/7] net: phy: marvell10g: Force reading of 2.5/5G Message-ID: <20190223154051.GJ10693@lunn.ch> References: <20190222233744.25735-1-maxime.chevallier@bootlin.com> <20190222233744.25735-6-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190222233744.25735-6-maxime.chevallier@bootlin.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 Sat, Feb 23, 2019 at 12:37:42AM +0100, Maxime Chevallier wrote: > As per 802.3bz, if bit 14 of (1.11) "PMA Extended Abilities" indicates > whether or not we should read register (1.21) "2.52/5G PMA Extended > Abilities", which contains information on the support of 2.5GBASET and > 5GBASET. > > After testing on several variants of PHYS of this family, it appears > that bit 14 in (1.11) isn't always set when it should be. > > PHYs 88X3310 (on MacchiatoBin) and 88E2010 do support 2.5G and 5GBASET, > but don't have 1.11.14 set. Their register 1.21 is filled with the > correct values, indicating 2.5G and 5G support. > > PHYs 88E2110 do have their 1.11.14 bit set, as it should. > > Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Andrew