powercap / RAPL: Support Knights Landing
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Tue, 19 May 2015 22:37:49 +0000 (15:37 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 May 2015 00:34:54 +0000 (02:34 +0200)
This patch enables intel_rapl driver to run on the
next-generation Intel(R) Xeon Phi Microarchitecture
code named "Knights Landing"

Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c

index f33262843453bb9c489cf5703a2de7fba5ff1eb4..482b22ddc7b2cc424da112aafa6b17065e75d927 100644 (file)
@@ -1101,6 +1101,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        RAPL_CPU(0x4A, rapl_defaults_tng),/* Tangier */
        RAPL_CPU(0x56, rapl_defaults_core),/* Future Xeon */
        RAPL_CPU(0x5A, rapl_defaults_ann),/* Annidale */
+       RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */
        {}
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_ids);