From: Viresh Kumar <viresh.kumar@linaro.org>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Linux PM list <linux-pm@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Subject: Re: [PATCH 3/3] cpufreq: Simplify core code related to boost support
Date: Mon, 28 Dec 2015 08:59:49 +0530 [thread overview]
Message-ID: <20151228032949.GG3598@ubuntu> (raw)
In-Reply-To: <2445772.lclmJ5R52X@vostro.rjw.lan>
On 27-12-15, 00:27, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> Notice that the boost_supported field in struct cpufreq_driver is
> redundant, because the driver's ->set_boost callback may be left
> unset if "boost" is not supported. Moreover, the only driver
> populating the ->set_boost callback is acpi_cpufreq, so make it
> avoid populating that callback if "boost" is not supported, rework
> the core to check ->set_boost instead of boost_supported to
> verify "boost" support and drop boost_supported which isn't
> used any more.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
> drivers/cpufreq/acpi-cpufreq.c | 5 ++---
> drivers/cpufreq/cpufreq.c | 22 +++++++---------------
> include/linux/cpufreq.h | 1 -
> 3 files changed, 9 insertions(+), 19 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
prev parent reply other threads:[~2015-12-28 3:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-26 23:21 [PATCH 0/3] cpufreq: Boost cleanup Rafael J. Wysocki
2015-12-26 23:23 ` [PATCH 1/3] cpufreq: Make cpufreq_boost_supported() static Rafael J. Wysocki
2015-12-28 3:16 ` Viresh Kumar
2015-12-26 23:25 ` [PATCH 2/3] cpufreq: acpi-cpufreq: Simplify boost-related code Rafael J. Wysocki
2015-12-28 3:18 ` Viresh Kumar
2015-12-26 23:27 ` [PATCH 3/3] cpufreq: Simplify core code related to boost support Rafael J. Wysocki
2015-12-28 3:29 ` Viresh Kumar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151228032949.GG3598@ubuntu \
--to=viresh.kumar@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=srinivas.pandruvada@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).