[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1549874368.git.viresh.kumar@linaro.org>
Date: Mon, 11 Feb 2019 14:11:34 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Rafael Wysocki <rjw@...ysocki.net>
Cc: Viresh Kumar <viresh.kumar@...aro.org>, linux-pm@...r.kernel.org,
Vincent Guittot <vincent.guittot@...aro.org>,
Sudeep Holla <sudeep.holla@....com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
linux-kernel@...r.kernel.org
Subject: [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(-)
--
2.20.1.321.g9e740568ce00
Powered by blists - more mailing lists