diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2021-05-11 09:42:24 +0200 |
---|---|---|
committer | Adrian Calianu <Adrian.Calianu@enea.com> | 2021-05-12 21:56:14 +0100 |
commit | c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8 (patch) | |
tree | 93a3d96c027a437fc9b168d07ab2ad62248d77d1 /patches/boot_time_opt/0105-pci-pme-wakeups.patch | |
parent | 7a93e54032bb148a92e16b59736a1b76fedae319 (diff) | |
download | enea-kernel-cache-c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8.tar.gz |
boot_time_opt: update patches to 5.10 kernel
Patches used in boot time optimization are coming from
clearlinux distribution. Update patches correspuding to 5.10
kernel: https://github.com/clearlinux-pkgs/linux/tree/5.10.32-1034
We selected a list of patches from ClearLinux. Those we have
considered risky, unknown impact on functionality have been
avoided.
Change-Id: If01459292a5a383b49944645bd8536d9a62d9de3
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
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 | |||