Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1739989rwd; Tue, 13 Jun 2023 13:31:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6CfyPRo3M/SMSQ/CMgHPFFrMwH95yjuYve/LFJNLRlRSFlcvKAdiFtTlDnEUJt9hGXB9J2 X-Received: by 2002:a17:907:a0e:b0:974:32e:7de9 with SMTP id bb14-20020a1709070a0e00b00974032e7de9mr14715720ejc.56.1686688290512; Tue, 13 Jun 2023 13:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686688290; cv=none; d=google.com; s=arc-20160816; b=R4Y7gsD1LETMMNpAgWRQqkMgE9gmDfSBva8x+hj/BkxN7SIkHnxkp/cgaLiQrzQD0L RoaCkLd/ZrmICobkpn6Y5xfPCyZrDsJ7ywd7E4unGG//pxePIvbvsLAmd3zJl+13WzzZ Tv1jZmDA+mPh9qHbvcQFdul0DktCW3DkcUjoLaLYaxNokIf/WKRBU3X7ujHlvtBsExb4 5xIb19xFjipQjsr4rNRjvisJAZkWJgfehhVdGU4sicg5oXTl29yL6aIc3LS5CAmEz2TE c1VH+fpi3G7FeybAXOlC+FKUeh1xztcClxwezGPRe51IcAgGGQdqhcHrKxRzBSBfyJnF OXXw== 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=xWHlm3foeozIT3gQKHzclsJqDsELfIpGxkKstipImLg=; b=KtC1CtfU8EynxmBp7fPIuYNMs9OlLzRMzV+8VxfQ9jXn5tQP6sTNGUuVpdJ/Xu9uHa qeVPNEi0vtaEwMc6bNZsScVdBkJhqD63IG7j/xM4t+w9Q/LwSwV/PgyWB6uydd4uHejU l7EBlKfXLh3a2HD6cdTW0A7n2wISu5FDjgBjipI0MvouRl63Jri/h0k8QIxt55ahRYT9 k/i1jkgEGf4eO7HzcnCcU8+fBFrm/VRgEzeBtqp1WfH1K+jxnsqUnE8Cg+cbR4hZozZz PJzN47Ze30UET4CwoxPZfLM0lOH/UG4JgLPkNAfl1VXzxlKv8Hr32Iq0AYL+H9kWmf1O vPNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Ka+WWflc; 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 bl18-20020a170906c25200b0095357b3921bsi7325854ejb.863.2023.06.13.13.31.00; Tue, 13 Jun 2023 13:31:30 -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=Ka+WWflc; 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 S240853AbjFMUTe (ORCPT + 99 others); Tue, 13 Jun 2023 16:19:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240862AbjFMUTB (ORCPT ); Tue, 13 Jun 2023 16:19:01 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6BCA1FD4; Tue, 13 Jun 2023 13:18:55 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-98220bb31c6so377826566b.3; Tue, 13 Jun 2023 13:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686687534; x=1689279534; 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=xWHlm3foeozIT3gQKHzclsJqDsELfIpGxkKstipImLg=; b=Ka+WWflcuLjSB0VGojDYBsHsyeBTgHMfd69b3EwWp4jZtk5SWhEnWPCmeHOdwq1REw ol2b+1m4f9Xm/SGkQLvh1fJAp2ubIBjcBncPprqMtr3YjJqquOPIGlPDrsfV/dkZIaN+ WWEuRIygJUapxIaXAUZweyT7NDfcZKurwsyZB3hmFIKDZlRPwFutz+ldlLYjIBIWTlOG I8/dSfsiXuTZ0KDLSId3QzYsLAC7mLcEvr6I7MJc0iuNM77mL7UYmeBAuzr2GaRAdpfl p+X5DsX2WkaypWve/aw1A0o8JXT4vuamCQNXkIZ9CzRje/cVDmsmA/DBU4yJ3zmA+Yi/ rDxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686687534; x=1689279534; 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=xWHlm3foeozIT3gQKHzclsJqDsELfIpGxkKstipImLg=; b=g0EECEiBSrtJRtp3ttIpW+D8zWgOncO+F0FB/agt4d/jgDyyLTO1N4UR2aA5IBv8sN Pyv2Sen31qObeZ3CLonHhbXT4BFTPdQRHoP+/6HMQkp2e7UdLCxkBXP0l7Gk5JcF8h7L aOeY76qeBCV1J6yUnh4+BxTW9f84jf4Ay/OMoSMEO2amNC5hMwsd5blyb4sch6V9BdJU ba0jrBsAK06Wj5svG8EeAkcO58aLH3Il7R+MsFL2U6aZIUhB0/sl6TkWu76G/88zoRA5 AzO/fT0sWaAOXLLUs2Wrb9Z38P8YtUx/0ICfF1auA4uUwxTB0LLkNk+67kJUQ1nl7v5/ 1Qpw== X-Gm-Message-State: AC+VfDyugd7l74wjXe70shJRDt8ZpdqtIFozbw1RBqg34uCsOMQ5Qrs6 RuifydwTO6pG7BoAloQD1UU= X-Received: by 2002:a17:906:fe43:b0:978:9b09:ccaf with SMTP id wz3-20020a170906fe4300b009789b09ccafmr14962678ejb.14.1686687533889; Tue, 13 Jun 2023 13:18:53 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id z6-20020a1709060ac600b009745ecf5438sm7029845ejf.193.2023.06.13.13.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 13:18:53 -0700 (PDT) Date: Tue, 13 Jun 2023 23:18:50 +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: <20230613201850.5g4u3wf2kllmlk27@skbuf> References: <20230611081547.26747-1-arinc.unal@arinc9.com> <20230611081547.26747-2-arinc.unal@arinc9.com> <20230613150815.67uoz3cvvwgmhdp2@skbuf> <20230613171858.ybhtlwxqwp7gyrfs@skbuf> <20230613172402.grdpgago6in4jogq@skbuf> <20230613173908.iuofbuvkanwyr7as@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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:58:33PM +0300, Arınç ÜNAL wrote: > On 13.06.2023 20:39, Vladimir Oltean wrote: > > Got it. Then this is really not a problem, and the commit message frames > > it incorrectly. > > Actually this patch fixes the issue it describes. At the state of this > patch, when multiple CPU ports are defined, port 5 is the active CPU port, > CPU_PORT bits are set to port 6. > > Once "the patch that prefers port 6, I could easily find the exact name but > your mail snipping makes it hard" is applied, this issue becomes redundant. Ok. Well, you don't get bonus points for fixing a problem in 2 different ways, once is enough :)