turbostat: fix PC6 displaying on some systems
PATCH 1/1 turbostat: fix PC6 displaying on some systems
From: Artem Bityutskiy <[email protected]>
'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), 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, treats it as "PC6", and correctly displays package C-states in the results table.
--- tools/power/x86/turbostat/turbostat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/x86/turbostat/turbostat.c +1 -1
@@ -2323,7 +2323,7 @@ int skx_pkg_cstate_limits[16] = };int icx_pkg_cstate_limits[16 ] = - {PCL__0 ,PCL__2 ,PCL__6 ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV ,PCLUNL ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV , + {PCL__0 ,PCL__2 ,PCL__6 ,PCL__6 ,PCLRSV ,PCLRSV ,PCLRSV ,PCLUNL ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV ,PCLRSV };
Signature · 1 line
2.31.1
Quoted 5 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
'
MSR_PKG_CST_CONFIG_CONTROL' encodes the deepest allowed package C-state limit, and turbostat decodes it.
Quoted 8 lines
Before this patch: turbostat does not recognize value "3" on Ice Lake Xeon (ICX), 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, treats it as "PC6", and correctly displays package C-states in the results table.
Signed-off-by Artem Bityutskiy <[email protected]>
Hi,
any chance for this patch to be picked?
Thanks,
Artem.
Hi, any feed-back on this patch, or a chance for it to be picked up?
Thanks!
Quoted 15 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
'
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), 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, treats it as "PC6", and correctly displays package C-states in the results table.
Signed-off-by Artem Bityutskiy <[email protected]>
Quoted 5 lines · Artem Bityutskiy
From: Artem Bityutskiy <[email protected]>
'
MSR_PKG_CST_CONFIG_CONTROL' encodes the deepest allowed package C-state limit, and turbostat decodes it.
Quoted 8 lines
Before this patch: turbostat does not recognize value "3" on Ice Lake Xeon (ICX), 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, treats it as "PC6", and correctly displays package C-states in the results table.
Signed-off-by Artem Bityutskiy <[email protected]>
Hi Rafael,
would you please take a look at this patch and possibly apply it? Thanks!