Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3654796rwd; Sat, 10 Jun 2023 11:48:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7uZg+cFYHlz5TaR8U11skjBg13DsXdSgapQgaPCX+niF4kNGQLGBCh85sdRMZqvwnf6Ogh X-Received: by 2002:a17:902:d4cb:b0:1ae:9105:10a5 with SMTP id o11-20020a170902d4cb00b001ae910510a5mr2948533plg.2.1686422930985; Sat, 10 Jun 2023 11:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686422930; cv=none; d=google.com; s=arc-20160816; b=CpGgxDwzhWWMsBwYx42L8Fv+uytw17dT8xHXaNObMucFB55d6102KdV7uNS6WGlDC/ M9RUM9ZfNsriKa3FUH+xE/m26jeSX01XqfdFjkP+Ik467FWtgzs6i1Z+ImYTYMK5BdRm QgMnVmGBZxPMnntRbV9CLT0i5TneOtiLRyYR+DW6hqPiaWnO8FEseVDjkJ8Ir4+DqXLk rEip1yhoNQaCwjQhFljP7eK6jNig1e+FFFS4Lvqj756OuLiONy5LAoGc5Sc6agUrymUV /7oYkrlEYbYCWeRG1aBqYCz99K7g1E1GFSi+HaFkbf/JRLaNNBYB4SQD/QVhVur6gy7i 1PDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UtHowokCRUQ1d1MLBDU0YGNnSsBp4vn8ne+jSCs8FEQ=; b=av+eIITS5lHmHaj2OZE9ER1fhngHBUXjLSnELGgz3pcBoMseeWrm9CmpLtXAKx1yyi 8SfpS+P79FA3Sxz4INi8H4q3WS/Zb+FJFcNz3G/F0vY9I0N6AmuJQJ3+9vNNOkQVv6fE NIdLi+k96ASnB3Jros/pPjl7kI9COeU4kF3eoLKFLOiUs4fFjFM852knB+Nd6vXzIQjd wEoAtlHHV9qTzGWyC1zbxQ0DCwe8s7XJirW4Hzxt8dUuwashU3QbaebJRZ2oj+jnefHc uZTl2LsvcvpVcKetq8RlYBxL+jScoEAhG+CMGZuKbiEPrYOT0W14iQrDn3YrhDT3SUh8 5NaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=BIhFRN+x; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n14-20020a170903110e00b001aadba392c1si1740405plh.464.2023.06.10.11.48.38; Sat, 10 Jun 2023 11:48:50 -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=@gmail.com header.s=20221208 header.b=BIhFRN+x; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229521AbjFJR4B (ORCPT + 99 others); Sat, 10 Jun 2023 13:56:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbjFJR4A (ORCPT ); Sat, 10 Jun 2023 13:56:00 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D80B198C; Sat, 10 Jun 2023 10:55:59 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-30aef0499b6so1757321f8f.1; Sat, 10 Jun 2023 10:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686419757; x=1689011757; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=UtHowokCRUQ1d1MLBDU0YGNnSsBp4vn8ne+jSCs8FEQ=; b=BIhFRN+xWuhpLcCOcDYGafuGdugJe2Z7ANfFaQby1wn5yUHg3+dnrR8gTTulNJ87E+ nnGnVu9MSSm66EkUkZ/YcrlfhwbAhMlaTlB3WBnsu25QUfMqypOPxcqZ/HLYhDat4JkY xclZLA8DVT/rCbaNkg+YpX48r6cfYZjJylFa2slSscIDv+AArGuL3MF/Bg8ilTxljTrX 9Rrr8k2OILvMOePqug6oKN//vhBtwTw3xkoxtrsw8yiXETVBT2Cvz4uPZajtsOFFMk5U kUcWsUHVaA/RJuqf1xXd2YTM2c1K0nY+u8eca17GfDgzIzSlfOtw7wcOcCUkIDoofooD fZIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686419757; x=1689011757; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UtHowokCRUQ1d1MLBDU0YGNnSsBp4vn8ne+jSCs8FEQ=; b=BzkHEqCmMqJYVgFVkJc+kzX/3jAfYmCmWPkM05kRfCLwcBblRcFYKdkjFGjGm4rrAf f2LqpJ3iA7t772vLNOrihpXdRYFaZPB2LH0RKXl2je9U2YxbpeR1QWfy82UCN3t9+f+p CKCC6u4nAaO4dJ3HsJPeYwCke1RMvC5lq3ODNDpu73zaol0rMkK/SvEb+1AKgENNVlfM LTjyMCIHTUiZH+9NE5LBvCHnxBQ08Q/s0RzRGJ1adqy8N+SgJ/ur/w87Bkl/kH6eNNSi vnCSv0MssQ2EV/2L8ODshypVhf5q53885ZG0Y9ELcTghcHqReJUNnOdpFxXRKRATpMOW L+4g== X-Gm-Message-State: AC+VfDwx9qb6ED/f5e7PlCG9Tc76ySWOY6lx5hVO2UnwWbv7ignQZpkA h23xfgnfp+pXsv8JGV/vjGc= X-Received: by 2002:adf:e490:0:b0:309:4ee8:35ce with SMTP id i16-20020adfe490000000b003094ee835cemr946948wrm.21.1686419757181; Sat, 10 Jun 2023 10:55:57 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id d6-20020adffd86000000b0030ae87bd3e3sm7628832wrr.18.2023.06.10.10.55.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 10:55:56 -0700 (PDT) Date: Sat, 10 Jun 2023 20:55:53 +0300 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= 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 Subject: Re: [PATCH net-next 08/30] net: dsa: mt7530: change p{5,6}_interface to p{5,6}_configured Message-ID: <20230610175553.hle2josd5s5jfhjo@skbuf> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7c224663-7588-988d-56cb-b9de5b43b504@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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".