diff options
author | Chen Yu <yu.c.chen@intel.com> | 2023-10-22 08:52:21 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2024-01-12 21:43:19 +0300 |
commit | 227ed18f456a68bbb69807294a9089208663a6d3 (patch) | |
tree | 05505f904ab649784cd26688ae888cccf4080588 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0b13410b52c4636aacb6964a4253a797c0fa0d16 (diff) | |
download | linux-227ed18f456a68bbb69807294a9089208663a6d3.tar.xz |
tools/power turbostat: Do not print negative LPI residency
turbostat prints the abnormal SYS%LPI across suspend-to-idle:
SYS%LPI = 114479815993277.50
This is reproduced by:
Run a freeze cycle, e.g. "sleepgraph -m freeze -rtcwake 15".
Then do a reboot. After boot up, launch the suspend-idle-idle
and check the SYS%LPI field.
The slp_so residence counter is in LPIT table, and BIOS does not
clears this register across reset. The PMC expects the OS to calculate
the LPI residency based on the delta. However, there is an firmware
issue that the LPIT gets cleared to 0 during the second suspend
to idle after the reboot, which brings negative delta value.
[lenb: updated to print "neg" upon this BIOS failure]
Reported-by: Todd Brandt <todd.e.brandt@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions