tools/power/turbostat: Enable MSR_CORE_C1_RES on recent Intel client platforms
authorZhang Rui <rui.zhang@intel.com>
Sun, 27 Aug 2023 07:33:27 +0000 (15:33 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:21 +0000 (22:14 +0800)
All recent Intel client platforms have MSR_CORE_C1_RES. Enable the
support on these platforms, including CNL/ICL/LKF/RKL/TGL/ADL/RPL/MTL.

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

index 607152b36c1a38bfe1b0ec9af07a6776ea0b7fca..9895f348b6373edb6a0e47927f4170e175e17c48 100644 (file)
@@ -604,6 +604,7 @@ static const struct platform_features cnl_features = {
        .supported_cstates = CC1 | CC6 | CC7 | PC2 | PC3 | PC6 | PC7 | PC8 | PC9 | PC10,
        .cst_limit = CST_LIMIT_HSW,
        .has_irtl_msrs = 1,
+       .has_msr_core_c1_res = 1,
        .has_ext_cst_msrs = 1,
        .trl_msrs = TRL_BASE,
        .tcc_offset_bits = 6,