Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98DE6C636CC for ; Tue, 7 Feb 2023 20:26:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231396AbjBGU0O (ORCPT ); Tue, 7 Feb 2023 15:26:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjBGU0M (ORCPT ); Tue, 7 Feb 2023 15:26:12 -0500 Received: from sender4-op-o16.zoho.com (sender4-op-o16.zoho.com [136.143.188.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F093E227B3; Tue, 7 Feb 2023 12:26:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675801538; cv=none; d=zohomail.com; s=zohoarc; b=MFNHmG7/lU5lU0u3G9nsYk1cs8rNbzIqyvaRcbnB5KpOJpiz1rcXcz4sK6/NjVBY85Yx21w445bxaJR5/MqgkSkguqsTnlvscLfep1WlZq8cWO9WdIvy+Q4m0k1y76tZPvz0gd428FUeZB/fW9i8YxLvjmIRZmcnLVeP9jscz8g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675801538; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=wcVHq/ToninKh97wZonejb3L1j9muvYR02fKr1OcN9Y=; b=a/fzL72QLxOBJMUYylu0AoOyhN0d2IeV0FwcwbJtUhSuYOTbkObmEChV0V77wB6yiYpWWrNgq/Bw5FHdBer/uCVKTp9ka2CCNHS8O/NkqBJBQ6KdKrNW20zagTcsRenv1Ljsa5xunkL0d2K6Yl57aGWHE6a+3kVBRoCAT87iQwo= 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=1675801538; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:From:From:To:To:Cc:Cc:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=wcVHq/ToninKh97wZonejb3L1j9muvYR02fKr1OcN9Y=; b=HCTmg4BsxKu2cQiWm7Vd0BPwN7+baK7Ii1vSGLDOApk77vppQvPowE+frPfj4Hoo SzvqIfZ/GjYhr5GhrrCd15HHkGUqMUqNRdcmc6moxU1IglCi/D+u8P3rLUEiwYmB4hF TcYGP+v5yo5mWtxVir7Y5DpnyGpPUIklqSu/82ck= Received: from [10.10.10.3] (31.223.26.239 [31.223.26.239]) by mx.zohomail.com with SMTPS id 167580153785286.01988633069698; Tue, 7 Feb 2023 12:25:37 -0800 (PST) Message-ID: <52f8fc7f-9578-6873-61ae-b4bf85151c0f@arinc9.com> Date: Tue, 7 Feb 2023 23:25:32 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH net] net: ethernet: mtk_eth_soc: enable special tag when any MAC uses DSA Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= To: Jakub Kicinski , arinc9.unal@gmail.com Cc: Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Richard van Schagen , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, erkin.bozoglu@xeront.com References: <20230205175331.511332-1-arinc.unal@arinc9.com> <20230207105613.4f56b445@kernel.org> <5d025125-77e4-cbfb-8caa-b71dd4adfc40@arinc9.com> In-Reply-To: <5d025125-77e4-cbfb-8caa-b71dd4adfc40@arinc9.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7.02.2023 23:24, Arınç ÜNAL wrote: > On 7.02.2023 21:56, Jakub Kicinski wrote: >> On Sun,  5 Feb 2023 20:53:31 +0300 arinc9.unal@gmail.com wrote: >>> From: Arınç ÜNAL >>> >>> The special tag is only enabled when the first MAC uses DSA. However, it >>> must be enabled when any MAC uses DSA. Change the check accordingly. >>> >>> This fixes hardware DSA untagging not working on the second MAC of the >>> MT7621 and MT7623 SoCs, and likely other SoCs too. Therefore, remove the >>> check that disables hardware DSA untagging for the second MAC of the >>> MT7621 >>> and MT7623 SoCs. >>> >>> Fixes: a1f47752fd62 ("net: ethernet: mtk_eth_soc: disable hardware >>> DSA untagging for second MAC") >> >> As Paolo pointed out to me off-list this is pretty much a revert of >> commit under Fixes. Is this an actual regression fix, or second MAC >> as DSA port never worked but now you found a way to make it work? > > Second MAC as DSA master after hardware DSA untagging was enabled never > worked. I first disabled it to make the communication work again, then, > with this patch, I found a way to make it work which is what should've > been done with the commit for adding hardware DSA untagging support. Should both commits be mentioned with Fixes tag? Arınç