From patchwork Thu Jul 18 08:57:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1962010 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WPmsc0tb1z20FC for ; Thu, 18 Jul 2024 18:57:39 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sUMx3-0005Rs-Fi; Thu, 18 Jul 2024 08:57:25 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sUMx1-0005Rb-Ux for kernel-team@lists.ubuntu.com; Thu, 18 Jul 2024 08:57:23 +0000 Received: from localhost.localdomain (unknown [222.129.37.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 765D33F326 for ; Thu, 18 Jul 2024 08:57:22 +0000 (UTC) From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 0/2] Fix e1000e hang after suspend Date: Thu, 18 Jul 2024 16:57:15 +0800 Message-ID: <20240718085717.1088963-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2073358 [Impact] Intel e1000e driver will be hang after suspend due to: 861e8086029e ("e1000e: move force SMBUS from enable ulp function to avoid PHY loss issue") [Fix] Adjust the smbus logic during suspend to fix the issue. Upstream fix: bfd546a552e1 e1000e: move force SMBUS near the end of enable_ulp function 76a0a3f9cc2f e1000e: fix force smbus during suspend flow [Test] Bug reporter tested on hardware, e1000e works fine after suspend. [Where problems could occur] It may break e1000e driver. Hui Wang (1): e1000e: move force SMBUS near the end of enable_ulp function Vitaly Lifshits (1): e1000e: fix force smbus during suspend flow drivers/net/ethernet/intel/e1000e/ich8lan.c | 55 +++++++++++++++++++++ drivers/net/ethernet/intel/e1000e/netdev.c | 18 ------- 2 files changed, 55 insertions(+), 18 deletions(-) Acked-by: Thibault Ferrante Acked-by: Noah Wager Acked-by: Andrei Gherzan