Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1193812

Re: [PATCH V2] cpufreq: Add scaling frequency range support

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH V2] cpufreq: Add scaling frequency range support
Date 2015-07-28 09:10 +0200
Message-ID <pR7br-1Yt-7@gated-at.bofh.it> (permalink)
References <pR3Ud-5vX-5@gated-at.bofh.it> <pR7br-1Yt-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 28-07-15, 15:02, Pan Xinhui wrote:
> From: Pan Xinhui <xinhuix.pan@intel.com>
> 
> Userspace at most time do cpufreq tests very much inconveniently.
> Currently they have to echo min and max cpu freq separately like below:
> echo 480000  > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
> echo 2240000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
> 
> Add scaling_freq_range cpufreq attr to support userspace's demand.
> Therefore it's easier for testers to write readable scripts like below:
> echo 480000-2240000 >
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_freq_range
> 
> Signed-off-by: Pan Xinhui <xinhuix.pan@intel.com>
> ---
> Change from V1:
> 	update cpu-freq documentation.
> ---
>  Documentation/cpu-freq/user-guide.txt |  7 +++++++
>  drivers/cpufreq/cpufreq.c             | 31 +++++++++++++++++++++++++++++++
>  2 files changed, 38 insertions(+)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH V2] cpufreq: Add scaling frequency range support Viresh Kumar <viresh.kumar@linaro.org> - 2015-07-28 09:10 +0200

csiph-web