summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>2015-05-20 00:37:49 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-05-21 02:34:54 +0200
commit6f066d4d2621affdbc510b5b0bd624af7ae74e1b (patch)
treea95227f0f80a5c8fc7be9cbf00882c6ec309ac97
parentpowercap / RAPL: Floor frequency setting in Atom SoC (diff)
downloadlinux-6f066d4d2621affdbc510b5b0bd624af7ae74e1b.tar.xz
linux-6f066d4d2621affdbc510b5b0bd624af7ae74e1b.zip
powercap / RAPL: Support Knights Landing
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>
-rw-r--r--drivers/powercap/intel_rapl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index f33262843453..482b22ddc7b2 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -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);