diff options
author | Len Brown <len.brown@intel.com> | 2020-08-14 02:06:03 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2020-09-03 20:58:37 +0300 |
commit | e7af1ed3fa4756e8df8270a8635d852a94266061 (patch) | |
tree | c2984d7dae13aa9a3f8ca45efa9198c5be66deba /tools/power | |
parent | fecb3bc839df64761cc63c9ee9b45c1cad36aee8 (diff) | |
download | linux-e7af1ed3fa4756e8df8270a8635d852a94266061.tar.xz |
tools/power turbostat: Support additional CPU model numbers
Initial support for models recently added to intel-family.h.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 56b93e0d9415..4ee4e3067681 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -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: @@ -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; |