Add more CPUs support in turbostat
cover Add more CPUs support in turbostat
Alder Lake P and Ice Lake D are added in this patch set.
Chen Yu (2):
tools/power turbostat: Support Alder Lake Mobile tools/power turbostat: Support Ice Lake D
tools/power/x86/turbostat/turbostat.c | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
2.25.1
PATCH 1/2 tools/power turbostat: Support Alder Lake P
Share the code between Alder Lake P and Alder Lake S.
Tested-by Wendy Wang <[email protected]>
Signed-off-by Chen Yu <[email protected]>
--- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
@@ -4986,6 +4986,7 @@ unsigned int intel_model_duplicates(unsigned int model)case INTEL_FAM6_ROCKETLAKE :case INTEL_FAM6_LAKEFIELD :case INTEL_FAM6_ALDERLAKE : +case INTEL_FAM6_ALDERLAKE_L :return INTEL_FAM6_CANNONLAKE_L ;case INTEL_FAM6_ATOM_TREMONT_L :
Signature · 1 line
2.25.1
PATCH 2/2 tools/power turbostat: Support Ice Lake D
In reply to Chen YuIce Lake D is low-end server version of Ice Lake X, reuse the code accordingly.
Tested-by Wendy Wang <[email protected]>
Signed-off-by Chen Yu <[email protected]>
--- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
@@ -4993,6 +4993,7 @@ unsigned int intel_model_duplicates(unsigned int model)return INTEL_FAM6_ATOM_TREMONT ;case INTEL_FAM6_ICELAKE_X : +case INTEL_FAM6_ICELAKE_D :case INTEL_FAM6_SAPPHIRERAPIDS_X :return INTEL_FAM6_SKYLAKE_X ; }
Signature · 1 line
2.25.1