examples/power: add turbo commands to help text
PATCH 1/1 examples/power: add turbo commands to help text
From: David Hunt <[email protected]>
Fixes d191f0853378 ("examples/vm_power_manager: add per-core turbo CLI")
Signed-off-by Marko Kovacevic <[email protected]>
--- examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c +3 -2
@@ -131,8 +131,9 @@ cmdline_parse_token_string_t cmd_set_cpu_freq_cmd_cmd =cmdline_parse_inst_t cmd_set_cpu_freq_set = { .f = cmd_set_cpu_freq_parsed, .data =NULL , - .help_str ="set_cpu_freq <core_num> <up|down|min|max>, Set the current " -"frequency for the specified core by scaling up/down/min/max" , + .help_str ="set_cpu_freq <core_num> " +"<up|down|min|max|enable_turbo|disable_turbo>, " +"adjust the frequency for the specified core." , .tokens = { (void *)&cmd_set_cpu_freq, (void *)&cmd_set_cpu_freq_core_num,
Signature · 1 line
2.5.5
Hi Marko,
Quoted 15 lines · Marko Kovacevic
From: David Hunt <[email protected]>
Fixes d191f0853378 ("examples/vm_power_manager: add per-core turbo CLI")Signed-off-by Marko Kovacevic <[email protected]>--- examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)examples/vm_power_manager/guest_cli/vm_power_cli_guest.c +0
-0@@ -131,8 +131,9 @@ cmdline_parse_token_string_t cmd_set_cpu_freq_cmd_cmd =cmdline_parse_inst_t cmd_set_cpu_freq_set = {
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c cmdline_parse_token_string_t cmd_set_cpu_freq_cmd_cmd = · line 139
Quoted 10 lines
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c +3
-2.f = cmd_set_cpu_freq_parsed, .data = NULL, - .help_str = "set_cpu_freq <core_num> <up|down|min|max>, Set the current " - "frequency for the specified core by scaling up/down/min/max", + .help_str = "set_cpu_freq <core_num> " + "<up|down|min|max|enable_turbo|disable_turbo>, " + "adjust the frequency for the specified core.", .tokens = { (void *)&cmd_set_cpu_freq, (void *)&cmd_set_cpu_freq_core_num,
Thanks for the patch. Looks good to me.
Acked-by David Hunt <[email protected]>
Thomas Monjalon
Applied19/10/2017 14:27, Hunt, David:
Quoted 5 lines
Hi Marko,
Quoted 2 lines · Marko Kovacevic
From: David Hunt <[email protected]>
Quoted 7 lines
Quoted 4 lines
Fixes d191f0853378 ("examples/vm_power_manager: add per-core turbo CLI")Signed-off-by Marko Kovacevic <[email protected]>---
Thanks for the patch. Looks good to me.
Acked-by David Hunt <[email protected]>
Applied, thanks