Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3854638pxb; Mon, 8 Feb 2021 01:39:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyeezuOBVFNCqj6lBZuM+iGQfFWgjSFFKYxTV5H9f1cN+lxi/nUh1e94Y9KIiMLu7s67FM8 X-Received: by 2002:a50:ec8f:: with SMTP id e15mr16278133edr.79.1612777159185; Mon, 08 Feb 2021 01:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612777159; cv=none; d=google.com; s=arc-20160816; b=VjhSMSqkw7E/qWOTR3SjAqiicdkoZ0wiIPFWhU4fZPhjtYKug8rv6XsibRk3mn0SU5 2Y805VVL4FX0IOa0DQG06eR69i3RfZhW8z81E42qk/4l+ZD+fd7PPjGJX/E8jci6T7WW okhoMR8WEIQ6uMwXrPLEHLytykfNHsmTQnMEACBENDi/LHcw86b5KzadoWkAXD+NG/vq wwXf4xsKvD71V/obtkPReHQDSXaBGp1rKb0oyOn6vRRktwpv3xVpvoVcJblPWj/H1nSP bsNwh/SocfikPXaazLfuCtflmZzwkd6xNzGKqQN5MrIIulAYDhYbpt4vXHdaz2BbiEAG SsKw== 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=ySql3FPsnalRKD9dBw7j0XF9EIc8EYwYufBb2/97SVU=; b=YrlhDmwjWvsakXZfToYMm+D5cZRXaIvZS+ICyOvpNd19Wr6VsIWgIlPe7QqY1ObvMw 9BJ2JmzkO3MEwDPOFlWOG378ZrR9z8CVUQavpWAPSm8rw+GaPPgbkXMNSFr9zUq4homS K5c3pyBRE4RLJItuxvGsqmL3sR/aHWM5Pk/1AvUQzHRHjU4ry2qWbvA9KSZL0qhQ0kbl cTQeUN0z0CwuMt/I/904d5qMnVDlX2aHJtta66dqUMyS4xJl/k7REfq2hI1lo9ogm8kF J9vZeSOqhMMXNt5uDVLxDis2oUV5oUn9KaJBQ2OcoE1Q5XHQ8gWZpmV0znCeDGtVRwJ0 KJ5g== 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 w5si11352003edd.350.2021.02.08.01.38.55; Mon, 08 Feb 2021 01:39:19 -0800 (PST) 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 S231663AbhBHJhg (ORCPT + 99 others); Mon, 8 Feb 2021 04:37:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbhBHJV1 (ORCPT ); Mon, 8 Feb 2021 04:21:27 -0500 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 05CDBC061793 for ; Mon, 8 Feb 2021 01:20:47 -0800 (PST) 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 1l92in-0005yN-37; Mon, 08 Feb 2021 10:20:41 +0100 Received: from ore by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1l92ik-0003fs-QN; Mon, 08 Feb 2021 10:20:38 +0100 Date: Mon, 8 Feb 2021 10:20:38 +0100 From: Oleksij Rempel To: Russell King - ARM Linux admin Cc: Andrew Lunn , Florian Fainelli , netdev@vger.kernel.org, Sascha Hauer , linux-kernel@vger.kernel.org, Fabio Estevam , Philippe Schenker , linux-imx@nxp.com, kernel@pengutronix.de, David Jander , Shawn Guo , linux-arm-kernel@lists.infradead.org, Heiner Kallweit Subject: Re: [PATCH v1 5/7] ARM i.MX6q: remove Atheros AR8035 SmartEEE fixup Message-ID: <20210208092038.cjmnycyctsapgy7w@pengutronix.de> References: <20210203091857.16936-1-o.rempel@pengutronix.de> <20210203091857.16936-6-o.rempel@pengutronix.de> <20210203095628.GP1463@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210203095628.GP1463@shell.armlinux.org.uk> 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:03:28 up 67 days, 23:09, 39 users, load average: 0.10, 0.07, 0.08 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ore@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 On Wed, Feb 03, 2021 at 09:56:28AM +0000, Russell King - ARM Linux admin wrote: > On Wed, Feb 03, 2021 at 10:18:55AM +0100, Oleksij Rempel wrote: > > This fixup removes the Lpi_en bit. > > > > If this patch breaks functionality of your board, use following device > > tree properties: > > > > ethernet-phy@X { > > reg = <0xX>; > > eee-broken-1000t; > > eee-broken-100tx; > > .... > > }; > > That is the historical fix for this problem, but there is a better > solution now in net-next - configuring the Tw parameter for gigabit > connections. That solves the random link drop issue when EEE is > enabled. Do you mean this properties? qca,smarteee-tw-us-1g qca,smarteee-tw-us-100m Do you have some recommendations, which values can be here used? Are they same for all MACs? Or, can we calculate this values automatically? Beside, I have seen this patch: "ARM: dts: imx6qdl-sr-som: fix some cubox-i platforms" I had similar issue and it was triggered by the boot loader, which enabled 60 Ohm on-die termination. The fix was to remove this lines in the boot loader: wm 32 0x020e07ac 0x00000200 /* 60 Ohm ODT */ > Support for this configuration has only recently been merged into > net-next and other trees for this merge window, so I ask that you > hold off at least this patch until the next cycle. ok. Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |