1
0
Fork 0
alistair23-linux/tools/power
Srinivas Pandruvada f7dad7c353 tools/power/x86/intel-speed-select: Ignore missing config level
[ Upstream commit 20183ccd3e ]

It is possible that certain config levels are not available, even
if the max level includes the level. There can be missing levels in
some platforms. So ignore the level when called for information dump
for all levels and fail if specifically ask for the missing level.

Here the changes is to continue reading information about other levels
even if we fail to get information for the current level. But use the
"processed" flag to indicate the failure. When the "processed" flag is
not set, don't dump information about that level.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 19:18:20 +01:00
..
acpi ACPICA: iASL,acpi_dump: Improve y/n query 2019-08-21 00:00:36 +02:00
cpupower tools/power/cpupower: Fix initializer override in hsw_ext_cstates 2019-12-31 16:43:26 +01:00
pm-graph pm-graph: make setVal unbuffered again for python2 and python3 2019-09-04 23:10:26 +02:00
x86 tools/power/x86/intel-speed-select: Ignore missing config level 2020-01-04 19:18:20 +01:00