🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25960

[PATCH net v10 5/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM

#25960
From: Igor Velkov via B4 Relay
Date: Wed, 02 Dec 2026 20:16
312 lines
24979 bytes
From: Igor Velkov <iav@iav.lv>

mdio_bus_phy_suspend() and mdio_bus_phy_resume() return early when the
MAC driver manages PHY PM, so the PHY never gets irq_suspended and
phy_interrupt() runs the PHY driver's handler at any point of the sleep
transition. If the MAC driver powers the MDIO bus down, the MDIO access
in that handler can stall the CPU. This happens on both sides:

- suspend: the MAC's suspend callback stops the PHY, the link goes
  down, and the handler runs while the MAC powers down;
- resume: resume_device_irqs() re-enables a pending interrupt before
  the MAC resumes.

On Helios64 (dwmac-rk, RTL8211F with its interrupt line described in DT)
both hang the board: the handler reads INSR while the GMAC clocks are
off, after rk_gmac_suspend() or before rk_gmac_resume(). The commit in
the Fixes tag added the postponing after the early return for
MAC-managed PHY PM, and stmmac has set mac_managed_pm since commit
f151c147b3af ("net: stmmac: Enable mac_managed_pm phylink config").

Postpone the interrupts of these PHYs too, and start in the prepare
callback. The PM core calls prepare for all devices before the first
suspend callback, so irq_suspended is set before any MAC driver
suspends. The system still runs between prepare and the suspend
callbacks, and for hibernation it allocates the image memory there: a
link change of such a PHY in that window is handled only in the complete
callback. mdio_bus_phy_suspend() is too late when the PHY sits on an
MDIO bus the MAC does not own: phy_attach_direct() links the MAC as a
consumer of the PHY, and the MAC suspends first. ODROID-HC4 (stmmac,
RTL8211F behind mdio-mux-meson-g12a) takes this path. There, without
this series, a magic packet that arrived after stmmac_suspend() ran the
handler, which acknowledged the PME; the RTL8211F raises PME once per
arming, and the board slept through the packets that followed. PHYs
without MAC-managed PM still start postponing in mdio_bus_phy_suspend().

For these PHYs, stop the postponing and replay the postponed interrupt
in the complete callback. The PM core calls it after the resume
callbacks of all devices, so the MAC has resumed also behind the device
link, where the PHY resumes first. It also calls it when the transition
aborted before mdio_bus_phy_suspend(), where it skips the resume
callback. A link change while the devices resume is handled there too.
If the MAC fails to power the bus up, the replay still reaches the bus:
the PM core goes on resuming, and phylib cannot tell. phy_suspend(),
phy_resume() and the state machine stay with the MAC driver, and no MAC
driver needs a change. Doing this in phylink_suspend() instead would
miss macb, which sets mac_managed_pm but suspends with phylink_stop().

A postponed interrupt cannot read the PHY, so it cannot tell Wake-on-LAN
from a link change. A PHY without MAC-managed PM reports what
phy_interrupt() reports today. A PHY with MAC-managed PM reports no
wakeup from the postponed interrupt: the MAC can change the link in its
suspend callback, as stmmac lowers the link speed through
phylink_suspend() when the PHY may wake the system.

A postponed interrupt leaves its line disabled. suspend_device_irqs()
runs before the noirq callbacks: it arms a wakeup line and leaves a
disabled one disabled unless the irqchip has
IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND, so a PHY whose interrupt line is also
its wake IRQ would sleep through a wakeup. Enable the line a postponed
interrupt disabled in the noirq suspend callback while it is still
disabled and armed for wakeup, and disable it again in the noirq resume
callback, before resume_device_irqs(). The irq core turns an interrupt
on an armed line into a wakeup without running the handler, and clears
the armed state before it disables the line, so a line that already woke
the system is left alone, and so is a line that is no longer disabled.
An edge the postponed interrupt consumed does not repeat, so on an
edge-triggered line a magic packet that arrives during the transition
does not abort it. The next one wakes the system if the PHY raises
another edge for it; the RTL8211F, which raises PME once per arming,
does not. On a level-triggered line, a PHY that keeps a link interrupt
asserted, such as the one from the speed change above, aborts every
suspend with Wake-on-LAN enabled: its driver has to restrict the
interrupt to Wake-on-LAN in its suspend callback, as rtl8211f_suspend()
does; with Wake-on-LAN enabled, phy_suspend() calls that callback only
for a driver that sets PHY_ALWAYS_CALL_SUSPEND. The noirq callbacks also
run as freeze_noirq and thaw_noirq, so all of this holds while a
hibernation image is created.

Tested with 7.4-rc5 and this series, s2idle with the link up unless
noted.

Helios64:
- no Wake-on-LAN, GMAC clocks off in suspend: 10 of 10 cycles
  suspended and resumed; on 7.3 without this series the same test hung
  or reset the board after the link went down 10 of 10 times;
- Wake-on-LAN in the PHY, so phylink_suspend() also drops the link
  speed: a magic packet woke the board 4 of 4 times, no suspend
  aborted;
- the same under a flood of magic packets: a packet was postponed and
  disabled the line, the noirq callback enabled it, and the wakeup
  aborted the suspend 10 of 10 times, 5 of them after the interface
  went down and up (traced).

ODROID-HC4:
- Wake-on-LAN in the PHY under a flood of magic packets: a packet was
  postponed, the wakeup aborted the suspend, and the complete callback
  replayed the interrupt after stmmac_resume() 10 of 10 times, 5 of
  them after the interface went down and up (traced); without this
  series the board slept until the RTC alarm 5 of 5 times;
- Wake-on-LAN in the PHY, no packets: 3 of 3 slept until the RTC
  alarm, with no PHY interrupt;
- hibernation with Wake-on-LAN in the PHY: under the flood the wakeup
  aborted it 2 of 2 times; without packets the image was restored 2 of
  2 times, with test_resume and with reboot.

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: MAC-managed PHYs no
longer report a wakeup.
---
 drivers/net/phy/phy.c        | 13 ++++++--
 drivers/net/phy/phy_device.c | 73 ++++++++++++++++++++++++++++++++++++++++++--
 include/linux/phy.h          | 19 ++++++++----
 3 files changed, 94 insertions(+), 11 deletions(-)

diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 6dce49f01d2b..4a33100fa809 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -1419,7 +1419,10 @@ static irqreturn_t phy_interrupt(int irq, void *phy_dat)
 	if (IS_ENABLED(CONFIG_PM_SLEEP) && READ_ONCE(phydev->irq_suspended)) {
 		struct net_device *netdev = phydev->attached_dev;
 
-		if (netdev) {
+		/* With MAC-managed PM, a postponed interrupt cannot tell
+		 * Wake-on-LAN from a link change the MAC causes.
+		 */
+		if (netdev && !phydev->mac_managed_pm) {
 			struct device *parent = netdev->dev.parent;
 
 			if (netdev->ethtool->wol_enabled)
@@ -1486,8 +1489,10 @@ void phy_request_interrupt(struct phy_device *phydev)
 
 	/* 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))
+	if (phydev->irq_rerun && !irq_has_action(phydev->irq_rerun_line)) {
 		phydev->irq_rerun = false;
+		phydev->irq_wake_enabled = false;
+	}
 
 	err = request_threaded_irq(phydev->irq, NULL, phy_interrupt,
 				   IRQF_ONESHOT | IRQF_SHARED,
@@ -1525,8 +1530,10 @@ void phy_free_interrupt(struct phy_device *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))
+	if (phydev->irq_rerun && !irq_has_action(phydev->irq_rerun_line)) {
 		phydev->irq_rerun = false;
+		phydev->irq_wake_enabled = 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 16b398794486..2f413147c311 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -18,6 +18,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
+#include <linux/irq.h>
 #include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/mdio.h>
@@ -372,6 +373,34 @@ static __maybe_unused void mdio_bus_phy_resume_irq(struct phy_device *phydev)
 	mutex_unlock(&phydev->irq_pm_lock);
 }
 
+static __maybe_unused int mdio_bus_phy_prepare(struct device *dev)
+{
+	struct phy_device *phydev = to_phy_device(dev);
+
+	/* The MAC can suspend the PHY or power the MDIO bus down before our
+	 * suspend callback runs, so we postpone interrupts from here on.
+	 */
+	if (phydev->mac_managed_pm) {
+		mdio_bus_phy_suspend_irq(phydev);
+		phydev->irq_prepared = true;
+	}
+
+	return 0;
+}
+
+static __maybe_unused void mdio_bus_phy_complete(struct device *dev)
+{
+	struct phy_device *phydev = to_phy_device(dev);
+
+	/* With a device link the MAC resumes after the PHY, so we rerun the
+	 * postponed interrupt only once all devices have resumed.
+	 */
+	if (phydev->irq_prepared) {
+		phydev->irq_prepared = false;
+		mdio_bus_phy_resume_irq(phydev);
+	}
+}
+
 static __maybe_unused int mdio_bus_phy_suspend(struct device *dev)
 {
 	struct phy_device *phydev = to_phy_device(dev);
@@ -446,8 +475,48 @@ static __maybe_unused int mdio_bus_phy_resume(struct device *dev)
 	return 0;
 }
 
-static SIMPLE_DEV_PM_OPS(mdio_bus_phy_pm_ops, mdio_bus_phy_suspend,
-			 mdio_bus_phy_resume);
+static __maybe_unused int mdio_bus_phy_suspend_noirq(struct device *dev)
+{
+	struct phy_device *phydev = to_phy_device(dev);
+	struct irq_data *d;
+
+	mutex_lock(&phydev->irq_pm_lock);
+	/* We enable the line a postponed interrupt disabled if the irq core
+	 * armed it for wakeup, so that it wakes the system.
+	 */
+	if (phydev->irq_rerun) {
+		d = irq_get_irq_data(phydev->irq_rerun_line);
+		if (d && irqd_irq_disabled(d) && irqd_is_wakeup_armed(d)) {
+			enable_irq(phydev->irq_rerun_line);
+			phydev->irq_wake_enabled = true;
+		}
+	}
+	mutex_unlock(&phydev->irq_pm_lock);
+
+	return 0;
+}
+
+static __maybe_unused int mdio_bus_phy_resume_noirq(struct device *dev)
+{
+	struct phy_device *phydev = to_phy_device(dev);
+
+	mutex_lock(&phydev->irq_pm_lock);
+	if (phydev->irq_wake_enabled) {
+		phydev->irq_wake_enabled = false;
+		disable_irq_nosync(phydev->irq_rerun_line);
+	}
+	mutex_unlock(&phydev->irq_pm_lock);
+
+	return 0;
+}
+
+static const struct dev_pm_ops mdio_bus_phy_pm_ops = {
+	.prepare = pm_sleep_ptr(mdio_bus_phy_prepare),
+	.complete = pm_sleep_ptr(mdio_bus_phy_complete),
+	SET_SYSTEM_SLEEP_PM_OPS(mdio_bus_phy_suspend, mdio_bus_phy_resume)
+	SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(mdio_bus_phy_suspend_noirq,
+				      mdio_bus_phy_resume_noirq)
+};
 
 /**
  * genphy_match_phy_device - match a PHY device with a PHY driver
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 23d88cfa858b..2dba4f2bbc93 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -649,11 +649,16 @@ struct phy_oatc14_sqi_capability {
  * @mdix_ctrl: User setting of crossover
  * @pma_extable: Cached value of PMA/PMD Extended Abilities Register
  * @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_suspended: Flag indicating a system sleep transition, so interrupt
+ *                 handling shall be postponed until the PHY has resumed,
+ *                 with MAC-managed PM until the complete callback
  * @irq_rerun: Set by the postponed interrupt that disabled the line
  * @irq_rerun_line: The line the postponed interrupt disabled
  * @irq_requested: Set while the PHY has its interrupt requested
+ * @irq_wake_enabled: Set while @irq_rerun_line is enabled for the noirq
+ *                    phase, as it wakes the system
+ * @irq_prepared: Set for a PHY with MAC-managed PM from the prepare callback
+ *                until the complete callback
  * @default_timestamp: Flag indicating whether we are using the phy
  *		       timestamp as the default one
  * @interface: enum phy_interface_t value
@@ -677,9 +682,9 @@ struct phy_oatc14_sqi_capability {
  * @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;
- *               protects @irq_requested; taken before @lock;
- *               phy_interrupt() never takes it
+ *               of the interrupt where they test and clear @irq_rerun and
+ *               @irq_wake_enabled; protects @irq_requested; taken before
+ *               @lock; 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
@@ -738,6 +743,8 @@ struct phy_device {
 	bool irq_rerun;
 	int irq_rerun_line;
 	bool irq_requested;
+	bool irq_wake_enabled;
+	bool irq_prepared;
 
 	unsigned default_timestamp:1;
 
@@ -816,7 +823,7 @@ struct phy_device {
 
 	struct mutex lock;
 	/* Protects irq_requested; held where the PM callbacks and the interrupt
-	 * request and free paths test and clear irq_rerun
+	 * request and free paths test and clear irq_rerun and irq_wake_enabled
 	 */
 	struct mutex irq_pm_lock;
 

-- 
2.43.0
Technical Details
Message-ID: <20261202-b4-phylib-mac-pm-irq-v3-v10-5-2f938d473f17@iav.lv>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376046-linux-kernel-netdev=dewy.ru
References: <20261202-b4-phylib-mac-pm-irq-v3-v10-0-2f938d473f17@iav.lv>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376046-linux-kernel-netdev=dewy.ru
From: devnull+iav.iav.lv@kernel.org (Igor Velkov via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net v10 5/5] net: phy: postpone PHY interrupts during sleep
 with MAC-managed PM
Date: Wed, 02 Dec 2026 20:16:15 +0000
Organization: Usenet Network
Message-ID: <20261202-b4-phylib-mac-pm-irq-v3-v10-5-2f938d473f17@iav.lv>
References: <20261202-b4-phylib-mac-pm-irq-v3-v10-0-2f938d473f17@iav.lv>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2051414"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:XZa0+PCZi3Zo3kwZNwwzHUabmQI= sha256:a/tB7LGiydQ3sowgPZh1fzKs9mAyL93IeCA03Mnkrfs=
	sha1:1MkeXROgojcDr+mJTaCFwELwMdI= sha256:B19ES3zOiaAgfaPOzQNAac6GqXq+kKjVF8uDhW7C2lU=
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 7CCFC11771B; Wed,  2 Dec 2026 23:17:00 +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 eGT5pkgw9WmC;
	Wed,  2 Dec 2026 23:16:57 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376046-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 094CC117719; Wed,  2 Dec 2026 23:16:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 4777027502; Wed,  2 Dec 2026 20:16:33 +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=1796242587;
	b=29kC1EloGD/ca/5APL2CzoYkbiMjm/V8Et/Y6PkqAg1gn8T8JOuSO5jP+VmeDVhP3Ay/
	 +6LCFv/F5ffVSNC/Olrly1snBEL6rB28fHElG2GgLnCn5eydQzppZA3IR71dF9y5oDP1g
	 mEuikx/GCSDr0khLI399/5M0JcQUGX/nMXHYsHvaULeImhYhuce948h+3O+DRXEEIXIMx
	 XFVrPaE0pSlBYHeLgWumVZTpkUTWXm0n0e2qbsfkfkRIjoWO6K6whFwW21rGd7JXUT0N+
	 v+XYO8vd1Gk8onnEWh8GVI9BNh33a0YGcWA//MzeSj1Ikgqlvt4mn5PTRLAT9r6AmOg==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796242587;
	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=wLDyZWfScYUE9qDZXB5a/riTvG3nsdprt1e3OMB9FA8=;
	b=oDRCyu85W818hBk5BZRgEVYTAtPv73zwP4Au7ptczdLMNyyxepAKpjvYGvQClZJwcbrl
	 3chSy2R2dEc7nprJSlCt7luljTw/AqYbcCntPl4ujhdlqa4ETV5Ie3eA3GxA4VfW0ufAU
	 Z938czTDyGnvVBWBFa18pJMIGwy33Yqr3iL9EAw8ncsqdfktfvESsPzkFGd9zxi3BGdK8
	 PeCpxUP9UNcUFkM8c1za5dQbqdi3hZJYGqmxP8Eruk5pFn8oleY6KaYg2a7cR8FPGopya
	 4xsUWWVNfBrLOuTJv3g0kCLplt49xKx2JPk6VcRXHr4XVBk1q71qq7e1mZA3fzmDMdw==
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=Qp0cxPYi;
	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 847E060A2604;
	Wed,  2 Dec 2026 20:16:27 +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=Qp0cxPYi
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=1796242586;
	b=PuR3obP9OQGP5op4L6B3qUDmZWoCmmiApJ/StuxDYVuJJggRF41qd4k+n5WVm3WmzsIN
	 hWuyxP9xLQf7B1LVGEfAAo8SoEuRJbYVjvK12bcCs3nHstocH3BIr7hXQogJv1sO9XEQP
	 vG9797RxHdZYKb+3MqteYXFZzZivT/e3SGf02/EppLbRdzq3IR+o11rA35ZCaTgJtKlFu
	 TvYpV9Cc4lclFhiMO7s4UWArpnsC77pW/Hw+pg0uhshgQMTPPSlx5igya1kxz0xafIo47
	 J8WfBJDFfKuF8KO3Zsj6kKGPr88scMj5MUzTW5Cq0SPYIsjkyYz4IbcD5jnzdIefd2A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796242586;
	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=wLDyZWfScYUE9qDZXB5a/riTvG3nsdprt1e3OMB9FA8=;
	b=XuuLuA0JZdYQB9WMTn1FFlrMaqYE+pAR2aRMJYhLDmIrmz3rXQl5y3tu1oiwsy/NOZOz
	 59IFmZkUBiDKbuudLfM22HvValkj9rm5y0o7vdUGZPx3nneSoxpYj5U2n7LUKLTmScNZx
	 BQcwNBTqooaVy9p47nrDdsbw88FROeI+RziY5F+ACMgZ0ldGv//RHrkxbV53cmoohmDM2
	 QJ0sxnwFXA04lpgnMKTeI+A2j+Io8pGCrmd0VJdr9oJwr2/LWrfhoc1M9lEAcUyhm6a8H
	 RhAWHxFurnbYLmvVpNMUurNXWx5t7k/8lz1g26hOEXxUl+GlM8eEmmmmH8EBJicPckQ==
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=Qp0cxPYi;
	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 A3148606A6AC;
	Wed,  2 Dec 2026 20:16:26 +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=1796242586;
	b=ooySSANUh7IG7YLJCFDhBhQokqKt/eRsBufoKPFFdQ9KWVROUMJHlyMr8gcf3qtMGbNZ
	 8NrQdEd2HqjwbosrmU6a/i6QRw18jGqzPK/EbVTSf4Hz3scd/Ek85P7AQJK53ovWigxUA
	 Kfd07J6U3Cu7kb6JNN7z3/MF1n+sHwAyvkzKltBJ+AhwNTIxpwQQIB8O3ecSugkw6OJ8Y
	 WXlPmPmlXGXyyXF4FEWZnVrgkqszwMb/bnh/6cMgKwq9MIijNmszOHjT94lyrZxIL1eIl
	 hQmngZrTIPX1de/4SEZRaA0IWhG/EirO5LP300BwkU/Ix9cqxBTaMDDRhQ6XjiTmXNg==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1796242586;
	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=wLDyZWfScYUE9qDZXB5a/riTvG3nsdprt1e3OMB9FA8=;
	b=vaGn90ZAf9//s2bSqwbGQ6V7qIrrZWPcbNhhlKynM99Dlk2DxUQxyV0hyR1YJeMApwXB
	 IZXdPUVGql1pNmidL/vWUCFQm56d+xllEGCJGp61EX0FszR0TiO3jNpXHBRukKydMIGYz
	 GO0yIaLTzRD45VOa78sx+Mg2NmvPkxQpmNfHDnwl919exKst6+U/1F86MbgKZ8xE88WoJ
	 bloRmd6Jn7rP5Hv8hkCv97K3NxkX3JxmnabC4UZbFEH/dLVGFG/GmWKyzgDO/FgNj0n7R
	 N7ChkM6CehaiJJrKaV7/K4ZNa0sRjdLH+vJrt6+cohHgIyR0c4REmHlan0CBd9s90lQ==
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 610D41F00893;
	Wed,  2 Dec 2026 20:16:24 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796242586;
	bh=wLDyZWfScYUE9qDZXB5a/riTvG3nsdprt1e3OMB9FA8=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=Qp0cxPYiD6JUDlkcci83TJKQF6CMuaqxXeG1LCHgy/WLloBvzzii/23rCxEle6xSH
	 WocapE6M8+FInycsRvmtX8NBUTsJi47VIBtdYcHUMwMu2Lka0jyvHU86BNT+6HxkEf
	 VVsGQKgMdZl2lNTUAWuTgaM1KcBU2NJdB2e9QL5pESs3ix9hxwk+GOY3V+eMa1rE/J
	 0HnXx1Q/VzPqFkOxS2U35pUpu5IZbzRM7m+fRhuL2ouqZStaXQfz896R5Ewn/B7lcQ
	 JfblCp9LqlWxR3Kp8UOiYQ3VeNuyxqjZ1Au7rWf61XHaVP4ifo+HMXFHLTqwMf9SmR
	 AJlb/yaGyMPJg==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id 4BE8C4F654;
	Wed,  2 Dec 2026 20:16:23 +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: <20261202-b4-phylib-mac-pm-irq-v3-v10-0-2f938d473f17@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=13905; i=iav@iav.lv;
 h=from:subject:message-id;
 bh=c5L/0O63mHSnA5G7H4gNNrAsNSRQk+igw8l10ve/5t0=;
 b=owGbwMvMwCVmNH1q96v4SmbG02pJDNkCNVOmSK8xnlQ+fVPQ8eVMF9Q/nPW447zT8G/b1u1V3
 Cm/PCbGdJSyMIhxMciKKbJMOKRxK2PJ1b/+HuYPYOawMoEMYeDiFICJuNczMmwqvcnm+cwst1ph
 469J4hoLprfu0ajasUKO0SgnkeFGzQNGhiPbF/9XUVsUHzGh2zme+e8Z7pNrymNOKkrynL2YZjL
 RnBkA
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