From: Zhang Rui Date: Tue, 12 Mar 2024 03:19:15 +0000 (+0800) Subject: tools/power/turbostat: Enable MSR_CORE_C1_RES support for ICX X-Git-Tag: v6.9-rc4-pxa1908~63^2~7 X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=bb5db22c13125b38b0740e19c18ae94f8e5a0eb6;p=linux.git tools/power/turbostat: Enable MSR_CORE_C1_RES support for ICX Enable Core C1 hardware residency counter (MSR_CORE_C1_RES) on ICX. Signed-off-by: Zhang Rui Signed-off-by: Len Brown --- diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 283dffb987b5..372f67a70d8a 100644 --- 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,