tools/power/turbostat: Adjust cstate for models with .cst_limit set
authorZhang Rui <rui.zhang@intel.com>
Fri, 8 Sep 2023 15:17:23 +0000 (23:17 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:19 +0000 (22:14 +0800)
commit6f1935c036f79b56b6a1dc6e51c8c6fe483983ec
treebb68eac3e85dcf91fb465b386bc98c7313eab804
parent942c854d8d0f6c6fc0864a9da5f5e374a8e146e5
tools/power/turbostat: Adjust cstate for models with .cst_limit set

Enable PC3/PC6 for platforms with .cst_limit set because package cstates
are guarded by pkg_cstate_limit.

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