Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1568843rwd; Tue, 13 Jun 2023 10:52:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7j+xO4KjyT8DMpsVdze4sW/3UrCyhryK1yQbpZBglvB2Z0hgpWjgU+uBgMB4Ljt9RWjqhA X-Received: by 2002:a05:6402:658:b0:514:9528:6e6f with SMTP id u24-20020a056402065800b0051495286e6fmr9225002edx.7.1686678726174; Tue, 13 Jun 2023 10:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686678726; cv=none; d=google.com; s=arc-20160816; b=x21yj3uv5esutAVTNWZnfoUoI5sC37/Ptry/0dtaQ/Jx6TO8VCXNTXj63UU1Io0sv4 O5JKwmnakqs/gxE6M1hbqVlFTLREc6St+Ja2sf54dPidHPTjf3+nYg3B/+GdPyIkxgQN vrT9opXijW9rPiWIFtbRXl9V8feqyr3ul8M+asireIPvsW56GfMXBNo9SDRgBSTl+QL7 CL2fk/7Mn5Lko8UsJiFqSc7gdnfVkrSzjqPecWH/OqFXWVp2USkG8lvir15zHj2p6nbl shzlERCP3rMdmQVzDXzrI/EN0hSj1OhOCqQ+aHyPxu6ZUNHOP1G2PmO+mPwl59VDdq5+ FZww== 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=ODAKB6kMlEX4PRQW3AKishpUPeUFtuBOriTsESRpwjE=; b=hHw8raFwfRIIfEjzJGUr2sdkQfbcpay2gDlW/VUzOl6Ks9lQ1wH0SDQkJPTAV6LElX TSSXFFe8wtM7+Z3v7cegU4U/f6B0VRb3BAAcj9JbrdchlyHrs86uTa60OMZZVMmGlwWJ YUec7wYoLGt0EZUNDgUZBDLtfa07t3asjRTE5rEtQPQMi/Kg4M2ldirfexS3IuVfVc1Q BQESWyfjaCgcTNFYSxU/IZimj+LkrSj4bb5zV9qNdHrHg18aVDl0eJjPt14oyTqGAnG/ Tz7BkoTInItck8cq4IndT5b++CuzBIwS4myNgZVvB/Txt5FUIHVNGCw/3/We0HwuxRd4 sovg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pLcwynQ+; 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 o23-20020a056402039700b0050bc4a2975bsi7730264edv.681.2023.06.13.10.51.41; Tue, 13 Jun 2023 10:52:06 -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=pLcwynQ+; 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 S231285AbjFMR0k (ORCPT + 99 others); Tue, 13 Jun 2023 13:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240237AbjFMR0U (ORCPT ); Tue, 13 Jun 2023 13:26:20 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B499E212F; Tue, 13 Jun 2023 10:25:30 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f62cf9755eso7160450e87.1; Tue, 13 Jun 2023 10:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686677046; x=1689269046; 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=ODAKB6kMlEX4PRQW3AKishpUPeUFtuBOriTsESRpwjE=; b=pLcwynQ+oas3Kb8/0F2Hz+m1VyNqeFVV/YvMS3XyBpbDFLR9FXZUR6LeBm7+9BXefh wLOkX1dHxIrIqJEOlqpZKVWZEhQ6AyDg+0q04bVX/KIt8AWuHx8OeocQHM8a9c/VE9X7 25cjyEZNsk5E5nqTacfHBbh9IzcKjq2g5ij39zdum0KJ80EO5bucu2dsGlb0DyTlvIWe HUkun7St2gyaZEJw+AXCTo2MJx8inmwAcnyqVjvRowRrewcQ7Z+qJF1QEfRY3uxBFq9S XwwapRDwqoqzVWG1L/7OIOb4cH3MIdS2twG/T+dfZ41jDSPJugwYd7t7hf9MKaRDQXLX jIFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686677046; x=1689269046; 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=ODAKB6kMlEX4PRQW3AKishpUPeUFtuBOriTsESRpwjE=; b=NtE05oPC8iABwHHEUlB9IMAVYpZMxtr8LHEQRBlrtrq33kke0vvJ6IlI0PS7rUl6Eg w9b1o+d7gdfW290o2cdoVEWNo+rSn5dmmpG26IEb70JFPofB/OSDsDk8B7cYRh+Cp5Kr EbIZRUI/50sK9Ny+PvafJRK0+az0eIV0squlhCFdJoiqFhy81/lDFHeqps06tfw7xQpA bwTROj/fFHBMSM9v0xw0j/ov1Ug+8jCmXALmmUIA3kAXTkQRleTFCwGDFiRCNBbln2l/ e/gnKBYLPCi+t+wQdvUw0emsO7Du18M/3G+cvRsuYVPtMO8sYi89ieQ3A0yjC5TmB6H4 k03A== X-Gm-Message-State: AC+VfDwy/JzuwLDhoRob8utD1UY6UzKQQuScvLE5MblJaaPOTA2lJQOi sJIqzvY8NGDH+zOq2nT4u5E= X-Received: by 2002:a05:6512:3284:b0:4f3:b49b:e246 with SMTP id p4-20020a056512328400b004f3b49be246mr7076497lfe.5.1686677045828; Tue, 13 Jun 2023 10:24:05 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id e3-20020a50fb83000000b0051879590e06sm982088edq.24.2023.06.13.10.24.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 10:24:05 -0700 (PDT) Date: Tue, 13 Jun 2023 20:24:02 +0300 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: 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 , Russell King , Frank Wunderlich , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net v2 2/7] net: dsa: mt7530: fix trapping frames with multiple CPU ports on MT7530 Message-ID: <20230613172402.grdpgago6in4jogq@skbuf> References: <20230611081547.26747-1-arinc.unal@arinc9.com> <20230611081547.26747-2-arinc.unal@arinc9.com> <20230613150815.67uoz3cvvwgmhdp2@skbuf> <20230613171858.ybhtlwxqwp7gyrfs@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230613171858.ybhtlwxqwp7gyrfs@skbuf> 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 Tue, Jun 13, 2023 at 08:18:58PM +0300, Vladimir Oltean wrote: > On Tue, Jun 13, 2023 at 08:14:35PM +0300, Arınç ÜNAL wrote: > > Actually, having only "net: dsa: introduce preferred_default_local_cpu_port > > and use on MT7530" backported is an enough solution for the current stable > > kernels. > > > > When multiple CPU ports are defined on the devicetree, the CPU_PORT bits > > will be set to port 6. The active CPU port will also be port 6. > > > > This would only become an issue with the changing the DSA conduit support. > > But that's never going to happen as this patch will always be on the kernels > > that support changing the DSA conduit. > > Aha, ok. I thought that device trees with CPU port 5 exclusively defined > also exist in the wild. If not, and this patch fixes a theoretical only > issue, then it is net-next material. On second thought, compatibility with future device trees is the reason for this patch set, so that should equally be a reason for keeping this patch in a "net" series. If I understand you correctly, port 5 should have worked since commit c8b8a3c601f2 ("net: dsa: mt7530: permit port 5 to work without port 6 on MT7621 SoC"), and it did, except for trapping, right? So how about settling on that as a more modest Fixes: tag, and explaining clearly in the commit message what's affected?