summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0106-pci-pme-wakeups.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/boot_time_opt/0106-pci-pme-wakeups.patch')
-rw-r--r--patches/boot_time_opt/0106-pci-pme-wakeups.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0106-pci-pme-wakeups.patch b/patches/boot_time_opt/0106-pci-pme-wakeups.patch
new file mode 100644
index 0000000..f0a4799
--- /dev/null
+++ b/patches/boot_time_opt/0106-pci-pme-wakeups.patch
@@ -0,0 +1,27 @@
1From 1f44219cd74f5c3b97e2c85af87141e1bddf0555 Mon Sep 17 00:00:00 2001
2From: Arjan van de Ven <arjan@linux.intel.com>
3Date: Mon, 14 Mar 2016 11:10:58 -0600
4Subject: [PATCH 106/124] pci pme wakeups
5
6Reduce wakeups for PME checks, which are a workaround for miswired
7boards (sadly, too many of them) in laptops.
8---
9 drivers/pci/pci.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
13index eda6a7cf0e54..82a623255059 100644
14--- a/drivers/pci/pci.c
15+++ b/drivers/pci/pci.c
16@@ -57,7 +57,7 @@ struct pci_pme_device {
17 struct pci_dev *dev;
18 };
19
20-#define PME_TIMEOUT 1000 /* How long between PME checks */
21+#define PME_TIMEOUT 4000 /* How long between PME checks */
22
23 static void pci_dev_d3_sleep(struct pci_dev *dev)
24 {
25--
262.11.1
27