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


Groups > linux.kernel > #1193775 > unrolled thread

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

Started byViresh Kumar <viresh.kumar@linaro.org>
First post2015-07-28 07:30 +0200
Last post2015-07-28 07:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1193775 — Re: [PATCH] cpufreq: Add scaling frequency range support

FromViresh Kumar <viresh.kumar@linaro.org>
Date2015-07-28 07:30 +0200
SubjectRe: [PATCH] cpufreq: Add scaling frequency range support
Message-ID<pR5CH-86P-39@gated-at.bofh.it>
On 28-07-15, 11:32, 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>
> ---
>  drivers/cpufreq/cpufreq.c | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)

Okay, code looks fine but please updates Documentation as well.

-- 
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web