Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1555714rwd; Tue, 13 Jun 2023 10:38:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44J704uvFZDx9IbyLtEkiRMJYB2QUtngfD1wRVRFYOkrMy67wGVEcEe8+gBSjGnrvGbMwa X-Received: by 2002:a05:6402:1294:b0:514:9dd7:4bcc with SMTP id w20-20020a056402129400b005149dd74bccmr8169076edv.14.1686677936582; Tue, 13 Jun 2023 10:38:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686677936; cv=pass; d=google.com; s=arc-20160816; b=HWf4rq0qpaC5sdqaXCNig4UMonDzyFrVtbdeKuC3mBUUYadN7BrSicOOnAdKi7hXqR SmpoZjfEoYWqpe3s+30GgKyDEwAsLWgmNUvIOo6cdHyI001nXLL3Ty6X0UT1koQBXI+j 2N9RcYTTSdPID3dn4bFe2a8Jt2w2DdJ7SimCOanXgSP/0g2bCtGzaSkhcFvgdAiI9yQv uSfHnXPkNQFwWp5c4+Wuu/8c56Vtni6OuYZgZCO3Pq7BxRSBbB8oq0/7E+jwgjtFGjer 6TWEaZmq0h14CasVT94EnqBp8FGq1C2NNEaTdUn/KH3SLI+jJ2F0W9v5+JzDwwR1GVz9 KuVw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YmlHAc0oA+Gd6qbZ+MYa616u3dHbORdC6jb4K9GdGwM=; b=K/8ADjvxi7dRtF03oFfljR19FoWjLY2cVvyuYlHtK67u4AKNxkE+wKiqNyb+qseopx rtPe35qTlo0NXSSw2yc8RCKfT+WJ1AgvdrlPiG4y+a1ncRlPE0UVKJ7AUgOag0AaFT0O izMhVMdtRdnOka6p0ANtaAXRxfvqna5YDc/khGj41v/LTijE1MxbO1w2+jqswbgACakN QKMnynhEeBxF4/v0I8yNUBhLRc8aJWuCR8/AqfUa9B95r/U0HZblAYGe1DCJeD1fYLkU njICWbMcQxVPZUI8cVWjCMVYAk6wrBR4oHM43pvBuinqOvASMKIxio4h7DotEXyETwuv Obcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=baQLGno+; 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 n28-20020a056402515c00b005187a763c10si684662edd.26.2023.06.13.10.38.25; Tue, 13 Jun 2023 10:38:56 -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=baQLGno+; 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 S231720AbjFMRVr (ORCPT + 99 others); Tue, 13 Jun 2023 13:21:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229878AbjFMRVp (ORCPT ); Tue, 13 Jun 2023 13:21:45 -0400 Received: from sender3-op-o17.zoho.com (sender3-op-o17.zoho.com [136.143.184.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9C871721; Tue, 13 Jun 2023 10:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686676865; cv=none; d=zohomail.com; s=zohoarc; b=mUSutJ4v91LRQhTNQ2N8KPrx9BmEGGldCXHyxcahlDwzevtw6fzxQyyXONweq3353zkauZtua3D0shybbjVenQ+zGBYqmQh7Ozl1dfglcbDKPsE9fs+NjLcInOtj4Ycdd3wPRnhflgyh5JJlpkH0jHhdIO5t0ak3CFoxVhRLJKA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1686676865; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YmlHAc0oA+Gd6qbZ+MYa616u3dHbORdC6jb4K9GdGwM=; b=CReqfNMQLpGsTEVB1q1q79cdA9+cVV1GtaEamLL5Xhs+CSf9G3S9dvcwqILzNyOnMK3DEfDNsSqjArw6TCpG9MxqJ5quhpwT3TO/igw7JT446pjnE2n+oNIhhFicU0qpxiS0IkjwLKzjnW1qehvnecHY4WLVPy6Xh7vd7sDaWIA= 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=1686676865; 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=YmlHAc0oA+Gd6qbZ+MYa616u3dHbORdC6jb4K9GdGwM=; b=baQLGno+CdvN4L7LkqY2lVK2b44oEj3+1/mN6K58irFUL3QE8vuoWAzKzQovWgCp I5t4K5Col/eHZNweivrGwIwgxb9SDwGrEf5u8XA15xwkTx7IxW8/dlY7EAgB4Ig5bIx FxeWXPDVig8UcpyRxmuM5KNH7AtU4/HJIogv5uM4= Received: from [192.168.1.248] (178-147-169-233.haap.dm.cosmote.net [178.147.169.233]) by mx.zohomail.com with SMTPS id 1686676863664276.1065429103859; Tue, 13 Jun 2023 10:21:03 -0700 (PDT) Message-ID: <826d89f5-1451-218c-a100-0913c98b931b@arinc9.com> Date: Tue, 13 Jun 2023 20:20:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH net v4 3/7] net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch Content-Language: en-US To: "Russell King (Oracle)" Cc: Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , 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 References: <20230612075945.16330-1-arinc.unal@arinc9.com> <20230612075945.16330-4-arinc.unal@arinc9.com> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-2.2 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_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 13.06.2023 00:14, Russell King (Oracle) wrote: > On Mon, Jun 12, 2023 at 10:59:41AM +0300, arinc9.unal@gmail.com wrote: >> From: Arınç ÜNAL >> >> The check for setting the CPU_PORT bits must include the non-MT7621 SoC >> MT7530 switch variants to trap frames. Expand the check to include them. > > ... and now you add support for this to the MT7530, which is what > alerted me to what seems to be a mistake in the previous patch. > > "The setup of CPU_PORT() needs to be done for the MT7530 switch variants > as well as the MT7621." No. ID_MT7621 represents the multi-chip module MT7530 switch in certain MT7621 SoCs. So saying "the MT7530 switch variants" already covers the switch on the MT7621 SoCs. Arınç