Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbbG1XsJ (ORCPT ); Tue, 28 Jul 2015 19:48:09 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:57643 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750871AbbG1XsH (ORCPT ); Tue, 28 Jul 2015 19:48:07 -0400 From: "Rafael J. Wysocki" To: Pan Xinhui Cc: "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , Viresh Kumar , "mnipxh@163.com" , "yanmin_zhang@linux.intel.com" Subject: Re: [PATCH] cpufreq: Add scaling frequency range support Date: Wed, 29 Jul 2015 02:15:02 +0200 Message-ID: <6482671.TgGT1bSQ5Q@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <55B6F7C3.8040405@intel.com> References: <55B6F7C3.8040405@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 27 On Tuesday, July 28, 2015 11:32:19 AM Pan Xinhui wrote: > From: Pan Xinhui > > 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 And why is this a problem? > 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 I'm not sure I agree with the statement that this is more readable. Not applied. Thanks, Rafael -- 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/