From 16b0e3313f53566481c106ace9992e477f8efe9b Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Mon, 22 May 2017 08:43:50 +0200 Subject: patches: Boot time optimizations with ClearLinux patches Signed-off-by: Adrian Calianu Signed-off-by: Adrian Dudau --- patches/boot_time_opt/0106-pci-pme-wakeups.patch | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 patches/boot_time_opt/0106-pci-pme-wakeups.patch (limited to 'patches/boot_time_opt/0106-pci-pme-wakeups.patch') 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 @@ +From 1f44219cd74f5c3b97e2c85af87141e1bddf0555 Mon Sep 17 00:00:00 2001 +From: Arjan van de Ven +Date: Mon, 14 Mar 2016 11:10:58 -0600 +Subject: [PATCH 106/124] pci pme wakeups + +Reduce wakeups for PME checks, which are a workaround for miswired +boards (sadly, too many of them) in laptops. +--- + drivers/pci/pci.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c +index eda6a7cf0e54..82a623255059 100644 +--- a/drivers/pci/pci.c ++++ b/drivers/pci/pci.c +@@ -57,7 +57,7 @@ struct pci_pme_device { + struct pci_dev *dev; + }; + +-#define PME_TIMEOUT 1000 /* How long between PME checks */ ++#define PME_TIMEOUT 4000 /* How long between PME checks */ + + static void pci_dev_d3_sleep(struct pci_dev *dev) + { +-- +2.11.1 + -- cgit v1.2.3-54-g00ecf