Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7339079rwr; Tue, 2 May 2023 13:08:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fCdV4Ea5XhmMwfJaEV4KieARawb8QN2V7j3VxAJQbCdvQ7jvH9rpueHc4exavTlyMA8cE X-Received: by 2002:a17:902:cec9:b0:19f:1f0a:97f1 with SMTP id d9-20020a170902cec900b0019f1f0a97f1mr22478396plg.30.1683058114299; Tue, 02 May 2023 13:08:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683058114; cv=pass; d=google.com; s=arc-20160816; b=fVFObWXeolwW1S5rawvSWPJpuwriXFuZJdsquhhfOD00Gaz3qswr9QeQui76f5Aaho nUn+kJ45VkVdbRIfGb5KzzCUhK7Y70qIldzYJ20bJzi2tYEG7f3HFPwCHRdSSS8uu/ZC aLMhXz4dNXa9LZE4Ohrd0pyHCAVSfEoQkjtKpsFfogg7HrCfky3oGRCgYWoPVVOWyqOM Wz5sRQV2xxoXt8pMzasF1/f0sRAr+ljcdp3gr4I0QMmJn2464dQL1FSYLy36R7A+G8a/ 2SwfYGp/pUce1pjczjp2RNoHam0WDuVOitEH4seRH2sImlIFcDxvqkFHpakPYXHhAWO5 Z5oA== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jRzQaQYMyheL6/9XvWrDvecv1EQ6rZdy4z1HdYKesGo=; b=dbi1gKUVZS78h8JcoC1+zbR6vVcSDQXriX+E3M2fL06tNd8++Lgt7DlrmlPfwhJRNO ugq0NbiKCAycSSVdi5UoxlJd7CC8a/0Ak0vquGZkMhsSKAEOOEvMp1AMGMq9qLNcoRuG 6uUQGAnT1EWc6Js44PgaCTEAvzeVFq0tHwPWm6neWlRXGo1fvAt1uOmL+3U31BzCGX05 MS6sdeb9mPKne1O4f0lyzv7aKyVwz1Q+NDxBZSA220Ro65oBKUbaYbZM0O5Rv9lNXQC2 3TF8wqa0MfP8nbYFb/9iGYpyHjCiVssiyEbhVH11NV21mVjN6Q/H5XEdCEMkxXxB+tQO u9Ug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=HwUlBdNP; 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 12-20020a17090a194c00b0024e437608casi339049pjh.101.2023.05.02.13.08.16; Tue, 02 May 2023 13:08:34 -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=HwUlBdNP; 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 S229662AbjEBUHE (ORCPT + 99 others); Tue, 2 May 2023 16:07:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjEBUHC (ORCPT ); Tue, 2 May 2023 16:07:02 -0400 Received: from sender4-op-o10.zoho.com (sender4-op-o10.zoho.com [136.143.188.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AFD91997; Tue, 2 May 2023 13:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683057967; cv=none; d=zohomail.com; s=zohoarc; b=iT9g+M0S+e+kRek4sdOtHe0l/mzpHdAoLIaIEuCqJR6VKV8I3ajk8qHrspCs0wjpbn5pSvgHcRY67yOIN5xlAW17IDoGHE1e0b2CuR1sEEf9SZbQ33fy99Le56jVcI3jGOLlVhL5XHi4iaWuRGLQUlxkDo4Nb+6a9KwstviZIi0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1683057967; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=jRzQaQYMyheL6/9XvWrDvecv1EQ6rZdy4z1HdYKesGo=; b=e35bLITHWvU4k3TnGL4PYr+iHwWlVDWcJxjGPRuKsdwAnZ9ClpqsOmVUccrqCQ8Y4jgDlKjxQIomNwrXIKs/q8j7g7CxinYnNw7W8ol3a5mcd49jAwL+KCeOtk19M1hfIxS16kbVI0OWtG+YLvjVFZT9RAJP0Su5ze0UG1CUBfI= 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=1683057967; 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=jRzQaQYMyheL6/9XvWrDvecv1EQ6rZdy4z1HdYKesGo=; b=HwUlBdNPExWNS3ZRm5TUZIeayBebk5apv+VrpEbHIRrfU6SY3qArHdodzmiSDME8 +7xbYgJ9gLd+Xtd22VzsnsHVarFvKcD9L4hJHrdYY7gKyZ1NP+5EddBcp4H7SQsoqEI oyflG8ls/YY7SHqW7gO//lvUUtDVX2orxAyUqFj0= Received: from [10.10.10.3] (149.91.1.15 [149.91.1.15]) by mx.zohomail.com with SMTPS id 168305796648833.62395961631171; Tue, 2 May 2023 13:06:06 -0700 (PDT) Message-ID: Date: Tue, 2 May 2023 23:05:41 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH net 2/2] net: dsa: mt7530: fix network connectivity with multiple CPU ports To: Florian Fainelli , Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , =?UTF-8?Q?Ren=c3=a9_van_Dorst?= Cc: Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20230501121538.57968-1-arinc.unal@arinc9.com> <20230501121538.57968-2-arinc.unal@arinc9.com> <5e00b4c7-8d3f-e1b2-4359-5ee8fdf92ea9@gmail.com> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <5e00b4c7-8d3f-e1b2-4359-5ee8fdf92ea9@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-3.5 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_H2,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 02/05/2023 21:30, Florian Fainelli wrote: > > > On 5/1/2023 5:15 AM, arinc9.unal@gmail.com wrote: >> From: Arınç ÜNAL >> >> On mt753x_cpu_port_enable() there's code that enables flooding for the >> CPU >> port only. Since mt753x_cpu_port_enable() runs twice when both CPU ports >> are enabled, port 6 becomes the only port to forward the frames to. But >> port 5 is the active port, so no frames received from the user ports will >> be forwarded to port 5 which breaks network connectivity. >> >> Every bit of the BC_FFP, UNM_FFP, and UNU_FFP bits represents a port. Fix >> this issue by setting the bit that corresponds to the CPU port without >> overwriting the other bits. >> >> Clear the bits beforehand only for the MT7531 switch. According to the >> documents MT7621 Giga Switch Programming Guide v0.3 and MT7531 Reference >> Manual for Development Board v1.0, after reset, the BC_FFP, UNM_FFP, and >> UNU_FFP bits are set to 1 for MT7531, 0 for MT7530. >> >> Tested-by: Arınç ÜNAL > > This tag is implied by your Signed-off-by tag. No Fixes tag for this one? I've put it with v2. Let me send v3 to remove the tested-by and add your reviewed-by to the other patch. Arınç