Skip to content

Commit

Permalink
tools/power turbostat: Support additional CPU model numbers
Browse files Browse the repository at this point in the history
Initial support for models recently added to intel-family.h.

Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
lenb committed Sep 3, 2020
1 parent fecb3bc commit e7af1ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/power/x86/turbostat/turbostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -4906,6 +4906,9 @@ unsigned int intel_model_duplicates(unsigned int model)
case INTEL_FAM6_ICELAKE_NNPI:
case INTEL_FAM6_TIGERLAKE_L:
case INTEL_FAM6_TIGERLAKE:
case INTEL_FAM6_ROCKETLAKE:
case INTEL_FAM6_LAKEFIELD:
case INTEL_FAM6_ALDERLAKE:
return INTEL_FAM6_CANNONLAKE_L;

case INTEL_FAM6_ATOM_TREMONT_D:
Expand All @@ -4915,6 +4918,7 @@ unsigned int intel_model_duplicates(unsigned int model)
return INTEL_FAM6_ATOM_TREMONT;

case INTEL_FAM6_ICELAKE_X:
case INTEL_FAM6_SAPPHIRERAPIDS_X:
return INTEL_FAM6_SKYLAKE_X;
}
return model;
Expand Down

0 comments on commit e7af1ed

Please sign in to comment.