Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1556357rwd; Tue, 13 Jun 2023 10:39:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6eaYf3vGAC6XTCLPVIClXccXoo426jlbpt9o00IUE9n8egDQxdSvuDvP0a2IJ5cH/CN6YT X-Received: by 2002:a17:906:99c4:b0:971:9364:f8cd with SMTP id s4-20020a17090699c400b009719364f8cdmr12258004ejn.44.1686677972833; Tue, 13 Jun 2023 10:39:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686677972; cv=none; d=google.com; s=arc-20160816; b=UxV/f0c67nQViFq1uYt7BURq/idhPalWQRPgsb5DMjV9ZG6P682mLXu5wyeQ61adm+ ZO2+LIZ9kGWqZedIWyfrKnPWJV+pTrmmirNbuA6a5El/PFFGiWEPIfFtfh/JQ3JnfnAo cXcJV3jdAlTvQBAr+xl5fUusOPMEaWcPGK6pvlVs55rVacqDxAskT5FqM8VXdBndrCdh saMQCgL3Xk+WChz4O9Ek2agzrtIv4ceuD9wj/yaN06IUoYi8/hTb8gx9FWr9+TglC2j7 zxfBQ9dLCbj/nTSqOCGGNuBTuGYc8MCglueX98rCM9yBm+aZIZRUiZlL80pxuwKiJwpl 2vww== 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=p4QInf/d1L8SrPqwFR5Nj89qGLFRXPp6zO6OZlIHQOY=; b=rcOLbPTR5RR7Oh+b96XF8akjF1kIfJa04Y0Cfx84EnrEbSM/sWf+V3rfQbRfXb1UfD unME1bYq9ka/2u0K7NTekVXbRN80fY8whgdgHXb5jcNw5x8nDsDExMbD9goXpCWjLNc8 FW9TnsC8MUNSJO0lttBw4DT0k4WZiFevJZ6hpdI7rTbeICux5wyONGZNZAfPFRs0/yxM ZJ0EvuqrDpauQtS9eqjlIc2wq9fCeMhEsgIlEN1dB+j9If7ycH1T/1t1HmJp7X6jzeuI 2j16EKGlJP0OkaLa95NeEFtSfbJmv87iayF0GUVBqik83xng8hILzQPR4bY8Viehx3pZ 2G+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=fRqlzpWU; 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 lt16-20020a170906fa9000b00977e4b7dee1si3867546ejb.751.2023.06.13.10.39.02; Tue, 13 Jun 2023 10:39:32 -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=fRqlzpWU; 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 S238333AbjFMRTH (ORCPT + 99 others); Tue, 13 Jun 2023 13:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238243AbjFMRTF (ORCPT ); Tue, 13 Jun 2023 13:19:05 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80057E79; Tue, 13 Jun 2023 10:19:04 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-970056276acso868777266b.2; Tue, 13 Jun 2023 10:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686676743; x=1689268743; 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=p4QInf/d1L8SrPqwFR5Nj89qGLFRXPp6zO6OZlIHQOY=; b=fRqlzpWU0sB1qZKgBW/YPkCOytUilldw+41kk/32WY+fGxaTwcCqRZybOQN0kKd1aE /Vlf0oUArqmJ716Wmd7b8BfJNXpfa55k3XiEkoORkhnZh/M3hPsTUoxZs1f7XxP94ap3 LL3W/w/DAzlzr2Rst2nIQtWMzz9QbBD4PEB5R9r2MqeJ5yecvzC99JtmEbtnqJenqJyL WManpolJT7MTTcgnCkggmPicvD0NXzIVGyCm1TO79agliz+eEtVywK10+F9CGqFcc/sS 7MFcTJkMNer9H4tTi9XewEe+pmypjBtCr91JXRedcbhY66pzjLrwILwSt46mDl4egAGI Q4bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686676743; x=1689268743; 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=p4QInf/d1L8SrPqwFR5Nj89qGLFRXPp6zO6OZlIHQOY=; b=mGlR+kmHgdkqfefTVrxPYz0sS/3/9Qgb/aa4YmfJsOi/rjPOmF1hbdQzMA9YZGKesx p4m4BqPlXIF08AQiySncPKcSx1w7BbeokgNmrUYpX+0E3AGSrXtyhKnPyxp0qb3bPdfe RAZ4UlvJgXU/APfRiXv1GAnmwkHGQ/8bAAIyaOFiZhzW9fI2DlFu4zKi49OuWzq/1Qpr W5lMCYxKn139BzSdXnOjKLGGUOAUeiSkGe3er09k6cHOpMZVrPwjeKOJ5Kg/DBBRBt07 yv8MITMcI87F2bqPY18uySG0NQoU2vae1JKBFPq0MusnJJ7EEHU8K8GYOeAZjlQWUgdK jWgQ== X-Gm-Message-State: AC+VfDyxwAk6QfkCEdZ0HEx9XT8K5yylUkifaNnoLV2tYQKyMB9GAjKd uuydYfcT0+Sl5EFpDaLnDZE= X-Received: by 2002:a17:907:1b25:b0:974:5d36:f3a3 with SMTP id mp37-20020a1709071b2500b009745d36f3a3mr13305198ejc.27.1686676742570; Tue, 13 Jun 2023 10:19:02 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id um14-20020a170906cf8e00b00977d14d89fesm6878099ejb.34.2023.06.13.10.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 10:19:02 -0700 (PDT) Date: Tue, 13 Jun 2023 20:18:58 +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: <20230613171858.ybhtlwxqwp7gyrfs@skbuf> References: <20230611081547.26747-1-arinc.unal@arinc9.com> <20230611081547.26747-2-arinc.unal@arinc9.com> <20230613150815.67uoz3cvvwgmhdp2@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: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.