summaryrefslogtreecommitdiff
path: root/SOURCES/0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-01-15 00:10:59 +0100
committerJan200101 <sentrycraft123@gmail.com>2021-01-15 00:10:59 +0100
commitdfea584c2fff2f961013522285250f3cf030870c (patch)
tree9210d635524834039e34752d7b19952d2f92e911 /SOURCES/0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch
parent3814de27892f88d7bee46f434d386ada761fd4ba (diff)
downloadkernel-fsync-dfea584c2fff2f961013522285250f3cf030870c.tar.gz
kernel-fsync-dfea584c2fff2f961013522285250f3cf030870c.zip
kernel 5.10.7
Diffstat (limited to 'SOURCES/0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch')
-rw-r--r--SOURCES/0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/SOURCES/0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch b/SOURCES/0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch
deleted file mode 100644
index 150ddd7..0000000
--- a/SOURCES/0001-e1000e-bump-up-timeout-to-wait-when-ME-un-configure-.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Aaron Ma <aaron.ma@canonical.com>
-Date: Tue, 24 Mar 2020 03:16:39 +0800
-Subject: [PATCH] e1000e: bump up timeout to wait when ME un-configure ULP mode
-
-ME takes 2+ seconds to un-configure ULP mode done after resume
-from s2idle on some ThinkPad laptops.
-Without enough wait, reset and re-init will fail with error.
-
-Fixes: f15bb6dde738cc8fa0 ("e1000e: Add support for S0ix")
-BugLink: https://bugs.launchpad.net/bugs/1865570
-Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
----
- drivers/net/ethernet/intel/e1000e/ich8lan.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c
-index b2f2fcfdf732..a9e4c059d402 100644
---- a/drivers/net/ethernet/intel/e1000e/ich8lan.c
-+++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c
-@@ -1245,9 +1245,9 @@ static s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force)
- ew32(H2ME, mac_reg);
- }
-
-- /* Poll up to 300msec for ME to clear ULP_CFG_DONE. */
-+ /* Poll up to 2.5sec for ME to clear ULP_CFG_DONE. */
- while (er32(FWSM) & E1000_FWSM_ULP_CFG_DONE) {
-- if (i++ == 30) {
-+ if (i++ == 250) {
- ret_val = -E1000_ERR_PHY;
- goto out;
- }
---
-2.28.0
-