🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17176

Re: [PATCH net-next v3 0/2] net: stmmac: Add RK3572 support

#17176
From: Andrew Lunn
Date: Mon, 16 Nov 2026 13:43
58 lines
10884 bytes
On Mon, Nov 16, 2026 at 03:39:13PM +0800, Cunhao Lu via B4 Relay wrote:
> This is one of the subsystem submissions for RK3572 support.
> 
> This series adds the RK3572 GMAC bindings and support for both Ethernet
> controllers in the Rockchip stmmac glue driver. It provides RGMII and
> RMII mode and clock control, together with RGMII delay configuration.


> 
> The RK3572 SoC has eight CPU cores: two Cortex-A73 cores and six
> Cortex-A53 cores. It also integrates an Arm Mali-G310V2 MC1 GPU.
> The OK3572-C board provides two Gigabit Ethernet ports, three USB3 Type-A
> ports, a Type-C dual-role port, eMMC, microSD, and UART.
> 
> Testing was performed with Debian 13 minimal and Linux 7.3 on the
> OK3572-C with the FET3572-C module.
> 
> Passed functionality:
> 
> - SD and eMMC complete the firmware, kernel, and root filesystem
>   boot chain.
> - UART console works at 1500000 baud.
> - SD read/write and data persistence checks pass.
> - All eight CPUs start; CPU frequency scaling and hotplug checks pass.
> - Both Ethernet ports obtain IPv4 addresses and pass bidirectional file
>   transfers.
> - All three Type-A ports pass USB2 and USB3 enumeration, data transfers,
>   and reconnect persistence checks.
> - Type-C host and device modes pass in both plug orientations. Physical
>   reconnects correctly select the expected device, host, and device roles
>   in sequence.
> 
> Stability:
> 
> - Repeated cold and software reboots complete on SD and eMMC without data
>   integrity failures.
> - A combined CPU, memory, network, SD, and USB3 stress test completes
>   without a crash, lockup, CPU offline event, or thermal shutdown.
> - Ethernet error and drop counters do not increase during bidirectional
>   network tests.
> 
> Build and checks:
> 
> - The kernel, modules, and board DTB build successfully.
> - The series passes checkpatch with --strict.
> 
> Untested hardware and paths:
> 
> - NPU
> - PCIe
> - GPU, video output, and audio
> - Other low-speed external interfaces

Most of this is irrelevant for netdev. Please write your merge commit
message for the subsystem doing to merge.

Andrew
Technical Details
Message-ID: <d9114295-47ac-4fa7-ab4a-db631a46b363@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364346-linux-kernel-netdev=dewy.ru
References: <20261116-add-board-ok3572-c-net-v3-0-a957fdcd9c7a@qq.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364346-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v3 0/2] net: stmmac: Add RK3572 support
Date: Mon, 16 Nov 2026 14:43:25 +0100
Organization: Usenet Network
Message-ID: <d9114295-47ac-4fa7-ab4a-db631a46b363@lunn.ch>
References: <20261116-add-board-ok3572-c-net-v3-0-a957fdcd9c7a@qq.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2074730"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:bTKHFra4K18zkpNBJgoogSSckmY= sha256:4VZsNPsK9e9owMKlvnQPzTn6mcN3r9m7j2TV34Y6Tlc=
	sha1:hLiQ6lBrtmJc9DICqNQ3vBaV+n0= sha256:Viw1vNf5+vvZcWUbU26xncTOaY/p4SR6ZsF93kzXO1o=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 73DBF114C29; Mon, 16 Nov 2026 16:44:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id OGwHmO-38b6Q;
	Mon, 16 Nov 2026 16:44:08 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-364346-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 8A997114C28; Mon, 16 Nov 2026 16:43:59 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 35A5E2AE1D; Mon, 16 Nov 2026 13:43:56 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794836632;
	b=2ta0c1ajX/We16E9KpzCS+DMD7myxfh0VtsPK6UvF/Dulw7z8+KZUd4lJuLdez9zP9ic
	 g4p0ES9GOu71oDVZv9rRNa3A3qzvFbIUOT2U45B8fE4cokVCJiF5Q/Eq8zMADkfPt2axr
	 xjYOaHxOrRxMdIG+BW0q1QUHZ+J7Tyjfc85jIr63uEOt5LRXfkgNV+FkicahB8xzmP0Fk
	 4l/3vUrul7GkSUR/G2bDDKEPoFEeSW6k2ZzO7hCXBNVdqLx5AecblKQ9+FW0iY1oJBHSY
	 r0RNOtXa7wuKwauXqZrTbZKfs+FTnGoxZ0N/w92xb65WHOdNNvWhYmiASHyDi7gxMFg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794836632;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=OgpKVi56iYyrqQb1XrLNVi7ftcITPhmk6C7+krOK81I=;
	b=KTJ4SX6kI5ItRfhwtliW7yyr73Thm0Ehg1jHxCgt/Dw0DB5nOT5OiG/00rg0vfs/3Th+
	 1Gj76FWmCUacwXAIwea1cewC33VRxsLhbfztnKop9GfYx32KgYNiMzzSKQZUZKXp3C4Ih
	 KtRN4QFIDZSqvMfhsrG3WyJh/dZb0HAX02sbEhFBzKKNhD49IkfcuwTGRchySkK/b04kp
	 GDRYtCxiLRU2JVD+y6YdqsbdWtmSaK0pPPkg7R3qhGHwfQiHwhprPW8tn5u+/OfWBXrXk
	 c+KqI8IV7cg5iUUxKLtC+GrJvJb33mMH6je7bh8V2YjCgKPKLzaI4XA0Rroi03q5C8Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=NzhE4WrA;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 950E6606A336;
	Mon, 16 Nov 2026 13:43:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=NzhE4WrA
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794836631;
	b=T6pZICWG+MYnlMT1230UZrWMKgKGc/ygFnPPYZ2WX0Ai5nG37CyCqbIKeUZVcWOBoQ9J
	 RTDRuD3k12l7IRbiqje18PpiQaLIz+PM2N/PLR031xLMR/KyIpUtznBVpw4x5roVUYJ8Q
	 YqWrNGytXmsxAMbCshfRdxUgEOgsk/3eDIJdFKrXPinBUtJ9xWb7h3pQP22o+7VaTZ3gB
	 5b3uR8C677oMpdP8TBlA5UUz4hnKqrpppsKFMmecajrVi7JPqMgJrdxQOocE8Ofbu6n+i
	 fy31fbbVW2FdFFdXCvXCLTPHgAmaGhlB9TBncOBwEnkdNnlzDDFkDxs/uw+8OZ7+arQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794836631;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=OgpKVi56iYyrqQb1XrLNVi7ftcITPhmk6C7+krOK81I=;
	b=jFuGva6JDy65TLXRveLMl53da45xRuVJMyBEIxr4RYATe2wxIfZRpp3/sBKhk2vVpT6p
	 CBDA6GwHC8Rs783Blqs0wF0zI/81IZZYWVKb3q4AInKzx2vVYFQf5r/S9JlLRv/ven/8N
	 GFCyc3Pn7r8eP/ll0GhcaJMWcDkZroLXUsgVQvYh04Z9whgaHO5ZFtIk59xTByZDx6dPI
	 AZkxN6cyujkzXSP/5Ci3NvN/ybhdlG3ZA5LP5hUYc4jkUgeXv9H8C3J+8/VTHQARVESJT
	 EjA7DNRQ5KJhGaijyVelNwwJlT0AGghM8DV0e9oAgXnHPIEbWAhmi/ffzTmsD96AFdA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=NzhE4WrA;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B234606A323;
	Mon, 16 Nov 2026 13:43:51 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6B234606A323
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=OgpKVi56iYyrqQb1XrLNVi7ftcITPhmk6C7+krOK81I=; b=NzhE4WrAx6sZNQUV4/SVRdwpX1
	6Xt5b3BQMx6CM6lrifP4tOmcFTEPbB2/61J9kecr/gJvgzWS+IGsuRTW1yM+/spsRSki3b5pvmzxW
	p69T2L2cWesX2gauOjZ1EA7x0kP/6vGP0qVHV94jhbUh3KqJz8Y8vvwfZ2YI8MYLEGgc=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xSwzV-00GvKE-JM; Mon, 16 Nov 2026 14:43:25 +0100
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>,
	David Wu <david.wu@rock-chips.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Jose Abreu <joabreu@synopsys.com>,
	Maxime Chevallier <maxime.chevallier@bootlin.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261116-add-board-ok3572-c-net-v3-0-a957fdcd9c7a@qq.com>