powercap/intel_rapl: add support for RocketLake
authorZhang Rui <rui.zhang@intel.com>
Thu, 10 Sep 2020 07:49:11 +0000 (15:49 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Sep 2020 17:17:29 +0000 (19:17 +0200)
Add intel_rapl support for the RocketLake platform.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_common.c

index 60dbe0e43dd4e31b3f074c52d3761a4eb8187af9..55a219e968b3682a65eb7b1fc9098d3bc75947b1 100644 (file)
@@ -1036,6 +1036,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE,           &rapl_defaults_core),
        X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L,         &rapl_defaults_core),
        X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE,           &rapl_defaults_core),
+       X86_MATCH_INTEL_FAM6_MODEL(ROCKETLAKE,          &rapl_defaults_core),
        X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,    &rapl_defaults_spr_server),
 
        X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT,     &rapl_defaults_byt),