Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9419198rwr; Thu, 11 May 2023 14:54:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ43QjOJkQQfoZqn+pvP2vkYRkji/ogHMt+MpWc7iNSefLAGnrhoHeSlf8lk5sjaIzvbnU0T X-Received: by 2002:a05:6a00:801:b0:648:d20c:37dd with SMTP id m1-20020a056a00080100b00648d20c37ddmr7558926pfk.18.1683842084972; Thu, 11 May 2023 14:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683842084; cv=none; d=google.com; s=arc-20160816; b=QKTLxS4KwI8Vtd5SNfmhaA5eln+mbHlTXtlv2jn5wRHTDJu8iHu0RO12z68JwALtSR zWl/yZyrwEU7z0rnpdRlTyMu9COrnFAVFF2Xr0itpSVJI+2MN2SznQmpN6ck0LEjzbNd xY5bHyfsP3EVNfvAh7Sh28w4AxBKEYyKESjPHkGBPjZSSmBQkgh8vzjiZFFegI+gFQen Nq3sYnSOBg2PV2QZ4/E/SyM1QRK2lMIl2TKkvdhqvAzr8VNYsYCfGSVDvdOCu+ZNhGPz OXAG6pXFblE20Q5d6HSxBCSP7IR/ZWquwoKn6TvNXmeHj4CjwpcYuG1Xf3YJYxpEc+Kt lasQ== 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=K5gez4trhN47bLnS5W9sj8CmKovqhNPW+LkbL9c6i6w=; b=yakFSS7O0qTkof+rxrlgvFmjRA3qeb/DnTitqpOecUIvH0A0YrnP80eyRbolSV/lfc 35V3PjHKlhRaRJ52srYPCOk/a2fD/VUQmbH8n4xpidV4+S/UaE91wdRVtLL9IqG3IdSd LaXOtUirD9oqvWORLelEhiPMLNpWeFTM4+8JD6zdutnM1/1Ieq+ZYDDJzFPDx61BbBT2 HdXWxVOKAZBrIKIhztuw5KU2Uj5GVPtIWcbpH7sVH6LwKpvm4Aj5N9Gf0QGy5m7nV5SU OsGamYQrU7OME2SYVZBzahkNP3Ihei5RS8K9vbBzz/+9XFDrnwjhD601DErR11P4K1Yx vhfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=MB52x6G3; 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 y28-20020aa78f3c000000b0063d19a45a93si8757044pfr.280.2023.05.11.14.54.33; Thu, 11 May 2023 14:54:44 -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=MB52x6G3; 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 S239316AbjEKVfU (ORCPT + 99 others); Thu, 11 May 2023 17:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239319AbjEKVfS (ORCPT ); Thu, 11 May 2023 17:35:18 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F4E25BA6; Thu, 11 May 2023 14:35:15 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3078cc99232so6073346f8f.3; Thu, 11 May 2023 14:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683840913; x=1686432913; 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=K5gez4trhN47bLnS5W9sj8CmKovqhNPW+LkbL9c6i6w=; b=MB52x6G3crxSmz8AqmoSpzhJ3pHvztb5EKJA/NlbRcNunnzBPPtziH5X37dQBbYPem SBPP5TDxS6rR+5tCRUVc0qLuwiJSEGYGj0i9uuDemFK5HVDBBEJ9XQQGh+LHKAmH4Wl/ dlvCDbzDVjwAfGcic5MBfq+s6b1vyqIwOvplhhLR0/yskJBTSa5i2d8gy2r8BvayATzM gdBsUZFgMrkWnHfw/usyYQMW6x8y8/Cev9potAAANmBYlLKYGKVXvSk25peOqNhkmMKi ApGNq0my/MdtbNAo6aoWAj1wFqCV6+0sDnseBWc8/s/9SZDH6O5SHYswYJltHCfUo7DS m0HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683840913; x=1686432913; 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=K5gez4trhN47bLnS5W9sj8CmKovqhNPW+LkbL9c6i6w=; b=JfQXMzECem685lpHnQbzEp3PvZ+2aHHX9qQbQgij+SJE8f3onRqcBL+d0RNdZJmTr4 QStcb5IXfIxxl+RdeLnZ7Mnw8Zfa356FhthDWz2YuAInVRz2kh8Uh2Flu15dFGrzwR9d qj8Fm1mYr0sgDBsgO1LhasbmI9VA+HqYeEDW/DESk8ThRXIVWYEO/19fWXRkiUeLU7O0 ku84LJ1PrJG1M25IXgbtq4kRgVhk0BIFRGe6gmA+hCzqOOKJrLPyBKotrliSksFzgOIt 0eh5ExqffBmoaJpmsRo1DPKp0/AoJDDmQbKVbZootqZ2rKdEy5sDOm3DmglGJ4CYfqOj 4v/A== X-Gm-Message-State: AC+VfDxyJHkqoBBmtB7gJconkCAIrcay/2uKSkSwVeqMiK9LEtw3S6RF UPnL8hQec+Aa9tU0l56UXksGFLVavMzeoA== X-Received: by 2002:adf:dd02:0:b0:2f9:9911:93d1 with SMTP id a2-20020adfdd02000000b002f9991193d1mr17469315wrm.24.1683840913373; Thu, 11 May 2023 14:35:13 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id b15-20020a5d4b8f000000b003064600cff9sm21440858wrt.38.2023.05.11.14.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 14:35:13 -0700 (PDT) Date: Fri, 12 May 2023 00:35:10 +0300 From: Vladimir Oltean To: alexis.lothore@bootlin.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, herve.codina@bootlin.com, miquel.raynal@bootlin.com, milan.stevanovic@se.com, jimmy.lalande@se.com, pascal.eberhard@se.com, =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= Subject: Re: [PATCH net v2 1/3] net: dsa: rzn1-a5psw: enable management frames for CPU port Message-ID: <20230511213510.anpb6cj6d2zdyotz@skbuf> References: <20230511170202.742087-1-alexis.lothore@bootlin.com> <20230511170202.742087-2-alexis.lothore@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230511170202.742087-2-alexis.lothore@bootlin.com> 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, May 11, 2023 at 07:02:00PM +0200, alexis.lothore@bootlin.com wrote: > From: Cl?ment L?ger > > Currently, management frame were discarded before reaching the CPU port due > to a misconfiguration of the MGMT_CONFIG register. Enable them by setting > the correct value in this register in order to correctly receive management > frame and handle STP. > > Fixes: 888cdb892b61 ("net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver") > Signed-off-by: Cl?ment L?ger > Signed-off-by: Alexis Lothor? > --- Reviewed-by: Vladimir Oltean