summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0106-pci-pme-wakeups.patch
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2017-05-22 08:43:50 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-05-23 14:58:35 +0200
commit16b0e3313f53566481c106ace9992e477f8efe9b (patch)
tree5ec03a62db7836d2fb59813cb0c912751556c378 /patches/boot_time_opt/0106-pci-pme-wakeups.patch
parent28da254d1c5ae012a6e064671aa14850c2a21a25 (diff)
downloadenea-kernel-cache-16b0e3313f53566481c106ace9992e477f8efe9b.tar.gz
patches: Boot time optimizations with ClearLinux patches
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
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