From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,URIBL_DBL_ABUSE_MALW,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 501C6C2D0DB for ; Mon, 27 Jan 2020 14:09:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 225C821739 for ; Mon, 27 Jan 2020 14:09:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="X031TN7a"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="FJji4eBD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 225C821739 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MbkjRMjAm69Zt5BcgWx0KMcL9I/UFToNWi3kTCEmYjk=; b=X031TN7aNmCysD yWrrUmlH5zfUVHQmq88CTQQDWIcBrDFlKBn1qJmK9LNgOXzBVvi2ff8MKU1h+m56OENlb8ECstOMR Y/Gr9cK0l1DF0OKRaheIPpsPl9RC0LZTtPRO2nJmCGAV3ZOUSrsC6ZEzYbdNjT+0M3q0QKQfT9Mm2 4FM5b7EeeeH4ilbEDIuqwzr4LvMSO3lZ6bPAoDvAMunTj87qbEXtbywEa0A1MkNVgIvXXsQ9MNUjO +0yvp3HQ2mpIgF4fqv1iCaLsWt02vn1FcdWTJh7KgvZ7Lp4ZZHm/cjfQ9Leb88apaOR8ZolttLIX5 RxcoINEXgkcDvNifRx2Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iw54c-0000xg-Pw; Mon, 27 Jan 2020 14:09:06 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iw54V-0000qm-1U for linux-arm-kernel@lists.infradead.org; Mon, 27 Jan 2020 14:09:00 +0000 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 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-Disposition: inline In-Reply-To: <20200127140038.GD13647@lunn.ch> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200127_060859_116273_6488A2D2 X-CRM114-Status: GOOD ( 13.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jose Abreu , Joao Pinto , Alexandre Torgue , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , Florian Fainelli , Maxime Coquelin , Jakub Kicinski , Giuseppe Cavallaro , "David S. Miller" , "linux-arm-kernel@lists.infradead.org" , Heiner Kallweit Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel