projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a2fb0
)
powercap/intel_rapl: add support for RocketLake
author
Zhang Rui
<rui.zhang@intel.com>
Thu, 10 Sep 2020 07:49:11 +0000
(15:49 +0800)
committer
Rafael 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
patch
|
blob
|
history
diff --git
a/drivers/powercap/intel_rapl_common.c
b/drivers/powercap/intel_rapl_common.c
index
60dbe0e
..
55a219e
100644
(file)
--- a/
drivers/powercap/intel_rapl_common.c
+++ b/
drivers/powercap/intel_rapl_common.c
@@
-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),