Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp196834rwd; Wed, 14 Jun 2023 14:32:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+748Nnur417jQVXNUl8+9CsOqo9OcBa1NI2EnYSlIOFgS83Hu9N8GTL5tcKkiTIlVNUa1 X-Received: by 2002:a17:907:6d08:b0:978:992e:efc4 with SMTP id sa8-20020a1709076d0800b00978992eefc4mr14902291ejc.8.1686778373203; Wed, 14 Jun 2023 14:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686778373; cv=none; d=google.com; s=arc-20160816; b=DLIPIn4z6ZTLkytUCeql5rzM/elRLf4/4sTmUIAorv18PgM7W7MZ1WW/YSN/jqOuy2 dCxbct+NPaAU0bdeyIArhj8RlR+JwSIXR/eMRkEzxvMo6DInO1XkJVtRxnajwVat1Sut TZWaI4I+AWcdrsQ+imAPyIUGc3wmQKPUVMR3YyxZd9TxLdQK61P25e/61+R6szovxUAX jFyqojkYRwPUlWUzBUvs7QhkpW9L7EHRfuPD5SBj+tw+n4QiyrQE/gLMJaaELwXmIBYx v9oXHN/qexJ2aGpYb0BzkN290HtJkJVl1e34AkCcYxWKDTf9W8gwIoNYwgsm0x9AMarI AAlw== 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=xt834FEuuau+dhXyiK6Us9w6s+LXDl9lf/qHhQT3U1M=; b=vVeJOeHO8JOxvo8AO6RakRJ0HsvD/umW0UYYuM/UpbgrSV9gm6UJStvV8MSXy47wE5 iuRMxTBo3Ous44REot0QQaVgnpcbuZs0uatB7VEKWBal+IMgRXGK50KyHqP8yn4YXsA8 b8S08dMSkh8+TL5BRMwZmCrm61teUXnYlCrisNAhwmDwRkTmq2xubdF++/tG6wLTGC4d 6332h3t8z7jObbhCHv/E+Vj71EPJ17aNXLsitiZWAkvLCKdjlPETfx32OQIFu2BDUR4I LOuy0MH3gUhK5fepxqpVQo/U3TUBuEep8d1TpXr72+biiPIiNDtxGjz2vwdvumgZlED3 Y3aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="m/3jIuP2"; 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 e24-20020a170906045800b0097892350c54si8286917eja.445.2023.06.14.14.32.23; Wed, 14 Jun 2023 14:32:53 -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="m/3jIuP2"; 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 S232918AbjFNVRE (ORCPT + 99 others); Wed, 14 Jun 2023 17:17:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjFNVRD (ORCPT ); Wed, 14 Jun 2023 17:17:03 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 709DFE6C; Wed, 14 Jun 2023 14:17:02 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-97454836448so160131466b.2; Wed, 14 Jun 2023 14:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686777421; x=1689369421; 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=xt834FEuuau+dhXyiK6Us9w6s+LXDl9lf/qHhQT3U1M=; b=m/3jIuP25nI+K1ul4UlfpZ9MWiYVvcJK2XUhm5e495M9I8PhvamySyxbPEXd+vaADG yu6yffQBZ+RFlOiEXnGK7hhMvXC5uzfTxC9EaLgSQUvTFyvOYa5TZCZ1gVKTie+G5Mcu 9y0+3B4ravEta/76EjZlL2qahQKDN0IRGz+dmzonLj/HC4Jg89zuGIB9DQdSOHBHm9Uw sHoidWvEbo8Ij3fOtO0q3YtEnoxgNWyIgMaShWG+2BkiTi9CJIZxawNvv5bCHhezJts5 FOY9HSyuruynbBZkznitjZx3c/tmGFH/lj+QE6GQnuBbkZjMQUJhBG3VyhSyCugHA8x1 8hAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686777421; x=1689369421; 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=xt834FEuuau+dhXyiK6Us9w6s+LXDl9lf/qHhQT3U1M=; b=R1aInpnUurVKb8Cvon0mt0d/Oi+r7Zmyt/b+5V1cQCgwc7kz0xhsm/K52HvXN70Kvw nZHkD3NVsK1XX8rsh08sUBYm9ItxRFN/Yh0qS2h5R4a1HQ8o8Iq+Ay+btjw1VljJXL1R AfMajDMUIblwrbk+HobPruOyehhVY/aFd4u54tipYJw8xUvzZ+B5cqOR3/Y9kJ7E2f6u /aIPydE0p3QIK9mcWYSbaxwt8At/OOCpm99goh/bnJ9A8TEJpi4yR1qE3PEBz76owtmi lePvNq+Z4oh1fCqwX7kFKN4xwM8reZdCQbCxSUY0J12uerdJARPT2W6UkVM2GZtTnjeB B6rw== X-Gm-Message-State: AC+VfDwKTUmLkIskuwcM5LApyj7WZ031Wr7RTHueXSrkbV7ZvewdZP+K M1z2FLOhSKJCTwPApdknyRU= X-Received: by 2002:a17:907:c15:b0:94e:1764:b09b with SMTP id ga21-20020a1709070c1500b0094e1764b09bmr14263413ejc.45.1686777420734; Wed, 14 Jun 2023 14:17:00 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id u16-20020a1709064ad000b009828e26e519sm496960ejt.122.2023.06.14.14.16.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 14:17:00 -0700 (PDT) Date: Thu, 15 Jun 2023 00:16:57 +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 v4 4/7] net: dsa: mt7530: fix handling of BPDUs on MT7530 switch Message-ID: <20230614211657.2c3ljwnlng7vxamz@skbuf> References: <20230612075945.16330-1-arinc.unal@arinc9.com> <20230612075945.16330-5-arinc.unal@arinc9.com> <20230614205008.czro45ogsc4c6sb5@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 Thu, Jun 15, 2023 at 12:05:44AM +0300, Arınç ÜNAL wrote: > On 14.06.2023 23:50, Vladimir Oltean wrote: > > Where have you seen the BPC register in the memory map of MT7530 or MT7621? > > I did not somehow dump the memory map of the switch hardware and confirm the > BPC register is there, if that's what you're asking. I mean to say that I looked at MT7530 Giga Switch programming guide.pdf MT7621 Giga Switch Programming Guide.pdf MT7621_ProgrammingGuide_GSW_v01.pdf and I did not find this register. > However, I can confirm the register is there and identical across all MT7530 > variants. I have tested the function of the register on the MCM MT7530 on > the MT7621 SoC and the standalone MT7530. The register is also described on > the document MT7620 Programming Guide v1.0, page 262. Interesting. I did not have that one. Hard to keep up.