diff options
author | Len Brown <len.brown@intel.com> | 2020-03-19 18:26:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-08 09:08:39 +0200 |
commit | 09116eeea6a50b98e9d64b08659d7441eebfbff3 (patch) | |
tree | 14676bc2c10225d44d659073fcd74959880ea5fb /lib/test_xarray.c | |
parent | 0ba0ce3cbb866e1b8fe688a89a73a6d3861490a5 (diff) |
tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks
[ Upstream commit 1f81c5efc020314b2db30d77efe228b7e117750d ]
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: Len Brown <len.brown@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions