Skip to content

cpufreq: Allow light-weight tear down on CPU offline

Viresh Kumar linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpufreq: Allow light-weight tear down on CPU offline operationdrivers/cpufreq/cpufreq.c include/linux/cpufreq.h+12 -52 replies
2/2cpufreq: dt: Implement light_weight_exit() callbackdrivers/cpufreq/cpufreq-dt.c+19 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cpufreq: Allow light-weight tear down on CPU offline

The cpufreq core doesn't remove the cpufreq policy anymore on CPU offline operation, rather that happens when the CPU device gets unregistered from the kernel. This allows faster recovery when the CPU comes back online. This is also very useful during system wide suspend/resume where we offline all non-boot CPUs during suspend and then bring them back on resume.

This patcset takes the same idea a step ahead to allow drivers to do light weight tear-down during CPU offline operation and updates the cpufreq-dt driver to implement the new helper.

Viresh Kumar (2):
cpufreq: Allow light-weight tear down on CPU offline operation
cpufreq: dt: Implement light_weight_exit() callback

 drivers/cpufreq/cpufreq-dt.c | 19 +++++++++++++++++++
 drivers/cpufreq/cpufreq.c    | 16 +++++++++++-----
 include/linux/cpufreq.h      |  1 +
 3 files changed, 31 insertions(+), 5 deletions(-)
Signature · 1 line
2.20.1.321.g9e740568ce00