Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'linux-cpupower-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux

Pull cpupower utility updates for 7.1-rc1 from Shuah Khan:

"- Fixes errors in cpupower-frequency-info short option names
to its manpage.
- Fixes cpupower-idle-info perf option name to its manpage.
- Adds boost and epp options to cpupower-frequency-info to its
manpage.
- Adds description for perf-bias option to cpupower-info to its
manpage.
- Removes unnecessary extern declarations from getopt.h in arguments
parsing functions in cpufreq-set, cpuidle-info, cpuidle-set,
cpupower-info, and cpupower-set utilities. These functions are
defined getopt.h file."

* tag 'linux-cpupower-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux:
cpupower: remove extern declarations in cmd functions
cpupower-info.1: describe the --perf-bias option
cpupower-frequency-info.1: document --boost and --epp options
cpupower-frequency-info.1: use the proper name of the --perf option
cpupower-idle-info.1: fix short option names

+17 -16
+7 -1
tools/power/cpupower/man/cpupower-frequency-info.1
··· 32 32 \fB\-g\fR \fB\-\-governors\fR 33 33 Determines available cpufreq governors. 34 34 .TP 35 + \fB\-b\fR \fB\-\-boost\fR 36 + Gets the current boost state support. 37 + .TP 38 + \fB\-z\fR \fB\-\-epp\fR 39 + Gets the current EPP (energy performance preference). 40 + .TP 35 41 \fB\-r\fR \fB\-\-related\-cpus\fR 36 42 Determines which CPUs run at the same hardware frequency. 37 43 .TP ··· 59 53 \fB\-n\fR \fB\-\-no-rounding\fR 60 54 Output frequencies and latencies without rounding off values. 61 55 .TP 62 - \fB\-c\fR \fB\-\-perf\fR 56 + \fB\-c\fR \fB\-\-performance\fR 63 57 Get performances and frequencies capabilities of CPPC, by reading it from hardware (only available on the hardware with CPPC). 64 58 .TP 65 59 .SH "REMARKS"
+2 -2
tools/power/cpupower/man/cpupower-idle-info.1
··· 11 11 .SH "OPTIONS" 12 12 .LP 13 13 .TP 14 - \fB\-f\fR \fB\-\-silent\fR 14 + \fB\-s\fR \fB\-\-silent\fR 15 15 Only print a summary of all available C-states in the system. 16 16 .TP 17 - \fB\-e\fR \fB\-\-proc\fR 17 + \fB\-o\fR \fB\-\-proc\fR 18 18 deprecated. 19 19 Prints out idle information in old /proc/acpi/processor/*/power format. This 20 20 interface has been removed from the kernel for quite some time, do not let
+8 -1
tools/power/cpupower/man/cpupower-info.1
··· 3 3 cpupower\-info \- Shows processor power related kernel or hardware configurations 4 4 .SH SYNOPSIS 5 5 .ft B 6 - .B cpupower info [ \-b ] 6 + .B cpupower info [\fIoptions\fP] 7 7 8 8 .SH DESCRIPTION 9 9 \fBcpupower info \fP shows kernel configurations or processor hardware ··· 12 12 Some options are platform wide, some affect single cores. By default values 13 13 of core zero are displayed only. cpupower --cpu all cpuinfo will show the 14 14 settings of all cores, see cpupower(1) how to choose specific cores. 15 + 16 + .SH "OPTIONS" 17 + .LP 18 + .TP 19 + \fB\-b\fR \fB\-\-perf-bias\fR 20 + Gets the current performance bias value. 21 + .TP 15 22 16 23 .SH "SEE ALSO" 17 24 Options are described in detail in:
-2
tools/power/cpupower/utils/cpufreq-info.c
··· 542 542 543 543 int cmd_freq_info(int argc, char **argv) 544 544 { 545 - extern char *optarg; 546 - extern int optind, opterr, optopt; 547 545 int ret = 0, cont = 1; 548 546 unsigned int cpu = 0; 549 547 unsigned int human = 0;
-2
tools/power/cpupower/utils/cpufreq-set.c
··· 195 195 196 196 int cmd_freq_set(int argc, char **argv) 197 197 { 198 - extern char *optarg; 199 - extern int optind, opterr, optopt; 200 198 int ret = 0, cont = 1; 201 199 int double_parm = 0, related = 0, policychange = 0; 202 200 unsigned long freq = 0;
-2
tools/power/cpupower/utils/cpuidle-info.c
··· 139 139 140 140 int cmd_idle_info(int argc, char **argv) 141 141 { 142 - extern char *optarg; 143 - extern int optind, opterr, optopt; 144 142 int ret = 0, cont = 1, output_param = 0, verbose = 1; 145 143 unsigned int cpu = 0; 146 144
-2
tools/power/cpupower/utils/cpuidle-set.c
··· 24 24 25 25 int cmd_idle_set(int argc, char **argv) 26 26 { 27 - extern char *optarg; 28 - extern int optind, opterr, optopt; 29 27 int ret = 0, cont = 1, param = 0, disabled; 30 28 unsigned long long latency = 0, state_latency; 31 29 unsigned int cpu = 0, idlestate = 0, idlestates = 0;
-2
tools/power/cpupower/utils/cpupower-info.c
··· 28 28 29 29 int cmd_info(int argc, char **argv) 30 30 { 31 - extern char *optarg; 32 - extern int optind, opterr, optopt; 33 31 unsigned int cpu; 34 32 struct utsname uts; 35 33
-2
tools/power/cpupower/utils/cpupower-set.c
··· 33 33 34 34 int cmd_set(int argc, char **argv) 35 35 { 36 - extern char *optarg; 37 - extern int optind, opterr, optopt; 38 36 unsigned int cpu; 39 37 struct utsname uts; 40 38