Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iwl-net] e1000e: fix TX hang after failed S4 hibernate cycle
@ 2026-12-03  9:57 Dima Ruinskiy
  2026-12-03 10:23 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Dima Ruinskiy @ 2026-12-03  9:57 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: dima.ruinskiy, anthony.l.nguyen, Michael Edri

When hibernation fails for any reason, the freeze/thaw cycle leaves the
e1000e adapter in a broken state: the PHY Reset Asserted (PHYRA) bit
remains set in the MAC Status register, preventing TX descriptor
processing, leading to a persistent TX hang.

In e1000e_pm_thaw(), call e1000e_reset() before e1000e_up() to clear stale
hardware state after the freeze/thaw cycle. This matches the resume path,
which already calls e1000e_reset() in __e1000_resume().

Fixes: 2800209994f8 ("e1000e: Refactor PM flows")
Co-developed-by: Michael Edri <michael.edri@intel.com>
Signed-off-by: Michael Edri <michael.edri@intel.com>
Signed-off-by: Dima Ruinskiy <dima.ruinskiy@intel.com>
---
 drivers/net/ethernet/intel/e1000e/netdev.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
index e5508ae5812e..e79e63681367 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -6927,6 +6927,11 @@ static int e1000e_pm_thaw(struct device *dev)
 
 	rtnl_lock();
 	if (netif_running(netdev)) {
+		/* Reset adapter to clear stale PHY state
+		 * after freeze/thaw cycle. Without this,
+		 * a failed hibernation leaves the TX path hung.
+		 */
+		e1000e_reset(adapter);
 		rc = e1000_request_irq(adapter);
 		if (rc)
 			goto err_irq;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-03 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  9:57 [PATCH iwl-net] e1000e: fix TX hang after failed S4 hibernate cycle Dima Ruinskiy
2026-12-03 10:23 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox