Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752821AbbK3Fia (ORCPT ); Mon, 30 Nov 2015 00:38:30 -0500 Received: from mail.karo-electronics.de ([81.173.242.67]:58277 "EHLO mail.karo-electronics.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbbK3Fi3 convert rfc822-to-8bit (ORCPT ); Mon, 30 Nov 2015 00:38:29 -0500 Date: Mon, 30 Nov 2015 06:37:02 +0100 From: Lothar =?UTF-8?B?V2HDn21hbm4=?= To: Andrew Lunn Cc: "David S. Miller" , Fabio Estevam , Kevin Hao , Lucas Stach , Nimrod Andy , Philippe Reynes , Russell King , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Stefan Agner Subject: Re: [PATCH] net: fec: fix enet_out clock handling Message-ID: <20151130063702.22d24834@ipc1.ka-ro> In-Reply-To: <20151130020731.GB32662@lunn.ch> References: <1448631550-943-1-git-send-email-LW@KARO-electronics.de> <20151130020731.GB32662@lunn.ch> Organization: Ka-Ro electronics GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1360 Lines: 34 Hi, > On Fri, Nov 27, 2015 at 02:39:10PM +0100, Lothar Waßmann wrote: > > When ENET_OUT is being used as reference clock for an external PHY, > > the clock must not be disabled while the PHY is active. Otherwise the > > PHY may lose its internal state and require a reset to become > > functional again. > > > > A symptom for this bug is a network interface that constantly toggles > > between UP and DOWN state: > > fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx > > fec 800f0000.ethernet eth0: Link is Down > > fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx > > fec 800f0000.ethernet eth0: Link is Down > > Hi Lothar > > When does this up/down happen? During normal operation when the link > is administrative up? > If booting with NFSROOT the rootfs cannot be mounted, because when the interface is brought up the PHY starts toggling the link state. > When did this start happening? Did it happen before > 8fff755e9f8d net: fec: Ensure clocks are enabled while using mdio bus > No. The behaviour started exactly with this commit. Lothar Waßmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/