Quantcast

[Xenial] [PATCH 0/1] KBL: intel_rapl driver support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Xenial] [PATCH 0/1] KBL: intel_rapl driver support

Kai-Heng Feng
BugLink: https://bugs.launchpad.net/bugs/1591640

We need RAPL support for KBL to get better power control.

Impact:
Non-optimal power control on KBL system.

Fix:
Enable RAPL on KBL.

Test:
Before:
$ lsmod | grep rapl
/* Nothing */

After:
$ lsmod | grep rapl
intel_rapl             20480  0

Jacob Pan (1):
  powercap/intel_rapl: Add support for Kabylake

 drivers/powercap/intel_rapl.c | 2 ++
 1 file changed, 2 insertions(+)

--
2.11.0


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Xenial] [PATCH 1/1] powercap/intel_rapl: Add support for Kabylake

Kai-Heng Feng
From: Jacob Pan <[hidden email]>

BugLink: https://bugs.launchpad.net/bugs/1591640

Kabylake is similar to Skylake in terms of RAPL.

Signed-off-by: Jacob Pan <[hidden email]>
Signed-off-by: Rafael J. Wysocki <[hidden email]>
(cherry picked from commit 6c51cc0203de25aeaff9d0236d6c2b497be93e3b)
Signed-off-by: Kai-Heng Feng <[hidden email]>
---
 drivers/powercap/intel_rapl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 48747c28a43d..0954637c4894 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -1105,6 +1105,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);
--
2.11.0


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ACK: [Xenial] [PATCH 1/1] powercap/intel_rapl: Add support for Kabylake

Tim Gardner-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ACK: [Xenial] [PATCH 1/1] powercap/intel_rapl: Add support for Kabylake

Colin Ian King-2
In reply to this post by Kai-Heng Feng
On 07/04/17 16:19, Kai-Heng Feng wrote:

> From: Jacob Pan <[hidden email]>
>
> BugLink: https://bugs.launchpad.net/bugs/1591640
>
> Kabylake is similar to Skylake in terms of RAPL.
>
> Signed-off-by: Jacob Pan <[hidden email]>
> Signed-off-by: Rafael J. Wysocki <[hidden email]>
> (cherry picked from commit 6c51cc0203de25aeaff9d0236d6c2b497be93e3b)
> Signed-off-by: Kai-Heng Feng <[hidden email]>
> ---
>  drivers/powercap/intel_rapl.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
> index 48747c28a43d..0954637c4894 100644
> --- a/drivers/powercap/intel_rapl.c
> +++ b/drivers/powercap/intel_rapl.c
> @@ -1105,6 +1105,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);
>
Upstream cherry pick. Looks OK to me.

Acked-by: Colin Ian King <[hidden email]>

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

APPLIED[X/master-next]: [Xenial] [PATCH 1/1] powercap/intel_rapl: Add support for Kabylake

Stefan Bader-2
In reply to this post by Kai-Heng Feng



--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (836 bytes) Download Attachment
Loading...