cpufreq/powernv: Set core pstate to a minimum just before hotplugging it out
Status from this message: I've queued up the two patches for 3.18, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v12 patches 2 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cpufreq: Allow stop CPU callback to be used by all cpufreq driversdrivers/ | +1 | 0 replies | |
| 2/2 | powernv/cpufreq: Set the pstate of the last hotplugged out cpu in policy->cpus to minimumdrivers/ | +9 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Viresh Kumar |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/2] cpufreq/powernv: Set core pstate to a minimum just before hotplugging it out
Today cpus go to winkle when they are offlined. Since it is the deepest idle state that we have, it is expected to save good amount of power as compared to online state, where cores can enter nap/fastsleep only which are shallower idle states.
However we observed no powersavings with winkle as compared to nap/fastsleep and traced the problem to the pstate of the core being kept at a high even when the core is offline. This can keep the socket pstate high, thus burning power unnecessarily. This patchset fixes this issue.
Changes in V2: Changed smp_call_function_any() to smp_call_function_single() in Patch[2/2]
---
Preeti U Murthy (2):
cpufreq: Allow stop CPU callback to be used by all cpufreq drivers powernv/cpufreq: Set the pstate of the last hotplugged out cpu in policy->cpus to minimum
drivers/cpufreq/cpufreq.c | 2 +- drivers/cpufreq/powernv-cpufreq.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)
--