summaryrefslogtreecommitdiffstats
path: root/block/blk-crypto-profile.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2022-03-08 13:41:01 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-03-08 14:27:25 +0100
commita1b6f487cb47ad99ee14730f03c80d3eb4c71e8a (patch)
tree76fe92582f10796ae15e32d263b1d3170ffa90a0 /block/blk-crypto-profile.c
parent4a49db7b0abc20634e60e92a4ee423cb18103983 (diff)
downloadlinux-a1b6f487cb47ad99ee14730f03c80d3eb4c71e8a.tar.bz2
turbostat: fix PC6 displaying on some systems
'MSR_PKG_CST_CONFIG_CONTROL' encodes the deepest allowed package C-state limit, and turbostat decodes it. Before this patch: turbostat does not recognize value "3" on Ice Lake Xeon (ICX) and Sapphire Rapids Xeon (SPR), treats it as "unknown", and does not display any package C-states in the results table. After this patch: turbostat recognizes value 3 on ICX and SPR, treats it as "PC6", and correctly displays package C-states in the results table. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'block/blk-crypto-profile.c')
0 files changed, 0 insertions, 0 deletions