[SRU][D][PATCH 1/2] powercap/intel_rapl: add support for CometLake Mobile

You-Sheng Yang vicamo.yang at canonical.com
Mon Nov 25 06:56:44 UTC 2019


From: Zhang Rui <rui.zhang at intel.com>

BugLink: https://bugs.launchpad.net/bugs/1847454

Add CometLake Mobile support in intel_rapl driver

Signed-off-by: Zhang Rui <rui.zhang at intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
(backported from commit cae478114fbe2e6f4cb9194360cf0789a923be13
linux-next)
Signed-off-by: You-Sheng Yang <vicamo.yang at canonical.com>
---
 drivers/powercap/intel_rapl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 4d615450f70f..c795374213dc 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -1156,6 +1156,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
 	INTEL_CPU_FAM6(KABYLAKE_MOBILE,		rapl_defaults_core),
 	INTEL_CPU_FAM6(KABYLAKE_DESKTOP,	rapl_defaults_core),
 	INTEL_CPU_FAM6(CANNONLAKE_MOBILE,	rapl_defaults_core),
+	INTEL_CPU_FAM6(COMETLAKE_L,		rapl_defaults_core),
 
 	INTEL_CPU_FAM6(ATOM_SILVERMONT,		rapl_defaults_byt),
 	INTEL_CPU_FAM6(ATOM_AIRMONT,		rapl_defaults_cht),
-- 
2.24.0




More information about the kernel-team mailing list