Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp234953pxu; Wed, 7 Oct 2020 01:26:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2KKoYElx6J/0lg9Gy1DLty5w8HYeLHe71NrjedKegSPmonJSk3TdKXYo1fQdgzBAmembM X-Received: by 2002:aa7:d992:: with SMTP id u18mr2320799eds.284.1602059217876; Wed, 07 Oct 2020 01:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602059217; cv=none; d=google.com; s=arc-20160816; b=yYmUMtlkSdpf3h32soXQ3V4i/oKXfQ9i1jG3bfcehKnvoh0DDDfhGpAqcJvT5igQ2J Buzt4PFgmPgJaeQhepE6bJlUqQ/cFNrJmJIfi1MGY6ON8uG08k7sSBO3sXLVdJkbayPE hcJAzBd5Th5ZCdI/Yd4Dcv0K3KXFMd0X/EiYTvVAgUBoRghWX6NqCl8hgbJ2DZ0AMLXR 2lAdoPGmFytgiT6rdqIgXJcEAkQVNpu/6Pjwx97xmw44nJrPmxiopKBcsiTLlfIyqHQf eGc3dPjlcSj/oTAQjRHHfzyClyMFdm8SkVDIyQMsxcfo//aWfZJNGy3aRQAgM+Ma9gQ7 0RQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=HobsLVAFtaeZzkKK7MRkt1DSi3LgVh5gIsZytrX6oqY=; b=gugGDiBBe9Fd7hB1nHuiuBgbEdr0/fAp2p7ERjHPlCewQS7329sElXAZzko/Fr5IYc nm8LYYwOeqQtPQ0+e/UHZsK1wsJX3TuxIVYGn1f/vnzqw+sUTP3H2XLmYm0Dvo/mJNp0 Pg8tISPkKOvQ3r3py/D10xYEIQJKVtl4HMvvpRs0IjgkVitH8vcknmAfgvBeMn/+kk8G h1T8YvaStHNESxdUIhXrGrhj7dxnEyExtWhuJ+EPvcUMQ9FKjLgEAW/ZLHopEtNDVNVT wVrmefGgsxpVPkZOSE8GjYwo2iVpnhM3z2Ni9VnEJCze6L+YGGbS0ZS9pRRSQt8df4wd WPAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si912547edw.305.2020.10.07.01.26.34; Wed, 07 Oct 2020 01:26:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727841AbgJGIOT (ORCPT + 99 others); Wed, 7 Oct 2020 04:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726463AbgJGIOS (ORCPT ); Wed, 7 Oct 2020 04:14:18 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821D5C061755 for ; Wed, 7 Oct 2020 01:14:18 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQ4aR-0003Yj-DZ; Wed, 07 Oct 2020 10:14:11 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kQ4aQ-0007hj-72; Wed, 07 Oct 2020 10:14:10 +0200 Date: Wed, 7 Oct 2020 10:14:10 +0200 From: Marco Felsch To: Florian Fainelli Cc: Marek Vasut , Oleksij Rempel , Andrew Lunn , netdev@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, mkl@pengutronix.de, kernel@pengutronix.de, David Jander Subject: Re: PHY reset question Message-ID: <20201007081410.jk5fi6x5w3ab3726@pengutronix.de> References: <20201006080424.GA6988@pengutronix.de> <2cc5ea02-707e-dbb5-c081-4c5202bd5815@gmail.com> <42d4c4b2-d3ea-9130-ef7f-3d1955116fdc@denx.de> <0687984c-5768-7c71-5796-8e16169f5192@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0687984c-5768-7c71-5796-8e16169f5192@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 10:07:33 up 326 days, 23:26, 362 users, load average: 0.15, 0.21, 0.14 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marek, On 20-10-06 14:11, Florian Fainelli wrote: > On 10/6/2020 1:24 PM, Marek Vasut wrote: ... > > If this happens on MX6 with FEC, can you please try these two patches? > > > > https://patchwork.ozlabs.org/project/netdev/patch/20201006135253.97395-1-marex@denx.de/ > > > > https://patchwork.ozlabs.org/project/netdev/patch/20201006202029.254212-1-marex@denx.de/ > > Your patches are not scaling across multiple Ethernet MAC drivers > unfortunately, so I am not sure this should be even remotely considered a > viable solution. Recently I added clk support for the smcs driver [1] and dropped the PHY_RST_AFTER_CLK_EN flag for LAN8710/20 devices because I had the same issues. Hope this will help you too. [1] https://www.spinics.net/lists/netdev/msg682080.html Regards, Marco