OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d4a46
)
cpuidle: lpm-levels: Do not predict LPM for isolated cpus
author
Maulik Shah
<mkshah@codeaurora.org>
Thu, 30 Nov 2017 11:39:29 +0000
(17:09 +0530)
committer
Arian
<arian.kulmer@web.de>
Tue, 19 Nov 2019 14:36:12 +0000
(15:36 +0100)
Prediction can select shallower low power mode for isolated
cpu based on historical data.
Do not predict LPMs for isolated cpus.
Change-Id: I998008ef3c578c1dccfacae8513a15dfbe397e16
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
drivers/cpuidle/lpm-levels.c
patch
|
blob
|
history
diff --git
a/drivers/cpuidle/lpm-levels.c
b/drivers/cpuidle/lpm-levels.c
index
324cce5
..
37acbd6
100644
(file)
--- a/
drivers/cpuidle/lpm-levels.c
+++ b/
drivers/cpuidle/lpm-levels.c
@@
-740,7
+740,7
@@
static int cpu_power_select(struct cpuidle_device *dev,
next_wakeup_us = next_event_us - lvl_latency_us;
}
- if (!i) {
+ if (!i
&& !cpu_isolated(dev->cpu)
) {
/*
* If the next_wake_us itself is not sufficient for
* deeper low power modes than clock gating do not