Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752259AbdLNMvA (ORCPT ); Thu, 14 Dec 2017 07:51:00 -0500 Received: from lechat.rtp-net.org ([51.15.165.164]:42414 "EHLO lechat.rtp-net.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751863AbdLNMu5 (ORCPT ); Thu, 14 Dec 2017 07:50:57 -0500 X-Greylist: delayed 573 seconds by postgrey-1.27 at vger.kernel.org; Thu, 14 Dec 2017 07:50:56 EST From: Arnaud Patard (Rtp) To: Jerome Brunet Cc: Giuseppe Cavallaro , Alexandre Torgue , netdev@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] net: stmmac: enable EEE in MII, GMII or RGMII only Organization: RtpNet References: <20171205102809.4347-1-jbrunet@baylibre.com> Date: Thu, 14 Dec 2017 13:41:11 +0100 In-Reply-To: <20171205102809.4347-1-jbrunet@baylibre.com> (Jerome Brunet's message of "Tue, 5 Dec 2017 11:28:09 +0100") Message-ID: <87ind9fpnc.fsf@lechat.rtp-net.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 956 Lines: 22 Jerome Brunet writes: > Note in the databook - Section 4.4 - EEE : > " The EEE feature is not supported when the MAC is configured to use the > TBI, RTBI, SMII, RMII or SGMII single PHY interface. Even if the MAC > supports multiple PHY interfaces, you should activate the EEE mode only > when the MAC is operating with GMII, MII, or RGMII interface." > > Applying this restriction solves a stability issue observed on Amlogic > gxl platforms operating with RMII interface and the internal PHY. I was having the issue on my libretech AML-S905X-CC / potato board. With this patch, I've not been able to trigger it at all. Without it and with my test case, I was able to trigger the hang several times reliably. Any hope to see this merged ? > > Fixes: 83bf79b6bb64 ("stmmac: disable at run-time the EEE if not supported") > Signed-off-by: Jerome Brunet Tested-by: Arnaud Patard