Received: by 2002:a05:7412:8d08:b0:f9:2d0a:d759 with SMTP id bj8csp93929rdb; Sun, 17 Dec 2023 04:01:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdcvWWvTyQT+l46GjoRHY+ZQR7pzBcU7Qj52qcyfiVVvqdFk2EZvlOSr1v9kvQtZEVUCpj X-Received: by 2002:a50:cd51:0:b0:553:5f4:7d81 with SMTP id d17-20020a50cd51000000b0055305f47d81mr1265001edj.61.1702814491178; Sun, 17 Dec 2023 04:01:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702814491; cv=none; d=google.com; s=arc-20160816; b=L+WnnAMe12Mix4JrGUIxm1sCyFTgPOuRBd08B5EO3l/5XDqpK0DNgtIbK/Eg3VmY6I OUaVlnGJASqM2rYV9eTPygD254O4P4G8DZfC/6gqk2CFvU04GFrq++0HlySCkUDau/yh Akvcz+leLxlXaYTRsIGEe7+RNhBG0CVDFSZoVXc5zTLAT2WT82AKrclheV31MEupvXb1 UCqeD2tb0Y6eIsTjvLKgJqJv5bLmEyRcRKew9h4uD7F8ywMDJW5oD8RsWu2fbS77uepO TK1MdHuswkrcAE3MAXiU7nK6w+VNmWjpc6/P4PY2PwMsh1MdJfFXYRaZyP4+80EySOGk YpNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3Lg07BUdOWLUb55sl4jY2nUVlLAz2wv5V6/HSrQCs+4=; fh=ulVdfDPPx937up1WMs2EFzTMatSu3UMkS41BVREIZ4I=; b=YSf6K00JV3LOy1T94YW8VyN8qfxQWik2u4gNyPjLs5pIY47pvjzJch592IZSNQDKvv L1B4qpAXpjHHIbBzTezyZwiIY8f+o6/lRYexFl78cwinSRzW+unUp9SpXj3IYo/fQ1ov kmcqRqFyGGxhblyX71kCMRV7mGlTSMAG+ahFxaUFQtOg8jdxhFCZcsnh09LeiCU/RUaL Fdg6K+kDfzlcFvBB66NsxYP6F29eVLmpirLGVhDu2n6naxuI3qGZzE3856kAIp1bCmSG dfjKxthdFZ0eCJA+6q/IOxgiVfLTI+HUVo9xOpfmqcmOnN48HXFG+XbdwRsrZEfCHKQf +BOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=ZP2lPxfB; spf=pass (google.com: domain of linux-kernel+bounces-2562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2562-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dn15-20020a05640222ef00b005530d045f87si1103329edb.233.2023.12.17.04.01.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 04:01:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=ZP2lPxfB; spf=pass (google.com: domain of linux-kernel+bounces-2562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2562-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E9E271F21FD3 for ; Sun, 17 Dec 2023 12:01:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D2A532C71; Sun, 17 Dec 2023 12:01:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="ZP2lPxfB" X-Original-To: linux-kernel@vger.kernel.org Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 1EB2232C63; Sun, 17 Dec 2023 12:01:17 +0000 (UTC) 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 C0F3660005; Sun, 17 Dec 2023 12:01:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1702814469; 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=3Lg07BUdOWLUb55sl4jY2nUVlLAz2wv5V6/HSrQCs+4=; b=ZP2lPxfBeruufnF1FkXf5EEupfSURUouUpZVNBWpt9hzX776i2vf0egCVk609emM5rwQOe 8UyasLk7LJ7an88tcOqUzI2yU0vxxW42D08t6m7itnmaLDC+K0tGN2qiCzQNbvEsWBBsxY hwbmguqITa0CkysH9MJo59hXkNR7zXolm5/uBOaY9Cw7LgDEkeoON6AlnMZemUu+5XX1Fv XXaMWPBMk8nFhPY/753hBJQcplIOBFEgQ3MkD6wCJqDZjT/Ps4/jfwuqTadyGBFwrybnRh d41T+ISJmN+alFszpETgB4FvSKcitQEgrV19AO92Zg5aZdTaVoklFrvqBnAmLw== Message-ID: <968d0374-2584-42dd-9ec4-c30fb01c5202@arinc9.com> Date: Sun, 17 Dec 2023 15:01: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 net-next 05/15] net: dsa: mt7530: improve code path for setting up port 5 Content-Language: en-US To: Vladimir Oltean Cc: "Russell King (Oracle)" , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Frank Wunderlich , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com References: <20231118123205.266819-1-arinc.unal@arinc9.com> <20231118123205.266819-6-arinc.unal@arinc9.com> <5e95a436-189f-412e-b409-89a003003292@arinc9.com> <20231207180332.ugfp33xcdkw3elrw@skbuf> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <20231207180332.ugfp33xcdkw3elrw@skbuf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@arinc9.com On 7.12.2023 21:03, Vladimir Oltean wrote: > On Sat, Dec 02, 2023 at 11:36:03AM +0300, Arınç ÜNAL wrote: >> On 18.11.2023 17:41, Russell King (Oracle) wrote: >>>> For the cases of PHY muxing or the port being disabled, call >>>> mt7530_setup_port5() from mt7530_setup(). mt7530_setup_port5() from >>>> mt753x_phylink_mac_config() won't run when port 5 is disabled or used for >>>> PHY muxing as port 5 won't be defined on the devicetree. >>> >>> ... and this should state why this needs to happen - in other words, >>> the commit message should state why is it critical that port 5 is >>> always setup. >> >> Actually, port 5 must not always be setup. With patch 7, I explain this >> while preventing mt7530_setup_port5() from running if port 5 is disabled. >> >> Arınç > > Then change that last paragraph. You could say something like this: > > To keep the cases where port 5 isn't controlled by phylink working as > before, we need to preserve the mt7530_setup_port5() call from mt7530_setup(). > > I think it's a case of saying too much, which sparks too many unresolved > questions in the reader's mind, which are irrelevant for the purpose of > this specific change: eliminating the overlap between DSA's setup() time > and phylink. Will do, thanks.