tools/power/x86/intel-speed-select: Special handling for CPU 0 online/offline
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 5 Mar 2020 22:45:16 +0000 (14:45 -0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Mar 2020 12:46:20 +0000 (14:46 +0200)
commit696691985c3191f2c4c76f09b1c7c5f3ca99d5ed
tree054cc8cd34f801b4036a948c441da4d250b8f9a4
parent6320c9fb91212bc951b3a2d2cc2fceb1de4aea43
tools/power/x86/intel-speed-select: Special handling for CPU 0 online/offline

When "-o" option for force online/offline is used with command:
perf-profile set-config-level

If the config level calls for CPU 0 online/offline, then call fails
as there is special kernel setup required for CPU 0 online/offline
and the currently not setup for that.

But when call is for online CPU 0, then don't fail. Just warn that
this system is not setup for CPU 0 online/offline.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
tools/power/x86/intel-speed-select/isst-config.c