tools/power/turbostat: Use fine grained IRTL output
authorZhang Rui <rui.zhang@intel.com>
Sun, 27 Aug 2023 06:27:26 +0000 (14:27 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 27 Sep 2023 14:14:20 +0000 (22:14 +0800)
commit8c382f9e74663072805565036026d4e79de96425
tree976cf0ced3f0cc03d48d64164ad8f4e1f6242494
parentcd7a2b6a61100a0fe8a40916d1afbd72d8833d57
tools/power/turbostat: Use fine grained IRTL output

It is pointless to dump the IRTL register for a package cstate that is
not supported by the platform.

Print IRTL only for states that are available in
platform->supported_cstates.

Delete has_c8910_msrs() CPU model check.

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