Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1193775
| Path | csiph.com!aioe.org!goblin3!goblin1!goblin.stu.neva.ru!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Viresh Kumar <viresh.kumar@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] cpufreq: Add scaling frequency range support |
| Date | Tue, 28 Jul 2015 07:30:03 +0200 |
| Message-ID | <pR5CH-86P-39@gated-at.bofh.it> (permalink) |
| References | <pR3Ud-5vX-5@gated-at.bofh.it> |
| X-Original-To | Pan Xinhui <xinhuix.pan@intel.com> |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=FYx1Dd3t9f30iMKNy/pkaYTVKaKn/S3pb8vJhxiV3q8=; b=I0KfGdlkzNRb5wXGVnMB2IDkk7E2DmUyKyaxeqvCOoYkm6DP2azdjfM0G9X+yN8hMt 8i7ZNUk8+KTnB7UxNontJPyn4IQMs3sWeDg949GrE/oZ+pp3iZbD549ZPBJ0mpk/eR8g aul31Ht6vmeNh5UaNPnGAs6fQZ/rfoKwCc2zJzdhtA/pvkHHKl0Bv3smG773JLz+Fgr6 AAnCK0HfyTzXMyiZxUebfOY463aAc7ZrM78w5EPAL3OaUZypOsEK+2XaryupG0uzsioD U5FWiUXduOXjTsWaVNi036xJlrwMglr75ks8IXQK5eAmeyd7lKiELzjFiUuYHPYdkfQK f/vA== |
| X-Gm-Message-State | ALoCoQkXifix867Ha7rSSxKp1fPPmYH3nxG0NfUL8gmbW9VtG8NSeF4W7cbzjgxmAgvS0rCqg+0T |
| X-Received | by 10.66.236.39 with SMTP id ur7mr76985970pac.123.1438060840963; Mon, 27 Jul 2015 22:20:40 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 27 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>, "rjw@rjwysocki.net" <rjw@rjwysocki.net>, "mnipxh@163.com" <mnipxh@163.com>, "yanmin_zhang@linux.intel.com" <yanmin_zhang@linux.intel.com> |
| X-Original-Date | Tue, 28 Jul 2015 10:50:36 +0530 |
| X-Original-Message-ID | <20150728052036.GA31364@linux> |
| X-Original-References | <55B6F7C3.8040405@intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1193775 |
Show key headers only | View raw
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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] cpufreq: Add scaling frequency range support Viresh Kumar <viresh.kumar@linaro.org> - 2015-07-28 07:30 +0200
csiph-web