Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1084755lqd; Thu, 25 Apr 2024 05:50:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYxP/0DsB+r6C79DPUJtJabISTePmyiAHltInngwNx7v2rcTz6uvIXWHT8F087uP8UVQi+5uoVN9j7m5lotE2/XOWy5tz6/fCsnmwZxw== X-Google-Smtp-Source: AGHT+IErK56UKFvDsOPQdssoD/8XEKoezM/zkbt/e8Lj1n4bE01H16IIpAeXsH9VqAlN+jHiko24 X-Received: by 2002:a17:906:2dda:b0:a55:41fd:a013 with SMTP id h26-20020a1709062dda00b00a5541fda013mr4123645eji.23.1714049413922; Thu, 25 Apr 2024 05:50:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714049413; cv=pass; d=google.com; s=arc-20160816; b=nclS2jUhB/1pATSn6AaEXXv1uhX0sLfu0q93hERLA7lbaYSUYWLLAnLtV3VyvqUNgx F7ZrUGEsi6UMNNZt3DtmcXprVu/p21GRxMztipo4vN1UZ0M90fzqfXet0BAYBaOUmlT8 neSvJiAgTFQHfRNWZRmC9pAt+ZQOYePfdbr7+DETuU6un3vVdJ0Obc3PvDwYisk8Xrs9 BrXF5p2rAwQkbBqNGq3s13w50QmH7znNKfxAQJR5BAojHwe4Br4kpNAOKqOLwmwmnijG F2U1z2GI1IdD5nKvi8edfl6IOfbTCtcCRhsF3PLC4PZIZ5bXNK/zFVS07m6zk6x5RTH7 JDmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=pBncPexiffxuM9dB1kO6x/SRA5d9BHphwHO927Go6PU=; fh=Yu8l9KjV8p/zzQw9H9jZijhDFiVfJPQhYhNjL9unBpk=; b=A/vXx9FqlvtkXpdqsPiAQimPuE2Fr8rXqgV39jzdWMbKc8ARYvog1gIhTeSp4FWkgM 0T+74KxcX1j3cwyo2970QZHmih9tBfDkzBjHxnFatGZE2Iz6TmkMfBWmglvgMWMhbpvO Z2swiHkzl2J07/kKFNF02B9nyIH2eveC2uk9tTgSjU1SK6HsVIBjomuo4zhxGvo4Ml3h c+h7hOMeG09PJVpqG6dve2ra7XVpTbOtnUiUAXFiHXKPbg2yAJL9pRqlesUpLIUAe0xR I/EA0I3sWA/4Ps0zyvtvmKMS58iXYA9Scf/QhOsVm4C4b72SuzK9nbLm1N2ZNyCGSvqz ow2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-158551-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158551-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i22-20020a1709064fd600b00a52385c9a7fsi10815402ejw.681.2024.04.25.05.50.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 05:50:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158551-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-158551-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158551-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A53C31F2356A for ; Thu, 25 Apr 2024 12:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51528149C68; Thu, 25 Apr 2024 12:49:50 +0000 (UTC) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC531149C41; Thu, 25 Apr 2024 12:49:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714049389; cv=none; b=DEieyZ/wRgCYR1A2wiCTyQmNlRDp0YnsxB0ZE7RsNFJPxF132mlyJ7pj7uojX5S7P/dgTWOxZ3va538578ykgIQS6SonSQuHh0uSgFnIK/UlaaA4CtmQErD+/Zp9/EAui3S9IYqi/rVGc2TvfjbWt+T5ac8pQgPSWnxVAQG7AHo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714049389; c=relaxed/simple; bh=TRTPpsVvtSlamQNa6WIDCztS4UVt83J5kzZZOXt95FA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V6Zfi9nRpHrUm5/lF9s3QTIiGGFEDVgsY3GRWUAOGAztv89ZPZEkPd+Km0X+D+dtoUfxQ84o0qzGxKvQDiHZ02Jmo0GCT29A/ncRkApkK0KE+eQuyMVHA2dbp+4AhqpdT7QC1jXnSguKroueEtct3TTiOup9Y0M1wGzurasKPPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1) (envelope-from ) id 1rzyXc-0000000033E-3DOF; Thu, 25 Apr 2024 12:49:32 +0000 Date: Thu, 25 Apr 2024 13:49:28 +0100 From: Daniel Golle To: arinc.unal@arinc9.com Cc: DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v2 00/15] MT7530 DSA Subdriver Improvements Act IV Message-ID: References: <20240422-for-netnext-mt7530-improvements-4-v2-0-a75157ba76ad@arinc9.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240422-for-netnext-mt7530-improvements-4-v2-0-a75157ba76ad@arinc9.com> On Mon, Apr 22, 2024 at 10:15:07AM +0300, Arınç ÜNAL via B4 Relay wrote: > Hello! > > This is the forth patch series with the goal of simplifying the MT7530 DSA > subdriver and improving support for MT7530, MT7531, and the switch on the > MT7988 SoC. > > I have done a simple ping test to confirm basic communication on all switch > ports on MCM and standalone MT7530, and MT7531 switch with this patch > series applied. > > MT7621 Unielec, MCM MT7530: > > rgmii-only-gmac0-mt7621-unielec-u7621-06-16m.dtb > gmac0-and-gmac1-mt7621-unielec-u7621-06-16m.dtb > > tftpboot 0x80008000 mips-uzImage.bin; tftpboot 0x83000000 mips-rootfs.cpio.uboot; tftpboot 0x83f00000 $dtb; bootm 0x80008000 0x83000000 0x83f00000 > > MT7622 Bananapi, MT7531: > > gmac0-and-gmac1-mt7622-bananapi-bpi-r64.dtb > > tftpboot 0x40000000 arm64-Image; tftpboot 0x45000000 arm64-rootfs.cpio.uboot; tftpboot 0x4a000000 $dtb; booti 0x40000000 0x45000000 0x4a000000 > > MT7623 Bananapi, standalone MT7530: > > rgmii-only-gmac0-mt7623n-bananapi-bpi-r2.dtb > gmac0-and-gmac1-mt7623n-bananapi-bpi-r2.dtb > > tftpboot 0x80008000 arm-zImage; tftpboot 0x83000000 arm-rootfs.cpio.uboot; tftpboot 0x83f00000 $dtb; bootz 0x80008000 0x83000000 0x83f00000 > > This patch series finalises the patch series linked below. > > https://lore.kernel.org/r/20230522121532.86610-1-arinc.unal@arinc9.com > > Signed-off-by: Arınç ÜNAL I've imported the series to OpenWrt as pending patch and (briefly) tested it myself on MT7988 and MT7986+MT7531 hardware, with very little changes so it would apply on Linux 6.1 and Linux 6.6. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=d40691a5fb9415976bc917d1d96a0a6da99f2dc1 So for the whole series: Tested-by: Daniel Golle I will review the patches individually in the next days. > --- > Changes in v2: > - Add two new patches to the end. > - Patch 13 > - Add the missing patch log. > - Link to v1: https://lore.kernel.org/r/20240419-for-netnext-mt7530-improvements-4-v1-0-6d852ca79b1d@arinc9.com > > --- > Arınç ÜNAL (15): > net: dsa: mt7530: disable EEE abilities on failure on MT7531 and MT7988 > net: dsa: mt7530: refactor MT7530_PMCR_P() > net: dsa: mt7530: rename p5_intf_sel and use only for MT7530 switch > net: dsa: mt7530: rename mt753x_bpdu_port_fw enum to mt753x_to_cpu_fw > net: dsa: mt7530: refactor MT7530_MFC and MT7531_CFC, add MT7531_QRY_FFP > net: dsa: mt7530: refactor MT7530_HWTRAP and MT7530_MHWTRAP > net: dsa: mt7530: move MT753X_MTRAP operations for MT7530 > net: dsa: mt7530: return mt7530_setup_mdio & mt7531_setup_common on error > net: dsa: mt7530: define MAC speed capabilities per switch model > net: dsa: mt7530: get rid of function sanity check > net: dsa: mt7530: refactor MT7530_PMEEECR_P() > net: dsa: mt7530: get rid of mac_port_validate member of mt753x_info > net: dsa: mt7530: use priv->ds->num_ports instead of MT7530_NUM_PORTS > net: dsa: mt7530: do not pass port variable to mt7531_rgmii_setup() > net: dsa: mt7530: explain exposing MDIO bus of MT7531AE better > > drivers/net/dsa/mt7530.c | 294 +++++++++++++++++++++++------------------------ > drivers/net/dsa/mt7530.h | 289 ++++++++++++++++++++++++---------------------- > 2 files changed, 297 insertions(+), 286 deletions(-) > --- > base-commit: e1bc03d8372ac081810c2956cd244ed9899f9a02 > change-id: 20240320-for-netnext-mt7530-improvements-4-95430d150c05 > > Best regards, > -- > Arınç ÜNAL > >