🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24451

[PATCH net v9 2/5] net: phy: fix three paths that unbalance a postponed PHY interrupt line

#24451
From: Igor Velkov via B4 Relay
Date: Mon, 30 Nov 2026 07:04
273 lines
22404 bytes
From: Igor Velkov <iav@iav.lv>

phy_interrupt() postpones interrupts during a system sleep transition:
it sets irq_rerun and disables the line, and mdio_bus_phy_resume()
re-enables the line once and reruns the handler. Three paths leave the
line unbalanced:

- On an edge-triggered line the IRQ core does not mask a ONESHOT
  interrupt, so an edge that arrives before disable_irq_nosync() runs
  the thread again. That second run disables the line again, and the
  line stays disabled after resume.
- phy_free_interrupt() can run between the postponed interrupt and
  mdio_bus_phy_resume() and leaves irq_rerun set. Once the line has no
  users, free_irq() shuts it down and a new request starts it at depth
  0, so the enable_irq() in mdio_bus_phy_resume() is unbalanced. On a
  shared line this can happen once the other users free it too, as with
  the two PHYs of dra72-evm-revc behind cpsw.
- If phy_request_interrupt() then leaves the PHY polling,
  mdio_bus_phy_resume() skips enable_irq(), and the other users of a
  shared line stay disabled.

MAC drivers that close the interface in their suspend callback, such as
cpsw, and ravb with Wake-on-LAN off, reach phy_free_interrupt() through
phy_disconnect(), and so does dev_close() in a kernel-internal reset of
the MAC such as stmmac_reset_subtask(), whose workqueue does not freeze.
These drivers set mac_managed_pm, which a later patch brings under
postponing.

Let only the run that sets irq_rerun disable the line, and record the
line it disabled. Clear irq_rerun where the line starts again at depth
0: in phy_free_interrupt() when free_irq() leaves the line without
users, and in phy_request_interrupt() when the line has no users. Otherwise
mdio_bus_phy_resume() enables the recorded line, also for a PHY that
fell back to polling, and reruns the handler only if the PHY still uses
that line. Enabling the line in phy_free_interrupt() instead would
unmask a source that phy_disable_interrupts() failed to clear, and
inside the noirq phase it would unbalance a wakeup line that
suspend_device_irqs() enabled (IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND).

Add irq_pm_lock, so that requesting and freeing the interrupt do not
change irq_rerun between the check and the enable_irq() of the rerun
after resume, and move the postponing and the rerun into helpers.
phy_interrupt() never takes the lock, so synchronize_irq() and
free_irq() can wait for the handler under it. irq_rerun and
irq_rerun_line are plain fields: one thread runs the handler, and the
other paths access them only under the lock, after free_irq() or
synchronize_irq(), or before this PHY has requested the line. Mark the
irq_suspended accesses with READ_ONCE() and WRITE_ONCE(): the handler
reads it while the PM callbacks write it.

Three cases on a shared line stay unbalanced: after all users have freed
the line, another user requests it first, so it has users when this PHY
requests it; another user requests it between free_irq() and the
irq_has_action() check in phy_free_interrupt(); or the last other user
frees it between the irq_has_action() check and request_threaded_irq()
in phy_request_interrupt(). irq_rerun then stays, and the enable after
resume is unbalanced, cancels a disable_irq() of another user, or
reaches a line without users; until then a postponed interrupt does not
disable the line again, so a level-triggered one keeps firing.

This does not keep close and open off the MDIO bus: on close,
phy_disconnect() calls phy_stop(), phy_free_interrupt() with its
phy_disable_interrupts() and, in phy_detach(), phy_suspend(); on open,
phy_attach_direct() calls phy_init_hw() and phy_request_interrupt()
calls phy_enable_interrupts(). A MAC driver that powers its MDIO bus
down during sleep must not close or open the interface until the bus is
back.

Fixes: 1758bde2e4aa ("net: phy: Don't trigger state machine while in suspend")
Signed-off-by: Igor Velkov <iav@iav.lv>
---
Haoning Cheng's Tested-by on v5 is not carried: phy_free_interrupt()
no longer enables a shared line.
---
 drivers/net/phy/phy.c        | 24 ++++++++++++++++---
 drivers/net/phy/phy_device.c | 57 ++++++++++++++++++++++++++++----------------
 include/linux/phy.h          | 12 ++++++++--
 3 files changed, 67 insertions(+), 26 deletions(-)

diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 9af303d60bd6..b91723867892 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -1416,7 +1416,7 @@ static irqreturn_t phy_interrupt(int irq, void *phy_dat)
 	/* Wakeup interrupts may occur during a system sleep transition.
 	 * Postpone handling until the PHY has resumed.
 	 */
-	if (IS_ENABLED(CONFIG_PM_SLEEP) && phydev->irq_suspended) {
+	if (IS_ENABLED(CONFIG_PM_SLEEP) && READ_ONCE(phydev->irq_suspended)) {
 		struct net_device *netdev = phydev->attached_dev;
 
 		if (netdev) {
@@ -1430,8 +1430,12 @@ static irqreturn_t phy_interrupt(int irq, void *phy_dat)
 				pm_wakeup_dev_event(parent, 0, true);
 		}
 
-		phydev->irq_rerun = true;
-		disable_irq_nosync(irq);
+		/* Disable the line only once: an edge can rerun the thread. */
+		if (!phydev->irq_rerun) {
+			phydev->irq_rerun_line = irq;
+			phydev->irq_rerun = true;
+			disable_irq_nosync(irq);
+		}
 		return IRQ_HANDLED;
 	}
 
@@ -1480,6 +1484,12 @@ void phy_request_interrupt(struct phy_device *phydev)
 {
 	int err;
 
+	/* A line without users restarts at depth 0, so our disable is gone */
+	mutex_lock(&phydev->irq_pm_lock);
+	if (phydev->irq_rerun && !irq_has_action(phydev->irq_rerun_line))
+		phydev->irq_rerun = false;
+	mutex_unlock(&phydev->irq_pm_lock);
+
 	err = request_threaded_irq(phydev->irq, NULL, phy_interrupt,
 				   IRQF_ONESHOT | IRQF_SHARED,
 				   phydev_name(phydev), phydev);
@@ -1507,7 +1517,15 @@ EXPORT_SYMBOL(phy_request_interrupt);
 void phy_free_interrupt(struct phy_device *phydev)
 {
 	phy_disable_interrupts(phydev);
+
+	mutex_lock(&phydev->irq_pm_lock);
 	free_irq(phydev->irq, phydev);
+	/* free_irq() shuts down a line left without users and the next request
+	 * resets its depth; mdio_bus_phy_resume_irq() enables a shared line.
+	 */
+	if (phydev->irq_rerun && !irq_has_action(phydev->irq_rerun_line))
+		phydev->irq_rerun = false;
+	mutex_unlock(&phydev->irq_pm_lock);
 }
 EXPORT_SYMBOL(phy_free_interrupt);
 
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index 1791d578f4dd..f2e2370b4be7 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -332,6 +332,39 @@ static bool mdio_bus_phy_may_suspend(struct phy_device *phydev)
 	return !phydev->suspended;
 }
 
+/* Wakeup interrupts may occur during the system sleep transition when
+ * the PHY is inaccessible. Set flag to postpone handling until the PHY
+ * has resumed. Wait for concurrent interrupt handler to complete.
+ */
+static __maybe_unused void mdio_bus_phy_suspend_irq(struct phy_device *phydev)
+{
+	if (!phy_interrupt_is_valid(phydev))
+		return;
+
+	WRITE_ONCE(phydev->irq_suspended, true);
+	synchronize_irq(phydev->irq);
+}
+
+/* Rerun interrupts which were postponed by phy_interrupt()
+ * because they occurred during the system sleep transition.
+ */
+static __maybe_unused void mdio_bus_phy_resume_irq(struct phy_device *phydev)
+{
+	WRITE_ONCE(phydev->irq_suspended, false);
+
+	mutex_lock(&phydev->irq_pm_lock);
+	if (phy_interrupt_is_valid(phydev))
+		synchronize_irq(phydev->irq);
+	/* The PHY may have fallen back to polling since it disabled the line */
+	if (phydev->irq_rerun) {
+		phydev->irq_rerun = false;
+		enable_irq(phydev->irq_rerun_line);
+		if (phydev->irq == phydev->irq_rerun_line)
+			irq_wake_thread(phydev->irq, phydev);
+	}
+	mutex_unlock(&phydev->irq_pm_lock);
+}
+
 static __maybe_unused int mdio_bus_phy_suspend(struct device *dev)
 {
 	struct phy_device *phydev = to_phy_device(dev);
@@ -339,14 +372,7 @@ static __maybe_unused int mdio_bus_phy_suspend(struct device *dev)
 	if (phydev->mac_managed_pm)
 		return 0;
 
-	/* Wakeup interrupts may occur during the system sleep transition when
-	 * the PHY is inaccessible. Set flag to postpone handling until the PHY
-	 * has resumed. Wait for concurrent interrupt handler to complete.
-	 */
-	if (phy_interrupt_is_valid(phydev)) {
-		phydev->irq_suspended = true;
-		synchronize_irq(phydev->irq);
-	}
+	mdio_bus_phy_suspend_irq(phydev);
 
 	/* We must stop the state machine manually, otherwise it stops out of
 	 * control, possibly with the phydev->lock held. Upon resume, netdev
@@ -393,19 +419,7 @@ static __maybe_unused int mdio_bus_phy_resume(struct device *dev)
 	if (ret < 0)
 		return ret;
 no_resume:
-	if (phy_interrupt_is_valid(phydev)) {
-		phydev->irq_suspended = false;
-		synchronize_irq(phydev->irq);
-
-		/* Rerun interrupts which were postponed by phy_interrupt()
-		 * because they occurred during the system sleep transition.
-		 */
-		if (phydev->irq_rerun) {
-			phydev->irq_rerun = false;
-			enable_irq(phydev->irq);
-			irq_wake_thread(phydev->irq, phydev);
-		}
-	}
+	mdio_bus_phy_resume_irq(phydev);
 
 	if (phy_uses_state_machine(phydev))
 		phy_start_machine(phydev);
@@ -711,6 +725,7 @@ struct phy_device *phy_device_create(struct mii_bus *bus, int addr, u32 phy_id,
 	dev->max_n_ports = 1;
 
 	mutex_init(&dev->lock);
+	mutex_init(&dev->irq_pm_lock);
 	INIT_DELAYED_WORK(&dev->state_queue, phy_state_machine);
 
 	/* Request the appropriate module unconditionally; don't
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 23539e90c987..42004e45fb3a 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -651,8 +651,8 @@ struct phy_oatc14_sqi_capability {
  * @interrupts: Flag interrupts have been enabled
  * @irq_suspended: Flag indicating PHY is suspended and therefore interrupt
  *                 handling shall be postponed until PHY has resumed
- * @irq_rerun: Flag indicating interrupts occurred while PHY was suspended,
- *             requiring a rerun of the interrupt handler after resume
+ * @irq_rerun: Set by the postponed interrupt that disabled the line
+ * @irq_rerun_line: The line the postponed interrupt disabled
  * @default_timestamp: Flag indicating whether we are using the phy
  *		       timestamp as the default one
  * @interface: enum phy_interface_t value
@@ -675,6 +675,9 @@ struct phy_oatc14_sqi_capability {
  * @n_ports: Number of ports currently attached to the PHY
  * @max_n_ports: Max number of ports this PHY can expose
  * @lock:  Mutex for serialization access to PHY
+ * @irq_pm_lock: Held by the PM callbacks, and by the requesting and freeing
+ *               of the interrupt where they test and clear @irq_rerun;
+ *               phy_interrupt() never takes it
  * @state_queue: Work queue for state machine
  * @link_down_events: Number of times link was lost
  * @shared: Pointer to private data shared by phys in one package
@@ -731,6 +734,7 @@ struct phy_device {
 	 */
 	bool irq_suspended;
 	bool irq_rerun;
+	int irq_rerun_line;
 
 	unsigned default_timestamp:1;
 
@@ -808,6 +812,10 @@ struct phy_device {
 	struct delayed_work state_queue;
 
 	struct mutex lock;
+	/* Held where the PM callbacks and the requesting and freeing of the
+	 * interrupt test and clear irq_rerun
+	 */
+	struct mutex irq_pm_lock;
 
 	/* This may be modified under the rtnl lock */
 	bool sfp_bus_attached;

-- 
2.43.0
Technical Details
Message-ID: <20261130-b4-phylib-mac-pm-irq-v3-v9-2-7b9c3c9ac9f7@iav.lv>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373957-linux-kernel-netdev=dewy.ru
References: <20261130-b4-phylib-mac-pm-irq-v3-v9-0-7b9c3c9ac9f7@iav.lv>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373957-linux-kernel-netdev=dewy.ru
From: devnull+iav.iav.lv@kernel.org (Igor Velkov via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net v9 2/5] net: phy: fix three paths that unbalance a postponed PHY interrupt line
Date: Mon, 30 Nov 2026 07:04:36 +0000
Organization: Usenet Network
Message-ID: <20261130-b4-phylib-mac-pm-irq-v3-v9-2-7b9c3c9ac9f7@iav.lv>
References: <20261130-b4-phylib-mac-pm-irq-v3-v9-0-7b9c3c9ac9f7@iav.lv>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network; logging-data="1361501"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:3VkVgRANZzBLkmlC8VusSehwDGc= sha256:Epu90LP+A9FoWTM6gw+6gOyi/ZD/5lOYNU2ZEqU2t/o= sha1:CtBndjr/AKE7wN5hgLLKXhfR+xY= sha256:Ka5fdSOxauv0j5LxZbqe9VuUL8MKNXuw9gtyQVcsxs4=
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 DE6B1125FC9; Mon, 30 Nov 2026 10:05:29 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 dMcnR8i0c7-E; Mon, 30 Nov 2026 10:05:26 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-373957-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 27A86125FC5; Mon, 30 Nov 2026 10:05:15 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 2CEB520BCE; Mon, 30 Nov 2026 07:05:13 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796022309; b=Iah3Sa31VouOkL5G5pF3/elHtRVmY2TreS4THxT357BmCphgL9m470HR7UA817FUXtn8 qztadXDqyX667cc5ItsMkBaQLsbbkOM1V7xhAOQ0cUhcN3xbxk5bUXqmeCiezRUw0cPx9 g8w/GfcW8C05NDnGq9zL9z6kBk21jGcXft1ftIZ/AI5RjsCeKlhpaH9tnd3hydJ5zVw0/ RYkxk7/Xr1cq0QRwS2TR5FurmBt8vxSNYOvbSxO33oOtYnweb1YRe+lt+l86boTIndT6O x3ItemD5TQoh8VUUIPZCY+TfiS+mr2O1NFJDRvbhUF+4cITbAjG6EpRpME1FDwqseDg==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796022309; h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Date: Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=/C39R2eK+df62uKNS0Ojbe5Svli59riEto5VvMcLqkI=; b=DXMMCdGDgfdICKAN4RmYm1CJ0f542wc5NxqL/SRriXVb0Kgu0M/OMHumEgwOSaxNQw/I EFlJ9RooTCMY03slA2DRFCBgSt1R5h0s5mKd6DjePF0xlDzPuVHr16pzf0OYS97thcjw1 J/cmPzMx7MDSiV3PQQblnGNUdC82oesY3KPPHVZNvVcbMZ2SBfmbEhcEJhmwx6iuZSN7Z saunmAAY2g1Jh0AjGnZqek3NSY4j5/pJHmiuKNk5O5uNCjCXepYQeDhU/jcfBI52XOzdD kAhgTx4pOHFdEwlLw1wCFvD1SSPpBWsHiWqqICAeoxHhQlgdRy2Qo40t6GA0JCM3G8g==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Zs7QbGlW; 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 5450D606A690; Mon, 30 Nov 2026 07:05:09 +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=Zs7QbGlW
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796022298; b=2eDgaQtNI3ckVA1m+tDY5CsXYwIxGXBsUlOCXpzARo7eV8OM0PelANCoc6xU13L0lt2P RH3DocDobPujNYrcPaFCLRm4GS5YyWWhpPaeYdkBUgYL51/Sny9PidBBsWts8QuVK+nL7 OyDStUH/1Ny8ZpuLCUKIxrY4bLkUelW+znrACPS9gkl0eMvVliruiNK4InW24l5bDEb4U DsitEw6ZDvwXmfGH1W3RFhGMGqxscZ7pvDI//tpqGt+ejpBC1Fn2gtHMdLKsTm4qjYjxV SUXiynSNz/hI53UoZk6DPLcyeI9CuFY8IT1oEmBp5m82Hixl2a5fFlgv2mlW/4xWjOg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796022298; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=/C39R2eK+df62uKNS0Ojbe5Svli59riEto5VvMcLqkI=; b=b5HwwgT+fbPtLN3vWVK4DPBa9foJjAmhrWeO9kXEDhH4Ho7Qsw7h8uA7Ps04+8v9SJb/ BHYSd9eB+WCGrSlgiI11WuTULeqOZXvqmn1r6/5sQ76cxuouNBH3S/4I8EwDPcTFEgVZn BAhyKPAvDdU/b9Zp0ZBF3JAlMdYZWNCXNBVws/t+mD8VvYhQuEDW5m+I7xQGWhDJCvpS9 W4lUTLZ5vNDzKUE3ye2pxYZg1a/QzhrxHh5nEk8xhg/Qjlxu3kTzZ+PTzWlocxtl//bxR 3NRlE067YuRUu4loWpxhWXVQD3USY9Mta+eL9sf0RYffrE+j+jfSfhM3ccuXutPoosA==
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=Zs7QbGlW; arc=pass header.oldest-pass=0 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 54544606A33A; Mon, 30 Nov 2026 07:04:58 +0000 (UTC)
X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1796022298; b=yf+mHkaeQGxkiYbFY5z4roU8/BHHlLIgqhqXFiYGrCQ8UoaWz8IivVplq0QKgw+It+YD 9nOLToCPTSZbXvtawnYG4gzsuVkNWGzYi5YhGwI/E3OQYTR8R04PEiHa46t6n7OORKzXC 6KDyRpPl3hmtDiQHe7dM+W5jQ+tg1gqjqhGboz0//dZFoo9a+kygURrnU/C4NqG9ZsF+u J93PFaNjtnStJEllGiyBkkjLiu3X/xpSpwAAvkP/wuLw7zNVF8eolQU9PAxBO1btLNz4g ukr85QmdJuSbrGUpF9UDZmQ+QMHRW9edchDr85pwYlf0BkMTaGPDCfrPluObbDK+mPg==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796022298; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=/C39R2eK+df62uKNS0Ojbe5Svli59riEto5VvMcLqkI=; b=nxyALuwo+jyz84Pc1tOVf433YaptllnY2Y0e0HXB+Au6gk4wpGY4M8tw1JFTAJSCDjwx gHROtsVBmjUjkw5A8yP7sMYWzBoQ4tLYGzt9D1whmKGftDBCBgU8E9lv7k2FM5rsZjruL T9DrqQvpLcUn7vB/f2a3VXLiyiRI7mvS9xDpJzQrMmWmKZbJ5WiZnIavQmYrbDlLiiHT5 0bTQamdLHTVtVxBQwgiy+eVhk6231Lpd3vz+y+B3XZna6eIaaKw1eVj3Mr0qkN6qthRE7 g6+6DS+MG4AVFHUSMA1wnKDA8/oIEGjqvl1kiCQd4VfrnTTuw29IiGGAMQZDim7fB8Q==
X-ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 5B7781F00898; Mon, 30 Nov 2026 07:04:45 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796022297; bh=/C39R2eK+df62uKNS0Ojbe5Svli59riEto5VvMcLqkI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=Zs7QbGlWEKGIafC3AwgZwM0jTEXRoReZdO+eoInAkIarzHeC1XN8irv1+uZSHhWJP QzM32gWcCFwF9nKPuDsssdyReGxPOZiAxj77RIE6uxiEPuTW6/LwA1lVfA2WmTIbWc ohXRbubAzsEr39IXey+KYAlEdD8Hqi0FrNTaOMAMU67aoF62wB/gS+1E39FpXMq9o2 jYaxbHapQhxfGEt+eJqAPl94Jauqo2YB41TFM/k2WBBiDrxyOB+LepjoFiQNlStfT7 nI4vmLla6lAIyyEbfxyjXbJsmHjuXQ41kk0urbEO7QQhAbTEzTrlrRW0oC33n3f38J GcmYA1Y3Jpm+w==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id DCAB14E732; Mon, 30 Nov 2026 07:04:44 +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: <20261130-b4-phylib-mac-pm-irq-v3-v9-0-7b9c3c9ac9f7@iav.lv>
X-Cc: Thomas Gleixner <tglx@kernel.org>, linux-pm@vger.kernel.org, Maxime Chevallier <maxime.chevallier@bootlin.com>, Lukas Wunner <lukas@wunner.de>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>, Wei Fang <wei.fang@nxp.com>, Niklas Söderlund <niklas.soderlund@ragnatech.se>, Paul Barker <paul@pbarker.dev>, Florian Fainelli <florian.fainelli@broadcom.com>, Doug Berger <opendmb@gmail.com>, Thangaraj Samynathan <Thangaraj.S@microchip.com>, Shenwei Wang <shenwei.wang@nxp.com>, Haoning Cheng <Haoning.CHENG@cn.bosch.com>, Willem de Bruijn <willemb@google.com>, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Igor Velkov <iav@iav.lv>
X-Mailer: b4 0.13.0
X-Developer-Signature: v=1; a=openpgp-sha256; l=11489; i=iav@iav.lv; h=from:subject:message-id; bh=UXCNCuN994A6+NYM5sXdZoqedghdFy1Q42TlyjhaJqc=; b=owGbwMvMwCVmNH1q96v4SmbG02pJDNm8CpxbxIRv2MUd/FN73tRN8MFCoRUd3xv+9LV80olzs 78rukCyo5SFQYyLQVZMkWXCIY1bGUuu/vX3MH8AM4eVCWQIAxenAEzE2oCRYU9xoMl2yV1XZbby 2M5NLp8i/njJ85cubR5bvD1anKoOX2X4Z2M4e/f2S6Kex+bJxS6aeWVi9zPThbzupdOzejdfO2Z 8mAMA
X-Developer-Key: i=iav@iav.lv; a=openpgp; fpr=90C228DA68A4D5FD4F4837E03297958BEA5F7903
X-Endpoint-Received: by B4 Relay for iav@iav.lv/default with auth_id=1060
X-Original-From: Igor Velkov <iav@iav.lv>
X-Reply-To: iav@iav.lv
X-Received-Bytes: 22145