Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1146465lqt; Tue, 19 Mar 2024 14:17:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVTxfl5HlxG/s3CqE8ngx0a+bviZtQjRyPyg1tClwsOQTOjfoB6WSxQong+9aU0AU0fd9FEKHGUmqlTV8UGR62JEEECZ3vApp3E/3ABqw== X-Google-Smtp-Source: AGHT+IEGpV0OZxiEIrWOTiIdkGsd7O13ZscwGe1DeEs/Em/6/eTlDcgqjCS2+b1W0lAZzrpVkicU X-Received: by 2002:a05:6359:4106:b0:17e:6aab:8f7c with SMTP id kh6-20020a056359410600b0017e6aab8f7cmr4027305rwc.20.1710883022616; Tue, 19 Mar 2024 14:17:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710883022; cv=pass; d=google.com; s=arc-20160816; b=MR6L6PUOtC/fSyCI1Md44YFg3+47/g2tW4Kup3qwYuELnxYB4M4pdKPrlua+pXnpby GQUyUv3HNBjahDDi4hmuSSDf9yeQVgv27DXFRQcgALhsNL1WAbN0WMrm7qR7FcLkFsW0 TQ4hLjXsTeme5wo1bpY8GSsCHj/6q5sN7y4Pgte/slb4OGSxUUZa2HCTkAed+gxgPIf4 yxFHWORLNaRCbi4pAfH8YGHo1Xxg2X0DGtEV6tkxpsg05VXk2U1Z/mumJ1m4mJCL4fLo q2W/xJVaN+aiSBp1XS09sqYp3HjVaFf1EtyVOS2eMvXcpeK6ioNUWC/WM9fj8XXX+Qjt rs0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9s4X5Gi14fiprbPp/n09JkrAb3WJPWZ0M3os7Ylh/ek=; fh=lfAwA4/tqACSRAjP/DV7PCpPaFpmzEjlgofoBPZbc3Y=; b=xSkc7gN55purrDnNOvJIwgzeZVFysnGU9Wz1Zc/wUgvuK48jZVavsphYCSYZWGwwTR 1wx3NWXzVePL8gtgWDKVH4ADN7a7PF4rIW3z3HFk8SfPhVwzBNmnsS+L7mFe18hqNzpe /heGFvZzrs45MtWhw2eSMZDFKtUOzmiYhQavilDzy/nPIgouAjHhjautTl6E5ZSae+BI Cw9D7Wg/n5ZZIf4vVh0+Nnf31s+PXTnI9x6R+jtKCbV5fEEXzu1QNZc3U6ht3sxunU5u q+L9KXey1LJ372NuSJElZ+mAjf5wGeOYOK0HjPUi2cN++1wQ5/1bnXUgDQogcceEDpBq hnSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b="MHv/Y2Jf"; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-108144-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108144-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y37-20020a631825000000b005dc4300d4f0si10704774pgl.444.2024.03.19.14.17.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 14:17:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108144-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b="MHv/Y2Jf"; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-108144-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108144-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C140EB21F29 for ; Tue, 19 Mar 2024 21:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 419E04084E; Tue, 19 Mar 2024 21:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="MHv/Y2Jf" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 785353FBB0; Tue, 19 Mar 2024 21:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710882993; cv=none; b=XQqvA5oBc2h+pm6faiewRGvj5zu27sTFifEJPZ//nCdQKq/rDXr+eDhbD2sVg/8YhQNkwWSbOpQ6cRDYf7gFc5VDkUk2M/4agdiF1slu9FhB2jvIb5rYGIYCq8bjFl/EKRIvDmB08hsKpY7s9VTG84vdDIvBpbfCtN1BhJDXpVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710882993; c=relaxed/simple; bh=hVggVZ7F4YoaEhM4q8btxqhfFXmKM3YgpzpWHw+WR8U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lGVLs7ONGKXbMNFvaR33VDcEgD8Nombiqh3z2m+eQAKiiNJL4pos6DaKYVU6bsOeJR/kMop2DoRclWBC5c6CAl6vM4eCF9or4OenoD5TN05xfgeLuXr+OxfjkNy0OVOsg8qUy2uyGxNlGWsGYRSvHjzk/pwZmjENeM71WwHVvjE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com; spf=pass smtp.mailfrom=arinc9.com; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b=MHv/Y2Jf; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arinc9.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 8A37D20003; Tue, 19 Mar 2024 21:16:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1710882988; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9s4X5Gi14fiprbPp/n09JkrAb3WJPWZ0M3os7Ylh/ek=; b=MHv/Y2Jf/gg5YRz9Xg02A3Uy/+L3ntSL/gPAF2UzYbGmc/qP7PHY7VuKl1zed85n+N0kdQ 1o1k/QGe5GsBCSlsu39mtGksj8tLqwlnJ7WHeuYmJUOTLN8UP0ukvtN7f4FqZXg/Wv8AKZ mkWevzKGdbH9d1/Kjo5b6aQL2Fa88IJLQZwGG6TRvf8issssdzTBXSnOVcorW02H6rKQl4 W8teqzjihbMWP1A90re1PyZwbcQn5VgYA5ceHRdyq2N8AnXB104IBNYkdxUa96gkkknxog fBwi1pMb8vaeKS9pQFCxNaQI2NRAfJjGt4aRoqOV43X4DOwUGW9EY4V5n6pisA== Message-ID: <3c6ccef9-8654-49ba-88d9-d39e99d2b7b1@arinc9.com> Date: Wed, 20 Mar 2024 00:16:02 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] Fix EEE support for MT7531 and MT7988 SoC switch To: Daniel Golle , Andrew Lunn Cc: DENG Qingfang , Sean Wang , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , =?UTF-8?Q?Ren=C3=A9_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 References: <20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v> <00ec9779-19ce-4005-83f0-f4abf37350fc@arinc9.com> <6cb585f6-6da8-45a2-a28b-2fb556f95672@lunn.ch> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Flag: yes X-Spam-Level: ************************** X-GND-Spam-Score: 400 X-GND-Status: SPAM X-GND-Sasl: arinc.unal@arinc9.com On 19.03.2024 23:26, Daniel Golle wrote: > On Tue, Mar 19, 2024 at 08:38:03PM +0100, Andrew Lunn wrote: >>> I would argue that EEE advertisement on the PHY should be enabled by >>> default. >> >> That is an open question at the moment. For some use cases, it can add >> extra delay and jitter which can cause problems. I've heard people >> doing PTP don't like EEE for example. > > MediaTek consumer-grade hardware doesn't support PTP and hence that > quite certainly won't ever be an issue with all switch ICs supported > by the mt7530 driver. > > I'd rather first change the (configuration) default in OpenWrt (which > is arguable the way most people are using this hardware), also because > that will be more visible/obvious for users. Or even just make EEE > configurable in the LuCI web-UI as a first step so users start playing > with it. > > After all, I also have a hard time imagining that MediaTek disabled > EEE in their downstream driver for no reason: > > https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/24091177a18ba7f2dd8d928a8f5b27b14df46b16 Are you saying this to indicate that we shouldn't remove that from mediatek-ge? If so, I've already explained that there'd be no practical change in removing it as both MT7530 and MT7531 switches enable EEE advertisement after mediatek-ge. Arınç