From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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.subspace.kernel.org (Postfix) with ESMTPS id 6E869606A339 for ; Thu, 3 Dec 2026 09:58:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256 header.s=default header.b=RN0hlNWH; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=jYfAA03+ Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 51E448239A; Thu, 3 Dec 2026 09:58:14 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id CZGHD4fqNwZm; Thu, 3 Dec 2026 09:58:13 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org A774B8280E Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796291893; b=UHMrOD7Ta0P1+vNin7hBK13UhSzGAeoDTA++xNZoBIjcLqd9lwBDYXe9pRpdu+zqIduV Q4+uhTXNDNe1gDZN8NkJtyq2g+6fauIMNLaelOIzhuAbbz9+3g8a5H2mliuV8I2QwPpvy m9/Z8aPQsGjOkuU3dGtWfq3girqqvFEluWxl8p5ev401XDIUbTE9x60sqKKwXGiDWHhZy QrryuYB5uJkrCin7Evg6WUujGTDwiS47+hvyWEfeG6uG0cHJxuEePOAZhsBjRERL3yDA4 l0wmtX2uzj/D8ZVUiNJNPq0VGGA1IHPUsijcHSvpvni9jGjJnEZOm+SctAA4+ui9vhQ== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796291893; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received: DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID:X-IronPort-AV: X-IronPort-AV:Received:X-CSE-ConnectionGUID:X-CSE-MsgGUID:X-ExtLoop1: X-IronPort-AV:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer: MIME-Version:Content-Transfer-Encoding:X-BeenThere:X-Mailman-Version: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Errors-To; bh=DHJmmjHXtb1Fc2M2826ktuaGU0ecImrTnWC5RI0yY5Q=; b=SIeE//JWTF5jsViFEpl9wyU7JZYrT/A5HqByc+T2fTb8RXZUK8Q3xIvZkacMXymUQ7// ShHRKfH2Q1IVRyX/GZDd/k6ejTLmykDDrTD6XolRBaSmazmvLJF5B0+frC86jUCTMOVNO 0W/+I/IU03yIPMXcWl/3dK12vidrC0/Z34HV2ntoS4/cKJYlGeFgskNOgRJ1pa5f6h6P8 t1EhV0NIgEGxkMmlnd0/N8uhnL2y4kOxuiGXjAjI/hBPK6m69eQIjEzgOzDAJcdgaY+Ea yZJVUEzV2mGQhTvc/WkbmPpZuUVpOh07pocUpSuTfEKNw4PC94bMBFNO4AGI6+y219A== ARC-Authentication-Results: i=1; smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1796291893; bh=DHJmmjHXtb1Fc2M2826ktuaGU0ecImrTnWC5RI0yY5Q=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=RN0hlNWHpIABOl3Irea0bxqtcZJMbD1IpETHIg73ZDpGNhFundHeVW4p3vvVzeCEC d5JdukqdW+kT/tesqAAyfYdK6oZ02FnKLJ+q73D48525cm8ZODpjlvlE21iQS3y4OI KC/HfTbd0YcLeAAQeYqlBJFbguEXn1Q5/7Y195SbTq39wjX2qQuOM5pHPk0nPRoIyZ bcG0424FAgzbUfyPpBdam06oT0NQ1+5nHuqZhdqO2xl4jN2tkqdBVMfb6Nfq+uDJ0/ T96X+EXtl9n2k7H26IJQXEjrTY4ra2qRdtBwrlqLO+Fol4OJVlxR5MAjow/AnPyMXd Dz2NRz0gO6sPQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id A774B8280E; Thu, 3 Dec 2026 09:58:13 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id A527D3DB for ; Thu, 3 Dec 2026 09:58:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9683B409CB for ; Thu, 3 Dec 2026 09:58:12 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id i9fIhYnfG9BH for ; Thu, 3 Dec 2026 09:58:12 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 8EA85409B9 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip=192.198.163.19 Received-SPF: None (mailfrom) identity=mailfrom; client-ip=192.198.163.19; helo=mgamail.intel.com; envelope-from=dima.ruinskiy@intel.com; receiver= Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=jYfAA03+ Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by smtp4.osuosl.org (Postfix) with ESMTPS id 8EA85409B9 for ; Thu, 3 Dec 2026 09:58:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796291892; x=1827827892; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DHJmmjHXtb1Fc2M2826ktuaGU0ecImrTnWC5RI0yY5Q=; b=jYfAA03+htqzvZx2Nq+kFU4jbUKljHDPiqh/QsXbOetpJo2/WEM83WFT 6Ty2lsLiXiU5lIN6oNKG0nwcFEhIJ062TqRM1z+p1qCyCazCfmP4Pkqc6 HJf/i52S0VEjOQtVmUUXLs6dlTxsjUo7OArLkaBmYKLzkyXyIWA4EFUYy ntkn3kTtjEGE8GBbkIDxOYrvwabCOGwA/BM8sWz9SCleIQkAO2BrQLYNd AOP7Xts5NEEAz5vMRwD11IIc8hylmRghqBYYYnZkcTWeyKoOAzQu+2lwv Sk3eBU+Qrsu68aBS5kFZGJlSEHqIUygDIFI80lDZjOuhytqnZYyKagCxA w==; X-CSE-ConnectionGUID: M3e2sfviTImiDgazeNxgNQ== X-CSE-MsgGUID: tjJ/o9F0TiiyW5ituPoN1w== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5263243" X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="5263243" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 01:58:11 -0800 X-CSE-ConnectionGUID: zOzZuLazTJmzYjb6hfw51A== X-CSE-MsgGUID: UQfG7UhwQBqhUWT913/QHA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="14277221" Received: from ccdlinuxdev13.iil.intel.com ([143.185.161.17]) by fmviesa001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 01:58:09 -0800 From: Dima Ruinskiy To: intel-wired-lan@lists.osuosl.org Cc: dima.ruinskiy@intel.com, anthony.l.nguyen@intel.com, Michael Edri Subject: [PATCH iwl-net] e1000e: fix TX hang after failed S4 hibernate cycle Date: Thu, 3 Dec 2026 11:57:51 +0200 Message-Id: <20261203095751.1446451-1-dima.ruinskiy@intel.com> X-Mailer: git-send-email 2.34.1 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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 Signed-off-by: Michael Edri Signed-off-by: Dima Ruinskiy --- 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