Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp530001rwl; Tue, 11 Apr 2023 23:47:33 -0700 (PDT) X-Google-Smtp-Source: AKy350aVALAhQXifluFzpDhfuWXTbm7J+5k51cct8XQANrrmZfqDNJ14LzUObdH6dRvLiYSWmwJ+ X-Received: by 2002:a17:906:9bed:b0:94a:5615:6a80 with SMTP id de45-20020a1709069bed00b0094a56156a80mr13514992ejc.30.1681282053528; Tue, 11 Apr 2023 23:47:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681282053; cv=pass; d=google.com; s=arc-20160816; b=GZPSH4de9hXc1lf0a5OAMb+7u60eBlQEH4TI8UJPK+4F+sx6rf4sR3JZB5ybUWgNID Jp/fZA2kGCdTH29+RlRe3IqKZKHt1CbVyEJR/jaMyx/Qxu8qHT0n+p7bf5GOQ5/Gvv/w ycUNzrC48HJDtXTnm5lFC15/FdTbbOGFTjjhmymxrQe8yZMAhxmEI5nSXif8gBksXOyY U4g/PPUWmB76K7lWK+GzRwOBmBn+b+sMFKg8wHT75rlhR+tBC+vO5pP5zWKzvlDBpK+d QQxIc5/tQkVdh9WJ5U06flSwHC+1eCRTiz7e0ENdlWgtYBV4/ifa/GWLT0ln0TJjCBpF xZJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LEPnkj3K1wy0jHie1VObqUDSJC9LSEQ73vz8Z00XgD0=; b=XbmFy6c40q2eYweDKSr7Gl0I/u2jJGRvLhAaN3fTBVFvm4Q0KCdsg4yubLBo8kkzwi EGz57qAogStNlPkjr6cQ27C87l4tkiIIN7aYqGz2mKZFfSD4xGF0JHS35M/nYFm45NOC GMQOeR3Uf0C5s38k4sqeG52yCUqpehTtuKRh8+4G5S4J4StW+ldCeZxBqYz3hfE0gPV5 OMCombXGgu9LqO7Kt6xoiIzx0EQ+yaCS/nPlm90XsLtkYQebUGgnXBj1GWsw22D827Ic SwYwq/p4ajmiwScpRdbtUf4z0ouSQX3Z7MRLAsfebymmC7sVfUHIcP80Nd5G4tfRYi9M 5Atg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=NNUBrGUY; 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-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020a17090636ce00b0094e54acdb11si1196512ejc.806.2023.04.11.23.47.04; Tue, 11 Apr 2023 23:47:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=NNUBrGUY; 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-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229749AbjDLGg0 (ORCPT + 99 others); Wed, 12 Apr 2023 02:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjDLGgZ (ORCPT ); Wed, 12 Apr 2023 02:36:25 -0400 Received: from sender3-op-o17.zoho.com (sender3-op-o17.zoho.com [136.143.184.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83F633ABC; Tue, 11 Apr 2023 23:36:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681281325; cv=none; d=zohomail.com; s=zohoarc; b=NzNsS2/s3ggnwdPWs1LT1U+940QyJQEdBkHx0dCsnjPz1KBi7d4NTZAasmT3tLnPa+Am25P2OwTCyCAKqYe+YMlHPqVRLX61kNWdj+61YxabCcwQz1GsRUAYHW8Q4Hzb47Y+JeugfaNS0TgjKa1iLS0qw+I0w6/RcVfJxqyG8dY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681281325; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=LEPnkj3K1wy0jHie1VObqUDSJC9LSEQ73vz8Z00XgD0=; b=NFPMMlxwi55dTwuno7s0louUyiFElGrer1GCtOs4Z1b0v3l6RfLjXZ3HJx+igRLHwDDcpoqikt/4B8E2Llb7oFwMarCR/xkytcY+bisyF1+JSVwj0cOBkowX0tcaYulepKxcYPY/PlXf46OI9v9DdB2wpPpG51ZJYY1dZe+IWZ4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1681281325; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=LEPnkj3K1wy0jHie1VObqUDSJC9LSEQ73vz8Z00XgD0=; b=NNUBrGUY6C7wCC+qOZuWYV6rK5n64CAhWSXych0nyGxMe8E5e8P78jdNgvtPnG2P 5i5rRZTTVGzyNA3Iu4nLT02MLqYiGwSnGFecbKpRUnIMKCzLflx1FipEtnOjChH9jr4 pUcT9O+5qiginxdpOjCjKPOcDFRhbXkJZLrRnueM= Received: from [10.10.10.3] (149.91.1.15 [149.91.1.15]) by mx.zohomail.com with SMTPS id 1681281322643174.6545830352395; Tue, 11 Apr 2023 23:35:22 -0700 (PDT) Message-ID: <781d4288-f7c6-f3e6-a132-77bff41880c7@arinc9.com> Date: Wed, 12 Apr 2023 09:35:15 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [RFC PATCH v2 net-next 06/14] net: dsa: mt7530: do not set CPU port interfaces to PHY_INTERFACE_MODE_NA Content-Language: en-US To: Vladimir Oltean Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Richard van Schagen , Richard van Schagen , Frank Wunderlich , 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: <20230407134626.47928-1-arinc.unal@arinc9.com> <20230407134626.47928-7-arinc.unal@arinc9.com> <20230411145416.kovyu3wb3dhtgbl4@skbuf> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <20230411145416.kovyu3wb3dhtgbl4@skbuf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.04.2023 17:54, Vladimir Oltean wrote: > On Fri, Apr 07, 2023 at 04:46:18PM +0300, arinc9.unal@gmail.com wrote: >> From: Arınç ÜNAL >> >> There is no need to set priv->p5_interface and priv->p6_interface to >> PHY_INTERFACE_MODE_NA on mt7530_setup() and mt7531_setup(). >> >> As Vladimir explained, in include/linux/phy.h we have: >> >> Therefore, do not put 0 into a variable containing 0. > > The explanation is unnecessarily long. I only provided it to make sure > you understand. I don't see a problem with a bit of verbosity on the patch log. It should make the reader understand the code path better. Arınç