Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1398622imu; Tue, 11 Dec 2018 19:26:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/XOroSPQu1bf8Pag9eT6VeGItNSAFwoTLdJtZKyooWdMb3CvtAdk/KF+hdD9pucsFB/QIX1 X-Received: by 2002:a62:34c6:: with SMTP id b189mr19243501pfa.229.1544585171261; Tue, 11 Dec 2018 19:26:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544585171; cv=none; d=google.com; s=arc-20160816; b=DvCE3NFdh4h41e3I2Zxmcb20tj+D8c0hLqwR9zMHN1h30t7K2mKX4f1gN4A9rnRIoi Ial5BK/+ZNHHjVZWiWn3W9EH5HmP9o8vMewN8OO4/rMCJGzooFYOhD7TkUT2vEfkK6HD Mp05erixV68XS43KfrPosbe5M7VErqUeqs7FefD2iK9tvm4et03annLysKNTBANBQW0b 3X3y2f++3NHL2sSh8uVCT2s1qcEg4Iiw+wFFucgsYjqzAbTXY5sgHYgKYg0sQ1XxQV7g lGZgB2jUdmtuVsi2yvj62Ud4Y6F8yNfcwoxMa1t0jMviJbuRPSWXlCHmj85q6NvcVaME rCzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=9dT4hYY1jF2ObeeyLNCQfshliLtj0rzakxr3wLuJt9M=; b=tiEAEL8b19HIYftNF3L1ZBjwHZelDAjP8VXApsoq//BCD33QJ3YGDMRbjm/jHM/69h SIvG6iE/5drTSZgdTtVrX3KcJWHeAaELAQ0SdHtpMTV1uwYOE3uzJaNpRJtH8GjS0DYb vkIpfQdqnL26sxjp4T/gvnjx0wl2LEqDALGL7tZLFFHVUMfcTEAqtv/QWyrKWmohErtd ZuomyHscSxsW4QxWJInS6MCjFe2c+Hrs8nbfYw34v+Kz9oplfUSc59ZPDblEKsbRr4ti 8Lk0oyu4sffzQuPmz5tlcIRqdBtWjPAW2PIGLTq9La8PKit6VYEKeoTTFxN1SSGTve0y E5hA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 6si14191622plc.241.2018.12.11.19.25.53; Tue, 11 Dec 2018 19:26:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726372AbeLLDZB convert rfc822-to-8bit (ORCPT + 99 others); Tue, 11 Dec 2018 22:25:01 -0500 Received: from mga01.intel.com ([192.55.52.88]:7311 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbeLLDZB (ORCPT ); Tue, 11 Dec 2018 22:25:01 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2018 19:25:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,343,1539673200"; d="scan'208";a="98054101" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga007.jf.intel.com with ESMTP; 11 Dec 2018 19:25:01 -0800 Received: from orsmsx113.amr.corp.intel.com (10.22.240.9) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 11 Dec 2018 19:25:00 -0800 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.175]) by ORSMSX113.amr.corp.intel.com ([169.254.9.208]) with mapi id 14.03.0415.000; Tue, 11 Dec 2018 19:25:00 -0800 From: "Brown, Aaron F" To: Kai-Heng Feng , "Kirsher, Jeffrey T" CC: "netdev@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "davem@davemloft.net" , "linux-kernel@vger.kernel.org" Subject: RE: [Intel-wired-lan] [PATCH] igb: Fix an issue that PME is not enabled during runtime suspend Thread-Topic: [Intel-wired-lan] [PATCH] igb: Fix an issue that PME is not enabled during runtime suspend Thread-Index: AQHUiszDi4/3vECryEGfUzr+GXoHV6V6frmw Date: Wed, 12 Dec 2018 03:24:59 +0000 Message-ID: <309B89C4C689E141A5FF6A0C5FB2118B965E5E94@ORSMSX101.amr.corp.intel.com> References: <20181203055438.363-1-kai.heng.feng@canonical.com> In-Reply-To: <20181203055438.363-1-kai.heng.feng@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > Behalf Of Kai-Heng Feng > Sent: Sunday, December 2, 2018 9:55 PM > To: Kirsher, Jeffrey T > Cc: netdev@vger.kernel.org; Kai-Heng Feng > ; intel-wired-lan@lists.osuosl.org; > davem@davemloft.net; linux-kernel@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH] igb: Fix an issue that PME is not enabled > during runtime suspend > > I210 ethernet card doesn't wakeup when a cable gets plugged. It's > because its PME is not set. > > Since commit 42eca2302146 ("PCI: Don't touch card regs after runtime > suspend D3"), if the PCI state is saved, pci_pm_runtime_suspend() stops > calling pci_finish_runtime_suspend(), which enables the PCI PME. > > To fix the issue, let's not to save PCI states when it's runtime > suspend, to let the PCI subsytem enables PME. > > Fixes: 42eca2302146 ("PCI: Don't touch card regs after runtime suspend D3") > Signed-off-by: Kai-Heng Feng > --- > drivers/net/ethernet/intel/igb/igb_main.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) Tested-by: Aaron Brown