linux/tools/power
Prarit Bhargava 5ea7647b33 tools/power turbostat: Warn on bad ACPI LPIT data
On some systems /sys/devices/system/cpu/cpuidle/low_power_idle_cpu_residency_us
or /sys/devices/system/cpu/cpuidle/low_power_idle_system_residency_us
return a file error because of bad ACPI LPIT data from a misconfigured BIOS.
turbostat interprets this failure as a fatal error and outputs

	turbostat: CPU LPI: No data available

If the ACPI LPIT sysfs files return an error output a warning instead of
a fatal error, disable the ACPI LPIT evaluation code, and continue.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2019-03-20 23:11:44 -04:00
..
acpi ACPICA: Use %d for signed int print formatting instead of %u 2018-11-08 18:41:47 +01:00
cpupower cpupower : Auto-completion for cpupower tool 2018-12-05 07:52:45 -07:00
pm-graph PM / tools: sleepgraph and bootgraph: upgrade to v5.2 2018-10-09 09:27:34 +02:00
x86 tools/power turbostat: Warn on bad ACPI LPIT data 2019-03-20 23:11:44 -04:00