tools/power/x86/intel-speed-select: Add options to force online
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 29 Mar 2021 17:24:41 +0000 (10:24 -0700)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Apr 2021 17:47:22 +0000 (19:47 +0200)
commit0d3dfd75708117cedf0cea200e9c6fa266129fb5
treecbd666e9dece2800b4d7f5fdcbf6f62df464e844
parentb84733a1c52c2f93897a3cbbc1745c06250a4432
tools/power/x86/intel-speed-select: Add options to force online

It is possible that users manually offlined CPUs via sysfs interface
and then started this utility. In this case we will not be able to get
package and die id of the those CPUs. So add an option to force online
if required for some commands.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
tools/power/x86/intel-speed-select/isst-config.c