summaryrefslogtreecommitdiff
path: root/drivers/powercap/intel_rapl_common.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2022-04-21 18:07:36 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-04-22 17:39:39 +0300
commitae0dc7ed1a7c713ee9ba563a328d3b4d59223d7c (patch)
tree197b2ef5fed0173d9cb01bf7cf4e04593ee6355f /drivers/powercap/intel_rapl_common.c
parentb2d229d4ddb17db541098b83524d901257e93845 (diff)
downloadlinux-ae0dc7ed1a7c713ee9ba563a328d3b4d59223d7c.tar.xz
powercap: intel_rapl: add support for RaptorLake
Add intel_rapl support for the RaptorLake platform. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap/intel_rapl_common.c')
-rw-r--r--drivers/powercap/intel_rapl_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
index 07611a00b78f..83da499dd6ec 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -1107,6 +1107,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(ROCKETLAKE, &rapl_defaults_core),
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, &rapl_defaults_core),
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, &rapl_defaults_core),
+ X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, &rapl_defaults_core),
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &rapl_defaults_spr_server),
X86_MATCH_INTEL_FAM6_MODEL(LAKEFIELD, &rapl_defaults_core),