]> git.baikalelectronics.ru Git - kernel.git/commitdiff
tools/power turbostat: Support Jasper Lake
authorChen Yu <yu.c.chen@intel.com>
Tue, 14 Jan 2020 04:09:45 +0000 (12:09 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 20 Mar 2020 04:32:27 +0000 (00:32 -0400)
Jasper Lake, like Elkhart Lake, uses a Tremont CPU.
So reuse the code.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 26088b2a27cca4516436c9931bb3115598d7dc4e..e953afb2e7a1537cc4dfd666291308356232faa0 100644 (file)
@@ -4623,6 +4623,9 @@ unsigned int intel_model_duplicates(unsigned int model)
        case INTEL_FAM6_ATOM_TREMONT_D:
                return INTEL_FAM6_ATOM_GOLDMONT_D;
 
+       case INTEL_FAM6_ATOM_TREMONT_L:
+               return INTEL_FAM6_ATOM_TREMONT;
+
        case INTEL_FAM6_ICELAKE_X:
                return INTEL_FAM6_SKYLAKE_X;
        }