tools/power turbostat: add TCC Offset support
authorZhang Rui <rui.zhang@intel.com>
Wed, 21 Apr 2021 15:22:14 +0000 (23:22 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 5 May 2021 00:01:08 +0000 (20:01 -0400)
commit0b9a0b9be991656f125b58a240065cdf72077244
tree54ad72169e51316452174e66687097e08fa9cec6
parente9d3092f6d7c21031c8ac10ba2016ae0482a39fe
tools/power turbostat: add TCC Offset support

The length of TCC Offset bits varies on different platforms.
Decode TCC Offset bits only for the platforms that we have verified.
For the others, only show default TCC activation temperature.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c