Skip to content
Snippets Groups Projects
Commit 1f81c5ef authored by Len Brown's avatar Len Brown
Browse files

tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks


Some Chromebook BIOS' do not export an ACPI LPIT, which is how
Linux finds the residency counter for CPU and SYSTEM low power states,
that is exports in /sys/devices/system/cpu/cpuidle/*residency_us

When these sysfs attributes are missing, check the debugfs attrubte
from the pmc_core driver, which accesses the same counter value.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent f6708400
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment