powercap: intel_rapl: add support for Jacobsville
authorZhang Rui <rui.zhang@intel.com>
Tue, 12 Feb 2019 02:47:10 +0000 (10:47 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Feb 2019 22:45:50 +0000 (23:45 +0100)
Jacobsville RAPL interface is compatible with Core-based CPUs.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c

index 6cdb2c14eee4c33db1ec24e3fcfebe62a03b9a5d..393463eb157f5e7dc0c3939e5ca2bb3682903464 100644 (file)
@@ -1164,6 +1164,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        INTEL_CPU_FAM6(ATOM_GOLDMONT,           rapl_defaults_core),
        INTEL_CPU_FAM6(ATOM_GOLDMONT_PLUS,      rapl_defaults_core),
        INTEL_CPU_FAM6(ATOM_GOLDMONT_X,         rapl_defaults_core),
+       INTEL_CPU_FAM6(ATOM_TREMONT_X,          rapl_defaults_core),
 
        INTEL_CPU_FAM6(XEON_PHI_KNL,            rapl_defaults_hsw_server),
        INTEL_CPU_FAM6(XEON_PHI_KNM,            rapl_defaults_hsw_server),