linux/tools/power/x86/turbostat
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
..
.gitignore turbostat: Add a .gitignore to ignore the compiled turbostat binary 2014-01-18 22:34:10 -05:00
Makefile tools power turbostat: Override CFLAGS assignments and add LDFLAGS to build command 2018-12-28 16:33:08 -03:00
turbostat.8 tools/power turbostat: Update turbostat(8) RAPL throttling column description 2018-07-17 20:06:47 -04:00
turbostat.c tools/power turbostat: Warn on bad ACPI LPIT data 2019-03-20 23:11:44 -04:00