OpenCloudOS-Kernel/tools/power/x86/turbostat
Artem Bityutskiy a1b6f487cb turbostat: fix PC6 displaying on some systems
'MSR_PKG_CST_CONFIG_CONTROL' encodes the deepest allowed package C-state limit,
and turbostat decodes it.

Before this patch: turbostat does not recognize value "3" on Ice Lake Xeon
(ICX) and Sapphire Rapids Xeon (SPR), treats it as "unknown", and does not
display any package C-states in the results table.

After this patch: turbostat recognizes value 3 on ICX and SPR, treats it as
"PC6", and correctly displays package C-states in the results table.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-03-08 14:27:25 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile tools/power turbostat: Build with _FILE_OFFSET_BITS=64 2020-09-03 13:59:10 -04:00
turbostat.8 tools/power turbostat: Support "turbostat --hide idle" 2021-05-04 20:01:09 -04:00
turbostat.c turbostat: fix PC6 displaying on some systems 2022-03-08 14:27:25 +01:00