diff options
Diffstat (limited to 'patches/boot_time_opt/0104-pci-pme-wakeups.patch')
-rw-r--r-- | patches/boot_time_opt/0104-pci-pme-wakeups.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0104-pci-pme-wakeups.patch b/patches/boot_time_opt/0104-pci-pme-wakeups.patch new file mode 100644 index 0000000..fbb4a3d --- /dev/null +++ b/patches/boot_time_opt/0104-pci-pme-wakeups.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 0000000000000000000000000000000000000000 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] 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/pci/pci.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c | ||
13 | index 9e971fffeb6a..341054cad201 100644 | ||
14 | --- a/drivers/pci/pci.c | ||
15 | +++ b/drivers/pci/pci.c | ||
16 | @@ -59,7 +59,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 | -- | ||
26 | https://clearlinux.org | ||
27 | |||