projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17d1ea1
)
tools/power/turbostat: Enable MSR_CORE_C1_RES support for ICX
author
Zhang Rui
<rui.zhang@intel.com>
Tue, 12 Mar 2024 03:19:15 +0000
(11:19 +0800)
committer
Len Brown
<len.brown@intel.com>
Tue, 9 Apr 2024 18:04:23 +0000
(14:04 -0400)
Enable Core C1 hardware residency counter (MSR_CORE_C1_RES) on ICX.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c
patch
|
blob
|
history
diff --git
a/tools/power/x86/turbostat/turbostat.c
b/tools/power/x86/turbostat/turbostat.c
index 283dffb987b590c130b5ff5a90552a168fff3af9..372f67a70d8ab8e3681b2ca5ff89d2235a444425 100644
(file)
--- a/
tools/power/x86/turbostat/turbostat.c
+++ b/
tools/power/x86/turbostat/turbostat.c
@@
-664,6
+664,7
@@
static const struct platform_features icx_features = {
.bclk_freq = BCLK_100MHZ,
.supported_cstates = CC1 | CC6 | PC2 | PC6,
.cst_limit = CST_LIMIT_ICX,
+ .has_msr_core_c1_res = 1,
.has_irtl_msrs = 1,
.has_cst_prewake_bit = 1,
.trl_msrs = TRL_BASE | TRL_CORECOUNT,