Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3551357ybl; Mon, 27 Jan 2020 06:10:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyXCEifP2IRBQG+K+UyDcWyc5We57PqcnqFjfFQTK0qhqu9FVdNhnj0qCC9hUN5wJ3V3HYl X-Received: by 2002:aca:45c1:: with SMTP id s184mr7771446oia.158.1580134207611; Mon, 27 Jan 2020 06:10:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580134207; cv=none; d=google.com; s=arc-20160816; b=RGd/2LHcKnEgOxM679eTxUkgsxw/N9/fn7LU9gZKXgP1XrxGHWjXnjM66Pj59s0oiV do6z6yPO8xb3ETbqtNoiSKzEgKpquGFW8IV9LX1HLpV4NUbyH3O1J7ZGUj8w9LG9SYvR kHzItP7WaNRVDvD7cz8XX7UeFBdKhS9wCsZY1ZR3BInvMb/UU4zvJ+DdhUMTvkVOa/QF wVZ7eJ0rPAgwGADOFyZaWfXKz4pBUL6PhSKQPdX6Osu/gQ17R/Yn68C+INPEVOuHVQD/ EgL7rZJWOCO4SWh3T4DuV8G15IuxHKqhE8CoAe4kr6SqBSnoD97K2w7xNBaH0bS6uwsc ik7A== 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=WNZMMHq/DEgG2TAGsW1GLa13iz6G/nCCbL9fpHEwYPE=; b=t/WxhHlOj31XNrfieWsCnT7sznbPm8OrKg2yR6nnhlnBkZgASdq0Zz5Tz/aJ9mPA+s xqcrqoqAbjAixYdHjJmF8L3D5njVMKPSUrQwBpxEPrhuduardf7Pn65m2AijGDoKTPQN xnprFbqdQeKXgXmsmhSjpVDCsoF8KnvRm3imaLrzORjYWaJnR1Us9GfImU4BokM6mG+B I8RyRd6n8c+NlGiv5dmm8Y9mvAC0z7Myv9Yd+E+Wa3nPSxOXaFk8bGuVz6VsBDt60hAK HCknnUCNvMmAZQkYNJVPlmPMsC//kCaxcozMIHuh5itCuTvec7O+Uz4DT6F21swbKHCO VEng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=FJji4eBD; 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 c14si3471455otn.118.2020.01.27.06.09.54; Mon, 27 Jan 2020 06:10:07 -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 (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=FJji4eBD; 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 S1728760AbgA0OIq (ORCPT + 99 others); Mon, 27 Jan 2020 09:08:46 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:36640 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbgA0OIp (ORCPT ); Mon, 27 Jan 2020 09:08:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=WNZMMHq/DEgG2TAGsW1GLa13iz6G/nCCbL9fpHEwYPE=; b=FJji4eBDh1ncH1ZpXMPgURV3X dj1fYyBWuwF70IsvJrIIE8pTPyUYE0/omNoeZ6ZFi9f1KcaYnYyi0SXUDRN+3PG8Vsa0EuD0Vr2Q7 qGOZeb1BzO9bhPdcEhw0pyqm0qABjwayRlhAJ89aF9NweV2ti36BDhvY8dJOyEcp8+/NLoi5Fm3QW sqo5Hs14PuNUyI9zILJIq24F3qvL3hjBYtsgl5/EjFAoGnZdTVN4p9+01ynjloljDjTG+W7zjWbUd xa5oblOkpcDijdJ4uxP9XT/tEQgWsj4JYbmuS7oq/bDW+lVFqAnNtG4bc3uuNFSV7NREbZVHYEP5p rG+EnFRcg==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:39866) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1iw54A-0001kz-Ej; Mon, 27 Jan 2020 14:08:38 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1iw546-0001SA-KA; Mon, 27 Jan 2020 14:08:34 +0000 Date: Mon, 27 Jan 2020 14:08:34 +0000 From: Russell King - ARM Linux admin To: Andrew Lunn Cc: Jose Abreu , "netdev@vger.kernel.org" , Joao Pinto , Giuseppe Cavallaro , Alexandre Torgue , "David S. Miller" , Jakub Kicinski , Maxime Coquelin , Florian Fainelli , Heiner Kallweit , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC net-next 6/8] net: phylink: Configure MAC/PCS when link is up without PHY Message-ID: <20200127140834.GW25745@shell.armlinux.org.uk> References: <9a2136885d9a892ff170be88fdffeda82c778a10.1580122909.git.Jose.Abreu@synopsys.com> <20200127112102.GT25745@shell.armlinux.org.uk> <20200127114600.GU25745@shell.armlinux.org.uk> <20200127140038.GD13647@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200127140038.GD13647@lunn.ch> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 27, 2020 at 03:00:38PM +0100, Andrew Lunn wrote: > > Yes, I realise that, but it comes with the expense of potentially > > breaking mvneta and mvpp2, where the settings are automatically > > passed between the PCS and MAC in hardware. I also believe DSA > > works around this, and I need to look at that. > > Hi Russell > > The mv88e6xxx driver has code for when SGMII is used. It transfers the > negotiated speed from the PCS to the MAC. > > But it recently turned out something like this is also needed for > other link modes involving the SERDES. It used to work, i think > because Phylink would initially configure the MAC approximately right, > or the mv88e6xxx driver was looking at phylink state it should not. > But it no longer works. Can you give a hint which platform this is and how to reproduce it please? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up