From: Dasaratharaman Chandramouli Date: Tue, 19 May 2015 22:37:49 +0000 (-0700) Subject: powercap / RAPL: Support Knights Landing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f066d4d2621affdbc510b5b0bd624af7ae74e1b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Jacob Pan Signed-off-by: Rafael J. Wysocki --- 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);