summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2016-04-22 10:17:19 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-26 21:20:17 +0200
commit6c51cc0203de25aeaff9d0236d6c2b497be93e3b (patch)
tree956ecfc473901baaa4fd5e640db9945ab7692ed9 /drivers/powercap
parent02da2d72174c61988eb4456b53f405e3ebdebce4 (diff)
downloadblackbird-op-linux-6c51cc0203de25aeaff9d0236d6c2b497be93e3b.tar.gz
blackbird-op-linux-6c51cc0203de25aeaff9d0236d6c2b497be93e3b.zip
powercap/intel_rapl: Add support for Kabylake
Kabylake is similar to Skylake in terms of RAPL. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap')
-rw-r--r--drivers/powercap/intel_rapl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 8fad0a7044d3..470bb622fd8c 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -1101,6 +1101,8 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
RAPL_CPU(0X5C, rapl_defaults_core),/* Broxton */
RAPL_CPU(0x5E, rapl_defaults_core),/* Skylake-H/S */
RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */
+ RAPL_CPU(0x8E, rapl_defaults_core),/* Kabylake */
+ RAPL_CPU(0x9E, rapl_defaults_core),/* Kabylake */
{}
};
MODULE_DEVICE_TABLE(x86cpu, rapl_ids);
OpenPOWER on IntegriCloud