Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4129243rwd; Sun, 11 Jun 2023 00:51:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ri2TROzswiw68m3U1OBrJqJ2hY5LhNIYFoE9I3bXx/TGAL1udEhR8CEPr+rltB69LKAC7 X-Received: by 2002:a05:6a20:144a:b0:111:5017:8cb8 with SMTP id a10-20020a056a20144a00b0011150178cb8mr7480350pzi.4.1686469895893; Sun, 11 Jun 2023 00:51:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686469895; cv=pass; d=google.com; s=arc-20160816; b=Kmq8qypNCCWmV3cFSteTN49v6J83koJOyS7ASEBq6Q4tOZYGyPNLFgww/pDoclRf1s wbryT13hoPipGbuM8n/1dKXLv8TYGW5le5uNSAKTe6YkQpHOjgGI8BtLFq4/E+gzOkHt fGbEgyXSBv/192JfovQGpdsSyCy9cPjweJ1aguHwWSj6toV4t9vOumcE8x8rNKoxU3DS ZU63o8XE4pGM/vB945zCcdxsnVfLKDX4Elqpcod7Sv4r8BDp9nNN5f8psbI/az6vVHm6 0PxRc7dh/8EkZ5xmGzSsWnoH/PtREpjZoF08wHm9qO4EfKzvpvgcE3JWEVcpqmI0b16o +nUA== 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=TvnIt1NPnY/M+Hzkk3Jlxpw9Z7EFJCUPe2Xg0xI+ZqE=; b=Qx/ogalw7Y0IOB0JPC/WGxJFUVJXCJq1mRSLaf1bR92ZGP9QWbEEcNAfgHA7DyULUe QG4P3o8QrMyN0iAveO428F1UC6h5F/QXLzvzkNoakFw6oV0Jg/DjkJzl0s8+9QclUzpl 1MZmR02SM+tRgbUk0buGMl08B/LvZRQqfYGiUfnH+kArkc/JiCtQ0KYdcB6I5VEDNSpQ y2Pe9QIiuyukVxm7iituEiw35qIlqc+qgTDJ3ljTVXKyuc5DSmRErvk5PtN24OzmQ/4p 5svSGuByAhiRH7ILRL8MjtplwtYprPOZNVUw+uQ6hlYXYrbKaEQYT2kMoE6hoowI01DW aDaw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=bQlIEsRW; 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 x9-20020aa79ac9000000b00661759efb4esi5182918pfp.229.2023.06.11.00.51.15; Sun, 11 Jun 2023 00:51:35 -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=bQlIEsRW; 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 S232589AbjFKHZK (ORCPT + 99 others); Sun, 11 Jun 2023 03:25:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjFKHZI (ORCPT ); Sun, 11 Jun 2023 03:25:08 -0400 Received: from sender3-op-o18.zoho.com (sender3-op-o18.zoho.com [136.143.184.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 420A019D; Sun, 11 Jun 2023 00:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686468247; cv=none; d=zohomail.com; s=zohoarc; b=PJkYnfjHIt5lSfIJXPdoc7Puw9GEgilIkPV+6m3bXd/Ko3iqoTSSzBGGdsZD0y5Fc0CLXL8dAZZYfMiotfZBFtDJiphfto2DswoGaYOXDq14fzZSZB2ELbH8cNYuAh/Wh0rV1UHJeh4Spam0ATULLKuJLbMNz3i1JampIMc03D8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1686468247; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=TvnIt1NPnY/M+Hzkk3Jlxpw9Z7EFJCUPe2Xg0xI+ZqE=; b=as8JIftOtZLAtiBlsmfOAjPgWEoq2vdwhT4qnwHagx8/YF6gGWSrKyfs+/MQSEMQOvMU8IOXC/IlZb1h0xrFwfKPbzWfQe8otlFtTuKO+AVey0bMFcYMmWvI2QHaynO1KsxOLNk8PWKTwH/ukxoDzzT7khpCDB3NEwc2JTQuhs4= 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=1686468247; 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=TvnIt1NPnY/M+Hzkk3Jlxpw9Z7EFJCUPe2Xg0xI+ZqE=; b=bQlIEsRWRnryhQpIcskUtUB62Vi8AeLxHqUYVnH+ydQdkifbabL+nWiz6m6UQV9J L9e0L9h+ahZmzsV0feXXnTsYtuW5c1uuepzRLc5Pk0JcseiagDx0NJvF2LBAuonI+E0 IlOeGFNVGT/rKR7N2xGCVJsrbF7K+Clf6x830fBY= Received: from [192.168.99.249] (178-147-169-233.haap.dm.cosmote.net [178.147.169.233]) by mx.zohomail.com with SMTPS id 1686468245416961.631805529769; Sun, 11 Jun 2023 00:24:05 -0700 (PDT) Message-ID: <22fba48c-054d-ff0a-ae2c-b38f192b26f7@arinc9.com> Date: Sun, 11 Jun 2023 10:23:55 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH net-next 08/30] net: dsa: mt7530: change p{5,6}_interface to p{5,6}_configured Content-Language: en-US To: Vladimir Oltean Cc: "Russell King (Oracle)" , 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 , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <826fd2fc-fbf8-dab7-9c90-b726d15e2983@arinc9.com> <20230604125517.fwqh2uxzvsa7n5hu@skbuf> <0542e150-5ff4-5f74-361a-1a531d19eb7d@arinc9.com> <7c224663-7588-988d-56cb-b9de5b43b504@arinc9.com> <20230610175553.hle2josd5s5jfhjo@skbuf> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <20230610175553.hle2josd5s5jfhjo@skbuf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-2.2 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_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 10.06.2023 20:55, Vladimir Oltean wrote: > On Sat, Jun 10, 2023 at 01:57:27PM +0300, Arınç ÜNAL wrote: >> I was able to confirm all user ports of the MT7531BE switch transmit/receive >> traffic to/from the SGMII CPU port and computer fine after getting rid of >> priv->info->cpu_port_config(). >> >> Tried all user ports being affine to the RGMII CPU port, that works too. >> >> https://github.com/arinc9/linux/commit/4e79313a95d45950cab526456ef0030286ba4d4e > > Did you do black-box testing after removing the code, or were you > also able to independently confirm that the configurations done by > cpu_port_config() were later overwritten? I'm trying to disambiguate > between "works by coincidence" and "works because the analysis was > correct". I did my testing, merely to make sure we didn't miss anything as Russell already stated that the configuration from cpu_port_config() is later overwritten. I could put some dev_info around to confirm the code path that overwrites the configuration. Arınç