diff options
Diffstat (limited to 'patches/boot_time_opt/0105-pci-pme-wakeups.patch')
-rw-r--r-- | patches/boot_time_opt/0105-pci-pme-wakeups.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/patches/boot_time_opt/0105-pci-pme-wakeups.patch b/patches/boot_time_opt/0105-pci-pme-wakeups.patch deleted file mode 100644 index 5bb76ad..0000000 --- a/patches/boot_time_opt/0105-pci-pme-wakeups.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 1dc7a20946596b24f669fe038a1ae31a28cf59a5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Mon, 14 Mar 2016 11:10:58 -0600 | ||
4 | Subject: [PATCH 105/126] pci pme wakeups | ||
5 | |||
6 | Reduce wakeups for PME checks, which are a workaround for miswired | ||
7 | boards (sadly, too many of them) in laptops. | ||
8 | --- | ||
9 | drivers/misc/vmw_balloon.c | 2 +- | ||
10 | drivers/pci/pci.c | 2 +- | ||
11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c | ||
14 | index 1e688bfec567..e0a4f3eb0d8e 100644 | ||
15 | --- a/drivers/misc/vmw_balloon.c | ||
16 | +++ b/drivers/misc/vmw_balloon.c | ||
17 | @@ -1142,7 +1142,7 @@ static void vmballoon_work(struct work_struct *work) | ||
18 | * stopped while the system transitions to/from sleep/hibernation. | ||
19 | */ | ||
20 | queue_delayed_work(system_freezable_wq, | ||
21 | - dwork, round_jiffies_relative(HZ)); | ||
22 | + dwork, round_jiffies_relative(10*HZ)); | ||
23 | } | ||
24 | |||
25 | /* | ||
26 | diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c | ||
27 | index 6078dfc11b11..44f61288d508 100644 | ||
28 | --- a/drivers/pci/pci.c | ||
29 | +++ b/drivers/pci/pci.c | ||
30 | @@ -58,7 +58,7 @@ struct pci_pme_device { | ||
31 | struct pci_dev *dev; | ||
32 | }; | ||
33 | |||
34 | -#define PME_TIMEOUT 1000 /* How long between PME checks */ | ||
35 | +#define PME_TIMEOUT 4000 /* How long between PME checks */ | ||
36 | |||
37 | static void pci_dev_d3_sleep(struct pci_dev *dev) | ||
38 | { | ||
39 | -- | ||
40 | 2.15.0 | ||
41 | |||