Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1806908rwl; Thu, 30 Mar 2023 01:35:38 -0700 (PDT) X-Google-Smtp-Source: AKy350Zj2o3UhNvG0he9q5qt8MIVUB5naYrcHKrcskURcD3q7/V5z0/n+CF0ovu/+4Z8AvCWUnfk X-Received: by 2002:a05:6a20:9383:b0:cb:af96:9436 with SMTP id x3-20020a056a20938300b000cbaf969436mr1714507pzh.0.1680165337797; Thu, 30 Mar 2023 01:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680165337; cv=none; d=google.com; s=arc-20160816; b=sSVeMa46zizy0F5XHo6AWBIAc2PWwioHhmZSz4pmjw1HjWjOFHjLAFjRV9U61pZHMR YwmKsXpeHqp5MD1Eubpg2mqXFFz3DDMW3GdD1n3f9m+/JCInR9AX5YZJTyuGcRI26taa x8JPYCkKRWCHx+C+/kGQRZrWtCmOBbt3MnmnfUIw7W/ExYOpWUCERdZxGi9zfEAjGqNQ NXHsjOr09pIrqXIlqXol+rng6asPbx9sFJsxfmW9GNyZVfZXarWS9TIP4cLaNUZtV+6r 07R2xoCUTPxya9rLyNFHYZp13jRMvwlv9O6k4VVXPVGEj9v2Lxagsat+TpjGA0a3O69D 8bhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=x28SLEzPQdCr7C4E3A2BeD4cuGz8Y32FZhlqTQw6zlY=; b=ilaxn6L8EsBsBK4o0ZqpQPjHES4wcNrd3PgAlv2Xa19Ezk7ehyfF6uJq1DQXJ0h9bf rCwKOO1uv3eeD05zhozHxO31RUCLftTxFHl6uw2Sm6OTBIFGkbaT7BiVi07jzrroCpGn SJnHe8U1PhIFOBKbh4XgmaeTSQ9bfBwZMReZDs5CTs21dyYIRkg3swtjMNZmocaCpaiT gG6ZQF/YxB3LP6ZTcOkf1+JOrGO8xolyvnFrN3lwt9JiDf0P4OhNcPIKb1qNjl0qLzzm 1SIqVUh137OtN9TtAwPlsov9D/MNMdVEJ38adB4aoZL3llWlvDCPFZDwCW61N1VTVQNv 30gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AfgOq3A9; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v190-20020a6389c7000000b0050be32f3b3asi34222270pgd.315.2023.03.30.01.35.19; Thu, 30 Mar 2023 01:35:37 -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=@bootlin.com header.s=gm1 header.b=AfgOq3A9; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbjC3IeJ (ORCPT + 99 others); Thu, 30 Mar 2023 04:34:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjC3Idn (ORCPT ); Thu, 30 Mar 2023 04:33:43 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EED64487; Thu, 30 Mar 2023 01:33:40 -0700 (PDT) Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 38BB4C0007; Thu, 30 Mar 2023 08:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1680165219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x28SLEzPQdCr7C4E3A2BeD4cuGz8Y32FZhlqTQw6zlY=; b=AfgOq3A9RlfKIgj4134DuYfVT5F8UHi1E2qN5mshz6JOwnb4hwOSxqCvO3Gvi8BY0XrHT9 +ML8kkj+LsFGw9NRWPHC6bOQ4QiemcIi/3GnV47/3QnYG9Bj9SXva845mZ+xyrisJQ3gOw W+jymxkz5TIRolgCXLMpRpZSOCvEEYiiIwLQPZrLblmSMYJkfGbpfvgSkIp0IZ/0l+HTj4 Ags+Bg+EiueYD45Ag3J9eKrACvjg4qUKzaJwidtKLtisYd6IYfy8vZRgla6cSS2vVefwul Yqc4tVx97asPZNvKBI7BOb7E1UIaIEJm0cOrMXp8cMwByWoIBVGYdh8j941H2g== From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , =?UTF-8?q?Alexis=20Lothor=C3=A9?= Subject: [PATCH net-next 0/2] net: dsa: rzn1-a5psw: disabled learning for standalone ports and fix STP support Date: Thu, 30 Mar 2023 10:34:06 +0200 Message-Id: <20230330083408.63136-1-clement.leger@bootlin.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 This small series fixes STP support and while adding a new function to enable/disable learning, use that to disable learning on standalone ports at switch setup as reported by Vladimir Oltean. Clément Léger (2): net: dsa: rzn1-a5psw: enable DPBU for CPU port and fix STP states net: dsa: rzn1-a5psw: disable learning for standalone ports drivers/net/dsa/rzn1_a5psw.c | 77 +++++++++++++++++++++++++++--------- drivers/net/dsa/rzn1_a5psw.h | 4 +- 2 files changed, 62 insertions(+), 19 deletions(-) -- 2.39.2