]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: Print the C-state Pre-wake settings
authorChen Yu <yu.c.chen@intel.com>
Wed, 28 Apr 2021 04:18:12 +0000 (12:18 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 4 May 2021 23:10:32 +0000 (19:10 -0400)
commit028b2e8709888cc7e8f5ec1cecdb8adecc5547d9
tree3eb224e43d6b6bf4dc8a23de29e91d3ee8c9d1a8
parentb17b6cebb1b150ca194ca165168d0c61a1800863
tools/power turbostat: Print the C-state Pre-wake settings

C-state pre-wake setting[1] is an optimization for some Intel CPUs to
be woken up from deep C-states in order to reduce latency. According to
the spec, the BIT30 is the C-state Pre-wake Disable. Expose this setting
accordingly.
Sample output from turbostat:
...
cpu51: MSR_IA32_POWER_CTL: 0x1a00a40059 (C1E auto-promotion: DISabled)
C-state Pre-wake: ENabled
cpu51: MSR_TURBO_RATIO_LIMIT: 0x2021212121212224
...

[1] https://intel.github.io/wult/#c-state-pre-wake

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c