Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1123629lqt; Tue, 19 Mar 2024 13:27:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCNuOnE3dxkw1+L5nV2dNMa7HqnDuwIDjmmQirpScOHiK5sPQTu/A0SdHQOcYqGnqENZUgcqOU9DbHj7n5TK1TvZ4tS3ioHdhLLIxgoA== X-Google-Smtp-Source: AGHT+IEPMseDIZU8iEroQEhciqNkvdpXsdP8dJEcbSh0kJgdEcIt6xsPtIPVmtrmqyHRRkcYjAeE X-Received: by 2002:a05:622a:528f:b0:42e:aa53:9d31 with SMTP id dr15-20020a05622a528f00b0042eaa539d31mr20779537qtb.26.1710880071704; Tue, 19 Mar 2024 13:27:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710880071; cv=pass; d=google.com; s=arc-20160816; b=U1toeh/DJD/efL2zNC2vBmpspcoN7K6zDQke+tFU5og761CSLO4MFdhsUGZhkc/eIr +QphNvKNdpa22Tzj/KiJ/RBzI1/tEBiYoGPa+fw3wUPlDQ1Y+jlf2cfrV8Evw/ZC16VB 7T5cbitG/z8Nukx8lDrT+PL0qqC4/fNG6v/L8tvWpdJK/oeVmZkKv9Z9CUKw58mie/4X Y7OLhQdm6h6bEGvDTTjDEZGW0CP32F1RaPr8BjFOSND/GH8XeYyL4E+vAzmS/vC9524k GuOKX8Fhcp99cxhY4wqHOFDOLmP3gZ1f3Btb/0S0CplGQBRe3F0gBjizIP8bui/xM6fz tpUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=QzGva0R26a0eMtGVAxiiPcQ0smxofKXaZ5Q5beavLFk=; fh=0llxhsgTAfAGVPpKWcLAJLdiw9B4EBrigxsNHXyIuXU=; b=tbbI4+PlLaIE0lfB7m00SxP3UTu0q5wyGQjDfjH/xPM0HDiCaL3GTa3Yhsj6uY2gjT i7WTNaCiSKaB7p9rluq/SMKoLjiL0aX7hXp4R64sri3ZQ7JMihOIiAElbBn4xVZubkW4 qtLrDLI5JaanyoF/0Y9x+84jcz1WHP0Ccoi1h+JZXuYMiaVmO0i85cA+NAtwZAqbJT1h rEuE9v9zj4KOxJ5+La1FhXgLW07t/9JEk8iA08jLs/Bf6j9Kjqc5I9Wg9q/kQC6vZe74 6cXUIxHb/opqDT1Uly+t30LpFJMY1+tYbY7JC00e2Qwl4xz8WN80tNb2CVB+NRyyBLP5 f7Sg==; 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-108105-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108105-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 t2-20020a05622a148200b0042f212bb553si11461190qtx.273.2024.03.19.13.27.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 13:27:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108105-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-108105-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108105-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 6E2461C21F53 for ; Tue, 19 Mar 2024 20:27:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 810925F876; Tue, 19 Mar 2024 20:27:40 +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 8187E1E494; Tue, 19 Mar 2024 20:27:37 +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=1710880060; cv=none; b=d3oWkZSssV8bhbL5nN4rksRvmzByxp2cL8QtFrskorCLOio9YT7U9Oky/y3VG86GU0/BamYiSMc0WcuYAUQFATmlzJvgvnkofCuxTeFhZNuZCSxN+n6Ftwp0Uj0REJr1zm9aZ61qkOy0TEb3GfPBJddDVjMRnnU9aCaFAuKVYpA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710880060; c=relaxed/simple; bh=280xtHLxGvOmxcn1ud+ofPYxJ3fY+ofYH1kJIxf2IT0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OuYGN0n1rHU6BDNxWjaLVAh2TlAZxzqin+SyUgGAjefyLs7xW30tU4EPeKgEwe6eNLwuNkLSU2yvKWIW7SqjnUJn+KL25t+u7b4gHYGACj+i83FM8lOSinPvbzJ1KpPcKAkEBr3VkgadYSoLa9hbC1I5GI5vIt8m9zdME0ubuNE= 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 1rmg32-0006OW-1A; Tue, 19 Mar 2024 20:27:00 +0000 Date: Tue, 19 Mar 2024 20:26:55 +0000 From: Daniel Golle To: Andrew Lunn Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , DENG Qingfang , Sean Wang , 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: <20240318-for-net-mt7530-fix-eee-for-mt7531-mt7988-v> <00ec9779-19ce-4005-83f0-f4abf37350fc@arinc9.com> <6cb585f6-6da8-45a2-a28b-2fb556f95672@lunn.ch> 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=us-ascii Content-Disposition: inline In-Reply-To: <6cb585f6-6da8-45a2-a28b-2fb556f95672@lunn.ch> 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 > > The current phylib core code leaves the PHY advertisement whatever its > reset default is. So we leave it to the manufacture to decide if it > should be enabled or disabled by default. It is policy, so it should > really be down to user space to configure EEE how it wants it. I very much agree with that policy, changing the default definitely feels like something which could affect quite a lot of people and should be done very carefully, if at all.