🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23045

Re: [PATCH net v5 00/14] net: pse-pd: assorted lifetime and error-path fixes

#23045
From: patchwork-bot+netdevbpf
Date: Thu, 26 Nov 2026 11:40
70 lines
11802 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 18 Nov 2026 19:39:43 +0100 you wrote:
> Fixes for the PSE core and the pd692x0 driver, found while working on
> the PSE controller teardown. Most of them are about what happens when a
> controller unbinds or fails to register.
> 
>  1  The kfifo is too small: podl-pse-regulator and any controller with
>     0 or 1 lines cannot register.
>  2  Removes two checks that can never be true. Not a fix; it makes 3
>     smaller.
>  3  A module reference leaks when reading the port state fails.
>  4  A failed IRQ request stays in pcdev->irq, so unregister disables a
>     line another device may own.
>  5  The notification worker can read a PHY that was already freed.
>  6  Setting a power limit checks the PI state without the lock.
>  7  A power domain shared by two controllers is freed when the one that
>     created it unbinds, or when registration fails part way.
>  8  Unregister frees the PI array before it stops the IRQ handler and
>     the notification worker. The worker can also be queued again
>     during unregister.
>  9  Unregister frees the PI array while a lookup can still find the
>     controller.
>  10 The PI regulator ops can run after the PI array is freed.
>  11 A failed registration leaks the kfifo.
>  12 A shared power domain's supply handle goes stale when the controller
>     that created it unbinds.
>  13 pd692x0 leaks its manager power budget when probe fails.
>  14 pd692x0 crashes on a manager supply that is not resolved yet.
> 
> [...]

Here is the summary with links:
  - [net,v5,01/14] net: pse-pd: size the notification kfifo after defaulting nr_lines
    https://git.kernel.org/netdev/net-next/c/374589c02b1f
  - [net,v5,02/14] net: pse-pd: remove dead pi_get_admin_state() checks
    https://git.kernel.org/netdev/net-next/c/3bbb278ccc73
  - [net,v5,03/14] net: pse-pd: fix module refcount leak in pse_control_get_internal()
    https://git.kernel.org/netdev/net-next/c/d1e25868c63b
  - [net,v5,04/14] net: pse-pd: do not keep a failed IRQ in pcdev->irq
    https://git.kernel.org/netdev/net-next/c/d4917898edb1
  - [net,v5,05/14] net: pse-pd: do not reach a freed PHY from the notification worker
    https://git.kernel.org/netdev/net-next/c/788ab871cce2
  - [net,v5,06/14] net: pse-pd: check the PI state under the lock when setting a power limit
    https://git.kernel.org/netdev/net-next/c/dd81d889a87a
  - [net,v5,07/14] net: pse-pd: do not tie a shared power domain to its creator's devres
    https://git.kernel.org/netdev/net-next/c/7bb86f016211
  - [net,v5,08/14] net: pse-pd: stop async event sources before freeing PI data in unregister
    https://git.kernel.org/netdev/net-next/c/bab065ee89bb
  - [net,v5,09/14] net: pse-pd: unregister from the controller list before freeing PI data
    https://git.kernel.org/netdev/net-next/c/89015cdd7920
  - [net,v5,10/14] net: pse-pd: keep the PI data until the PI regulators are gone
    https://git.kernel.org/netdev/net-next/c/83683cb6ae01
  - [net,v5,11/14] net: pse-pd: free the notification kfifo when registration fails
    https://git.kernel.org/netdev/net-next/c/0cfc9d478abe
  - [net,v5,12/14] net: pse-pd: use each PI's own supply handle for the power budget
    https://git.kernel.org/netdev/net-next/c/7abc960054eb
  - [net,v5,13/14] net: pse-pd: pd692x0: release the manager power budget through devres
    https://git.kernel.org/netdev/net-next/c/758dcea92de2
  - [net,v5,14/14] net: pse-pd: pd692x0: defer probe while a manager supply is unresolved
    https://git.kernel.org/netdev/net-next/c/9e83fadf3887

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179569320852.1770964.6389266555271149762.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372066-linux-kernel-netdev=dewy.ru
References: <20261118183957.2031311-1-github@szelinsky.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372066-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v5 00/14] net: pse-pd: assorted lifetime and
 error-path
 fixes
Date: Thu, 26 Nov 2026 11:40:08 +0000
Organization: Usenet Network
Message-ID: <179569320852.1770964.6389266555271149762.git-patchwork-notify@kernel.org>
References: <20261118183957.2031311-1-github@szelinsky.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="454115"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:UTpKO4Fdh6jt9wVHTx4EV5gk9Xo= sha256:OwEygPFXHpjzGOmFjFdrm7huJwsMqy9/ViwuzCtJMV4=
	sha1:3/0Smm+Vvf0OjbSrbafrAhrcs9I= sha256:Fs2rgA2FYcAPjX6a1Ny0XtOuB8pbb/38jwctpKd2pCE=
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 34BD8125ED1; Thu, 26 Nov 2026 14:40:25 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, 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]
	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 fxxbwVpXd-FN;
	Thu, 26 Nov 2026 14:40:21 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-372066-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 84A38125ECE; Thu, 26 Nov 2026 14:40:12 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id BD7CF603CFD; Thu, 26 Nov 2026 11:40:11 +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=1795693210;
	b=zPPGsU9qSehqpOudqLjoHzjbqc0RApRrDRflReXTlo90tyEOfjS4FYvUsyRqhBzlJiwh
	 Vf8ZPBbkhcmx2zAGnbvTD8NDTseO25RElYUD0Dfv0zZqr6Xu7xvd6Xr+Iym7HWe14m271
	 GbTsLeGDgyN9LDpyGY81bepGLDfEL0/g2FC1ZznJFxhQxgJ5w1rdqYZmvAYFoF78lelLR
	 IHZF8/mTPJsajDk3hJIMH+hdmXAeCC/chcxU2MS9VVWFnvSXBvFq2cHrfYszNPOge0DWr
	 PFvzcQij5J8l+44T2uXGULfyrMA3mBiLIGc75KsHU6+3I2mR6pp557SjMTJuuNjY4ug==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795693210;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=WapnNrSMtWRMh/DEtJXyNZGqF5pDOdH/wpWy76Is1Bw=;
	b=4LMzZ8VLe1/cqZ0TbAVCmvEXccrCEeY3XI/R1JHCLvf052KRCLjw/xGSXerdFPd5xRrA
	 9qisEtLX7XrIW4Di+xbmruAoTqKkWuyUr0RfhnxL1nndb1zh1cyTZj+BcPoa55nOP+Xht
	 1MI64tB5IhNEqAdWlJVkHyyPKfYxsIXJ5aV7Q7XIAmWaPk4bO+2gA0nxljf8gROaFjoH8
	 RHwQshYgKXTSUj7T1udbFbg6LukPeK6w8ddD2aEI8RDbdyI4uUBmXLG4PS7WyTdNUN3Qo
	 CrMR4DVTZqx7ssKVvLJXYek9M/YsgyU5cdGTiQhCAzrUWCln5MdSyThEfHF53b6bNdg==
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=mlHUa8qi;
	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 D7C39606A32E;
	Thu, 26 Nov 2026 11:40:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mlHUa8qi
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=1795693210;
	b=U4Pb/5kGkTokL+3BmYbHo50eoUxvSiiMUxsl0NR4h8jub7o4cL5W9mBzx7J4B0dabGxr
	 fOhrKqeyaUKOLaXKVDGYzkyzBpZYJhIcHL1h4sCgBE2umqGoQgH6Q/+skQnrC5exk/x1e
	 Jg89K2e0DQMRroUCtQDVIZmrYZnwhwtrStr45ZiTBaHwZScw7yVy+N6hEdRDPgSXa3s4y
	 lv7uQxJ/ewy5/+q+nSzkMSmfkHx4GQ/AzYPjGDhpZ19YAnGLkw2FQnDR5ic3cYCfBzu/o
	 w6Un//COabCtDBlYxdpW1JqLoH8XTO+l33C8aXO6Xz/2G6Eugw1woqhaFUc4UNlamzg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795693210;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=WapnNrSMtWRMh/DEtJXyNZGqF5pDOdH/wpWy76Is1Bw=;
	b=5LIQDQBV37IlYrjjHMaRbQcKL3bQ56F2jKFa0y45WaXus/R3uZS8aU07P5YKzYean3D8
	 O3g62/kriUFJX1o58EOKPWUATBfcJWWvEOtaNZhPH2z6dDlRvsfz1ZSrp9PVb72R3d/CT
	 8+XDjiJpGajyspzxQ3KNaExj2XU51yflyS27m10q0ZdR6GMYYRRR7BUCCDznZjwIrGSSv
	 Dj8yHlkDGG+b7UUR56K1AZ7W7247zwQy4oHSKetxLr0zYbTHexn0jrI+vCTAEKWcnUviT
	 KttARjmIK8KIMUK/YROmFfhNz0bsg+XBA/mljdkEOEa4PNgvHkdLeyqUPIF+ncAF5gQ==
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=mlHUa8qi;
	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 02F0C606A321;
	Thu, 26 Nov 2026 11:40:09 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDC801F000C4;
	Thu, 26 Nov 2026 11:40:09 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795693209;
	bh=WapnNrSMtWRMh/DEtJXyNZGqF5pDOdH/wpWy76Is1Bw=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=mlHUa8qiOFWYe6znCBRriSSrERXJykaxtY6EmY/adah8A98Z+TIytTHleBm0tDqTh
	 c4bPk1SO9QNDAccVa6dwchhvaKHVsxtuonlomy28NFxjletrI4qMPTwFDhKY/G8PnC
	 vgINVoUWAjcKZVZfyqv59ShvFH/JeL6s+DNlVtek0VpJXc0VkBTtXmd7bB9ok2shJM
	 PE/mcPgoPVnVpczgBQhq0GLkZvDuGyJv+aTeCwaA+IGFqojVAPL6PDxhj5zon6qeHk
	 zxu4KCsVOE437kY7mV0kO9Faf4NQtjtEO+RVnn5aXbLn28V0j/JXwWkVHGsOMcGnLW
	 Zf0wdI4tLXWFg==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B45F3380A962;
	Thu, 26 Nov 2026 11:40:09 +0000 (UTC)
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: <20261118183957.2031311-1-github@szelinsky.de>
X-Cc: o.rempel@pengutronix.de, kory.maincent@bootlin.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, broonie@kernel.org, lgirdwood@gmail.com,
 maxime.chevallier@bootlin.com, kyle.swenson@est.tech, ross@r-sc.ca,
 netdev-bot+sashiko@kernel.org, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org