projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02da2d7
)
powercap/intel_rapl: Add support for Kabylake
author
Jacob Pan
<
[email protected]
>
Fri, 22 Apr 2016 17:17:19 +0000
(10:17 -0700)
committer
Rafael J. Wysocki
<
[email protected]
>
Tue, 26 Apr 2016 19:20:17 +0000
(21:20 +0200)
Kabylake is similar to Skylake in terms of RAPL.
Signed-off-by: Jacob Pan <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
drivers/powercap/intel_rapl.c
patch
|
blob
|
history
diff --git
a/drivers/powercap/intel_rapl.c
b/drivers/powercap/intel_rapl.c
index 8fad0a7044d3d332b8733eaff65d2fb33dd46e61..470bb622fd8c40b8b72928f72a45702703019e50 100644
(file)
--- 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);