Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1062287lqt; Tue, 19 Mar 2024 11:26:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXvVGJlS8f3N1pA1wM/CJRgMdQUDlTWZMJaKwTPbL/oMZJTm23VEwHCZF/kO/G8A8VEHkgIQyJK50lAGXNaGFL8zaZdltHIlVbPlTHi+w== X-Google-Smtp-Source: AGHT+IEeSGNhAsJ6wF17L/dlToByy9yDOBGJDNAKK8Q2JRE8O04zwudkmE/ZKrLP3oLID3KYK6pr X-Received: by 2002:a05:620a:458c:b0:788:2e47:b290 with SMTP id bp12-20020a05620a458c00b007882e47b290mr19970472qkb.73.1710872817644; Tue, 19 Mar 2024 11:26:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710872817; cv=pass; d=google.com; s=arc-20160816; b=afC+O0GzswYvQwbrb2Qh6Nr4AKyxYO51ZTM5ZaKkfL6j9Pq5BtpvaUU/kVznmrj0iK HX87rQwpcVI82d8kJjSdNHj+1V47/HFzoSelW2UoSIZR8RWH+qV5LX3YQA4jjD9WjjbD JGELo90E1M0O+I9qXrn42amP9dpZVDGY0b+LXo1B8hFXSNRJgUl4tt70aKtmD3e4nD9x CGXpo46Xn3JuttPn0keI1qtmMObkLHwBdmIwZCZGd806bWTFLV1J3Edtx/W9386OfmdZ j9n44zcwneKhLwM75ekAGUIvIV24gKYH1C+4LcxUDlqy4+LrF+Ke/FdJsKh1K0BE/UXy 2r+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=AEVpDjnbgSKzUSM/lpuuz1e2ij2JBb/qNmdPEaTjLBY=; fh=u+t+Jc9RfqoJB0Xnp+wks7HMOT8X4g/mVYphppf6OJs=; b=F4QC3XR2Z2/tz/Rdyc4tOGqKP8MStDiQFIIt5KyFD3+XTr6HMhiI9QhMVFwuHK5JeU isuqJPxDKaM5LHIF1UPKhl7jIGkZgilyaXQcbhrC1kwxV74pZX7iY6wDn1oOindeyL/+ GZE/EmusUVUKxC/2LjFUh2VtIjiavJgr0KnCETdY+YCpBOlLLUFq9DJqZz1YbhAfTD9n Vge45gl0WISw2W7edU42wJLZFUUzADOv7eETh84cEpoM8FgloYLSUTovPTy/OYE+cfpV /29X80Z3S6NRMoBLpfkF6iAd6qNGhtccPBvQ1JxjRsMydydx8Jxpdz/IMz93nSrMD5Oi fgww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-108008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108008-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c18-20020a05620a135200b00789e95905dasi8551432qkl.33.2024.03.19.11.26.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 11:26:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-108008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108008-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 87B491C22BAF for ; Tue, 19 Mar 2024 18:26:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39676383A0; Tue, 19 Mar 2024 18:26:02 +0000 (UTC) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C280D33CD0; Tue, 19 Mar 2024 18:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710872761; cv=none; b=cjhsWe/pJgmszeUFlvuB7KuKNsVR56jPtVtHIuPGSRjaeIHtQFX9tKq9r7qy0xQAx2dAGveWmiliF03SWpV9c7bq7Ibqj7ziIn7DUzCfFKNRUuVogmtwlUFAWs+O7mDeSDtA4pMUKOKN3+l9JI06HBpAuHifvOv+o0FzhHtTctg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710872761; c=relaxed/simple; bh=+B2/YuQBg7yNiILnBdMyRTQ5naKzC7rhn0eUUKSPVr0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KpDU+oIP80SOuD2ltCK1SQoLWohYQESmGe7437oOewSl/9aPwy1093c8uKQKwwu/fAYt52z45g5IOAbNxpGjvDYknuGsvLtu9NR384A1liIo4NZ8qeoIY/QcCSnnXzyOfKqm573tgXdjApub1K9D9WngRANXbtACB1YAJ92ocwA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rme9R-0005tO-32; Tue, 19 Mar 2024 18:25:30 +0000 Date: Tue, 19 Mar 2024 18:25:22 +0000 From: Daniel Golle To: arinc.unal@arinc9.com Cc: DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , =?iso-8859-1?Q?Ren=E9?= van Dorst , Russell King , SkyLake Huang , Heiner Kallweit , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 0/3] Fix EEE support for MT7531 and MT7988 SoC switch Message-ID: References: <=?utf-8?q?=3C20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v?=> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <=?utf-8?q?=3C20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v?=> On Mon, Mar 18, 2024 at 10:46:22AM +0300, Arınç ÜNAL via B4 Relay wrote: > Hi. > > This patch series fixes EEE support for MT7531 and the switch on the MT7988 > SoC. EEE did not work on MT7531 on most boards before this, it is unclear > what's the status on MT7988 SoC switch as I don't have the hardware. EEE seems to already work just fine on the MT7988 built-in switch, at least on the BPI-R4. I don't think the SoC has bootstrap pins related to EEE like stand-alone MT753x may have. root@bpi-r4:~# ethtool --show-eee lan1 EEE settings for lan1: EEE status: disabled Tx LPI: 30 (us) Supported EEE link modes: 100baseT/Full 1000baseT/Full Advertised EEE link modes: Not reported Link partner advertised EEE link modes: 100baseT/Full 1000baseT/Full root@bpi-r4:~# ethtool --set-eee lan1 eee on root@bpi-r4:~# ethtool --show-eee lan1 EEE settings for lan1: EEE status: enabled - inactive Tx LPI: 30 (us) Supported EEE link modes: 100baseT/Full 1000baseT/Full Advertised EEE link modes: 100baseT/Full 1000baseT/Full Link partner advertised EEE link modes: Not reported root@bpi-r4:~# ethtool --show-eee lan1 EEE settings for lan1: EEE status: enabled - active Tx LPI: 30 (us) Supported EEE link modes: 100baseT/Full 1000baseT/Full Advertised EEE link modes: 100baseT/Full 1000baseT/Full Link partner advertised EEE link modes: 100baseT/Full 1000baseT/Full So don't fix if it ain't broken maybe...? > > Signed-off-by: Arınç ÜNAL > --- > Arınç ÜNAL (3): > net: dsa: mt7530: fix enabling EEE on MT7531 switch on all boards > net: dsa: mt7530: fix disabling EEE on failure on MT7531 and MT7988 > net: phy: mediatek-ge: do not disable EEE advertisement > > drivers/net/dsa/mt7530.c | 7 +++++++ > drivers/net/dsa/mt7530.h | 7 ++++++- > drivers/net/phy/mediatek-ge.c | 3 --- > 3 files changed, 13 insertions(+), 4 deletions(-) > --- > base-commit: ea80e3ed09ab2c2b75724faf5484721753e92c31 > change-id: 20240317-for-net-mt7530-fix-eee-for-mt7531-mt7988-a5c5453cc0e8 > > Best regards, > -- > Arınç ÜNAL > >