πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5476

Re: [PATCH net-next v3 2/8] net: xilinx: tsn: add TSN endpoint wrapper driver

#5476
From: netdev-bot+sashiko
Date: Tue, 20 Oct 2026 11:58
61 lines
10567 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] The XILINX_TSN Kconfig help text says "The three-port switch is
  supported by the companion DSA driver." That driver does not exist in…

--

net: xilinx: tsn: add TSN endpoint wrapper driver

This adds a thin platform driver for the AMD/Xilinx TSN Endpoint
Ethernet MAC IP node. It turns on the six IP-wide clocks and then calls
devm_of_platform_populate(), so each sub-node can bind to its own
driver.

> diff --git a/drivers/net/ethernet/xilinx/tsn/Kconfig b/drivers/net/ethernet/xilinx/tsn/Kconfig
> new file mode 100644
> index 0000000000000..b8939d8a92ef7
> --- /dev/null
> +++ b/drivers/net/ethernet/xilinx/tsn/Kconfig
> @@ -0,0 +1,15 @@

[ ... ]

> +config XILINX_TSN
> +	tristate "Xilinx TSN Ethernet driver"
> +	depends on OF_ADDRESS
> +	help
> +	  This driver supports the AMD/Xilinx Time-Sensitive Networking
> +	  (TSN) Endpoint Ethernet MAC IP. It provides the wrapper device
> +	  and the endpoint MAC that connects the IP to the host CPU. The
> +	  three-port switch is supported by the companion DSA driver.

[Severity: Low]
Which DSA driver is this sentence about? I couldn't find one in the
tree, either at this commit or at the end of the series.

The binding in this series defines the "xlnx,tsn-switch" compatible for
the switch@ sub-node, and nothing under drivers/ matches it.
tsn_ip_probe() calls devm_of_platform_populate(), which creates a
platform device for switch@, but no driver ever binds to it.

The v2 changelog says the help text was reworded so it no longer points
at "a symbol that does not exist yet at this patch". The new wording
still names a driver that isn't in the tree and has no Kconfig symbol.

Could this sentence be dropped or reworded until the switch driver is
posted?

Two other claims do become true later in the series: "endpoint MAC" in
the help text, and "bind each sub-node to its own driver" in the commit
message. That happens when "net: xilinx: tsn: add endpoint MAC driver
skeleton" adds xlnx_tsn_ep_driver to tsn_drivers[]. Only the DSA driver
reference is still wrong once the whole series is applied.

-- 
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261016-patches_v2_external-v3-0-e33d3960ca1e%40amd.com
Technical Details
Message-ID: <179249749304.3135.18017691106528923366@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349266-linux-kernel-netdev=dewy.ru
References: <20261016-patches_v2_external-v3-2-e33d3960ca1e@amd.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349266-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v3 2/8] net: xilinx: tsn: add TSN endpoint wrapper driver
Date: Tue, 20 Oct 2026 11:58:13 +0000
Organization: Usenet Network
Message-ID: <179249749304.3135.18017691106528923366@kernel.org>
References: <20261016-patches_v2_external-v3-2-e33d3960ca1e@amd.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3846252"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:47ycc7vx9r9URaqDPDmC4VzaZKM= sha256:lW4KujuP4Zfqk/cE9VYjQEqOLcg/WmoiV1+HKjbBWYs=
	sha1:klfAK2hV8f57ul7F1/xriI6qJi8= sha256:BSs3YPuYbFYkbgXSXca5XzkOdXD1WapnukwBIGlaZ4U=
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 3EC18110CDB; Tue, 20 Oct 2026 14:58:46 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.728
X-Spam-Status: No, score=-3.728 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 UcYGMPvozI6A;
	Tue, 20 Oct 2026 14:58:42 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-349266-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 7350B110C22; Tue, 20 Oct 2026 14:58:34 +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 91FEE360AB; Tue, 20 Oct 2026 11:58:18 +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=1792497496;
	b=HAeQTqXTwIJkddm3oyFUgZ77xdsyOCt8V4DUN4xW/MAmC0IgVZKtU98HKo8JF0YyF1FH
	 BS7i5db78z9GicDvBn7287p9z9t+XbrIaD6e4eyXucKlhTKNiYWQyJiLVPJRGHi46w+bZ
	 eSBLo+GNHihrit1gfcDAWMv1kduDSbFkr85Eb5evyvi828kMMIYpD2qN3T6zhkdPbRNr3
	 Ok07xDD0sD3AjhixitnBR05PjspCdAunm27HS2K8nayOHFmuThwfLpUD2kLwMAre6ntlT
	 vD9ihTZsfL1uQBSoFvmM66vJPnXcVT5C4BgOmQmjGngyDIgmy3RS+znNCPUAO4x0dYA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792497496;
	h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc:
	 Date:Message-ID:In-Reply-To:References:X-sashiko-severity:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version;
	bh=N5SQ/KnAN/P3YdcqF5GR7+EQ6sknDHr2tVK2ulo6pU0=;
	b=loFHgfpEbFzd8KA4ntkWyBXjUzoR5DrJZFxI8praH9O/Ads6MynS7M21ExPlXZgwe65J
	 UPoq8NRYLsUmS9T0qlXbm4njYYTLL3LqaSupIsVOmJvzAH4vUvvftzuXE5jEfF1gU49w6
	 53v1vvpZ+p5d3PgrwNO5WYgX2B8F2TG+BdZZj+KX9hbZkaXG1IrRsIxIqN52icddJwQTv
	 AYlpkWF9cMGJGvn49kCtr/OaGPhJS4Lm6xTsUSw4kZVC5y42Bzey9Nu9ozerUDDdcOcYq
	 rvSSTAx2IDqEX7yNx6Z8Szkg7pZ4+aiVcGznzAhD7jEM8YPunRQvBJddVRM1j6d+MSA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=d6GwepX3;
	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 05845606A31A;
	Tue, 20 Oct 2026 11:58:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=d6GwepX3
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792497495;
	b=nNnThG71OdYhcXg+auo5FNolKshVkdt8+EDvmPtVDU96GYk1OuHCW+sIUyrVzmaE3uAW
	 s7kUdv1K+3vj3uy/9PFwIiGLc9E7uIrU+5o/zSbowuIvvoqKcPqkn3IJMNzNXOM9qW0c3
	 yURGG2T3TYpeFRIcetKORZwGBz+sBnUFFFupskyD9Eh20A/bs04O3va6n/rzbjlzSgLWX
	 ZRrkJXsWEeH6snLp1GmAH6e3sVHgS1HurJ4rYAXy1+PYuBut1fIe+sQTFgGirWAFmX8UT
	 Nvc5sRO/eTtXt3Iub/1PMz0Ahp1vbM+kYIPIkqVVQRSktqNEe286jgVhDwjSAc7GrQA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792497495;
	h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID:
	 In-Reply-To:References:X-sashiko-severity:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=N5SQ/KnAN/P3YdcqF5GR7+EQ6sknDHr2tVK2ulo6pU0=;
	b=IBqA1dFz27hScJZPOLbNdlDJIG2m/2ln3YQQU2uv75qUbINOAou5BxauE9AEbuqHAsvP
	 rQV/Ucks3wwwPc4IiIAOgix/EUEBnrFuDlx2+fSGq8u/L3JhIqVoeAqSg0Er/k9OVW8vX
	 K9stYjYBrVREgV4m4V/sCN5z7xsbKafSLJQij9ULyE7eQp43+CyBOXXqQ1CTGfoEZMNnH
	 SjBaNUYOQ35QODJ5JkXOtUBL2Jr3tB8D6eXNEgVEsisLehXfDzSgA878HjNDOSNON06lu
	 s223t1HtA1dnDYz9EkCa4/4zasLTKbkL4HVr08NB7iBLzXIhJ0aiTt4/MRfzQuvfAmA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=d6GwepX3;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5F53606A327;
	Tue, 20 Oct 2026 11:58:14 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CCFA1F000C5;
	Tue, 20 Oct 2026 11:58:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792497494;
	bh=N5SQ/KnAN/P3YdcqF5GR7+EQ6sknDHr2tVK2ulo6pU0=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=d6GwepX3DTkOAWX1RW20wID4QIymqhqVsnx0A44I+LsetCRfpUEX6T06TXw4x+ZzX
	 hPq0cuAjK3U03pRypzivioAHrk7fQWCE+cOT5x/CnO1AIuiKaqz45g85wsMRfpd12R
	 zD+ER306Mv5oLEA0UtGhZSiCwPtyhxPj+KQtQTS2kN3CfQhE75p9KhOruiLemUegDx
	 HOVn3iHn/Q3CGG4MSG64R1BwEdQpo6cIzhe08DIBYYWVgAEGI7esw9XnY5E2rs7Gp8
	 BWbYXWblGwjgzFpbglfZWoY0VC0OwfaPy8r5c5Y50Pba57+56bYcqG0mhQiIr1n4Gg
	 aY5EZ21xNiaDA==
X-Cc: nagadheeraj.rottela@amd.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org,
 conor+dt@kernel.org, richardcochran@gmail.com, michal.simek@amd.com,
 bigeasy@linutronix.de, clrkwllms@kernel.org, rostedt@goodmis.org,
 edumazet@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org,
 linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
 linux-rt-devel@lists.linux.dev, neelisrinivas18@gmail.com, git@amd.com
X-In-Reply-To: <20261016-patches_v2_external-v3-2-e33d3960ca1e@amd.com>
X-sashiko-severity: Low
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