Skip to contentSkip to conversation

powercap/intel_rapl: Add support for Kabylake

PATCH Applied Jacob Pan 3 participants 4 messages Apr 22, 2016 – Apr 27, 2016 Power management core

lore
Share & tools
lore

Jacob Pan

author
#0 lore raw

PATCH 1/1 powercap/intel_rapl: Add support for Kabylake

Kabylake is similar to Skylake in terms of RAPL.

---
 drivers/powercap/intel_rapl.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/powercap/intel_rapl.c +2 -0
index 8fad0a7..470bb62 100644
@@ -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);
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Jacob Pan

Kabylake is similar to Skylake in terms of RAPL.

How urgent is this?

Can we live without it in 4.6 in particular?

Quoted 24 lines
---
 drivers/powercap/intel_rapl.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/powercap/intel_rapl.c +2 -1
index 8fad0a7..470bb62 100644
@@ -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);
--

1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 3 lines · On Mon, 25 Apr 2016 16:20:17 +0200 "Rafael J. Wysocki" <[email protected]>…

How urgent is this?

Can we live without it in 4.6 in particular?

not urgent.

#3 lore raw
Quoted 7 lines · Jacob Pan
Quoted 3 lines · On Mon, 25 Apr 2016 16:20:17 +0200 "Rafael J. Wysocki" <[email protected]>…

How urgent is this?

Can we live without it in 4.6 in particular?

not urgent.

OK

Queued up for 4.7, thanks!