Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp435814imp; Wed, 20 Feb 2019 02:55:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IZyFdyi3qaE9Yn+v8SWxxQwGq6o3DlDcHqV5lGvcDQeB3gDmWYXoxFigjIP54C5VC4amSFZ X-Received: by 2002:a62:2ad6:: with SMTP id q205mr34043480pfq.243.1550660135547; Wed, 20 Feb 2019 02:55:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550660135; cv=none; d=google.com; s=arc-20160816; b=c+ubnr3EsMCq8Vxl9s3JOE6SPn+lrj4b0j7LtDKVylYm2JxYzzI4C4SKZpLsfFKhe1 LYFjHdlirxulNlMNRH6myUAoCZmC11yC/izya0kPwfs1+LthLdsmRnMiQfzrlu1DBf+U CGMtnWWOEuctw7RS8D89R/sTACj+sfa1pCCoUT4z5BrIOlPahlkWCGX/ccq/K17zDkfo S0cBW9p0B97vp3aBROJNvNofPlPsJvNbTcvwcb4yC826MENIQh4Btu4qgLBS/F6lLiYB aTJRrqUPNgq5SJ7Hk+3kMZmlbJNOg/sz2U+bQMpeJc4K29rVJKsKiP/TB2Y+Xb//J1UB sHVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=7OAvaP0kGxKsiLtQzZlxVtefYkirMgMqBoFYXJirt/I=; b=YSJ0A6iT8rtjedJS7iL75rAX1hvUFvNXIeCGUvHaSYufDvq7MSCnjpQDOgWOcg9akm ImCBf52dZfJz3xnv2EMY/79WpmfWHU8g1N2ihXSGwJH94NSUnI7Sot4CIIi46dyYI5yv ai+L/1yNZrqEvo8gGScrYvYuGyqpB6o6rrQWlrEUBkICAaTpqDfjiCDDDgzhVY/jmheb nBL3KNWKYKmcGu5WwTcuEESwUvjMKPZUhAn/YXEFBiSUbEJLB2yZMKEamzb9myBfZGZ9 U0SEDlDmGF498OVIdx1ekus7lnOjvJ3L3W6H1QtkcKYHiIDe/WpYb4MomlhLCS2HupNZ mouA== ARC-Authentication-Results: i=1; mx.google.com; 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 1si16556063pln.122.2019.02.20.02.55.20; Wed, 20 Feb 2019 02:55:35 -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; 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 S1727723AbfBTKy2 (ORCPT + 99 others); Wed, 20 Feb 2019 05:54:28 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:50755 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfBTKy2 (ORCPT ); Wed, 20 Feb 2019 05:54:28 -0500 X-Originating-IP: 90.88.23.190 Received: from bootlin.com (aaubervilliers-681-1-81-190.w90-88.abo.wanadoo.fr [90.88.23.190]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 2F59B4001E; Wed, 20 Feb 2019 10:54:22 +0000 (UTC) Date: Wed, 20 Feb 2019 11:54:21 +0100 From: Maxime Chevallier To: Russell King - ARM Linux admin Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Florian Fainelli , Heiner Kallweit , 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 07/10] net: phy: marvell10g: Add support for 2.5GBASET Message-ID: <20190220115421.588aa5d9@bootlin.com> In-Reply-To: <20190207234824.dhynfaglfxllxhei@shell.armlinux.org.uk> References: <20190207094939.27369-1-maxime.chevallier@bootlin.com> <20190207094939.27369-8-maxime.chevallier@bootlin.com> <20190207234824.dhynfaglfxllxhei@shell.armlinux.org.uk> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Russell, On Thu, 7 Feb 2019 23:48:24 +0000 Russell King - ARM Linux admin wrote: >On Thu, Feb 07, 2019 at 10:49:36AM +0100, Maxime Chevallier wrote: >> The Marvell Alaska family of PHYs supports 2.5GBaseT and 5GBaseT modes, >> as defined in the 802.3bz specification. >> >> When the link partner requests a 2.5GBASET link, the PHY will >> reconfigure it's MII interface to 2500BASEX. >> >> At 5G, the PHY will reconfigure it's interface to 5GBASE-R, but this >> mode isn't supported by any MAC for now. >> >> This was tested with : >> - The 88X3310, which is on the MacchiatoBin > >Hi Maxime, > >Looking deeper at this, I think we actually need an additional patch at >the beginning of your series. > >The default AN advertisement in 7.32 is 0x1181 - which includes the >2.5G and 5G modes. We need to clear these bits, so that when the 10G >mode disabled via ethtool, we do not switch to 2.5G or 5G speed (both >of which are not currently reported as supported.) Such a patch needs >backporting to stable kernels. Good catch. The issue seems fixed by Andrew's patch : 3de97f3c6308 ("net: phy: marvell10g: use genphy_c45_an_config_aneg") However, the fix should indeed be backported to the -stable trees, I've been able to repdocude this on 4.20. I'll take care of sending a patch to -net for that. Thanks for reporting this, Maxime