LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] powercap / RAPL: add support for Cannon Lake
@ 2018-03-02 18:32 Joe Konno
2018-03-20 17:09 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Joe Konno @ 2018-03-02 18:32 UTC (permalink / raw)
To: linux-pm; +Cc: rjw, linux-kernel
From: Joe Konno <joe.konno@intel.com>
RAPL MSRs and handling for Cannon Lake are similar to Sky Lake and Kaby
Lake.
Signed-off-by: Joe Konno <joe.konno@intel.com>
---
drivers/powercap/intel_rapl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 35636e1d8a3d..295d8dcba48c 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -1162,6 +1162,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
RAPL_CPU(INTEL_FAM6_SKYLAKE_X, rapl_defaults_hsw_server),
RAPL_CPU(INTEL_FAM6_KABYLAKE_MOBILE, rapl_defaults_core),
RAPL_CPU(INTEL_FAM6_KABYLAKE_DESKTOP, rapl_defaults_core),
+ RAPL_CPU(INTEL_FAM6_CANNONLAKE_MOBILE, rapl_defaults_core),
RAPL_CPU(INTEL_FAM6_ATOM_SILVERMONT1, rapl_defaults_byt),
RAPL_CPU(INTEL_FAM6_ATOM_AIRMONT, rapl_defaults_cht),
--
2.14.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] powercap / RAPL: add support for Cannon Lake
2018-03-02 18:32 [PATCH] powercap / RAPL: add support for Cannon Lake Joe Konno
@ 2018-03-20 17:09 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2018-03-20 17:09 UTC (permalink / raw)
To: Joe Konno; +Cc: linux-pm, linux-kernel
On Friday, March 2, 2018 7:32:51 PM CET Joe Konno wrote:
> From: Joe Konno <joe.konno@intel.com>
>
> RAPL MSRs and handling for Cannon Lake are similar to Sky Lake and Kaby
> Lake.
>
> Signed-off-by: Joe Konno <joe.konno@intel.com>
> ---
> drivers/powercap/intel_rapl.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
> index 35636e1d8a3d..295d8dcba48c 100644
> --- a/drivers/powercap/intel_rapl.c
> +++ b/drivers/powercap/intel_rapl.c
> @@ -1162,6 +1162,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
> RAPL_CPU(INTEL_FAM6_SKYLAKE_X, rapl_defaults_hsw_server),
> RAPL_CPU(INTEL_FAM6_KABYLAKE_MOBILE, rapl_defaults_core),
> RAPL_CPU(INTEL_FAM6_KABYLAKE_DESKTOP, rapl_defaults_core),
> + RAPL_CPU(INTEL_FAM6_CANNONLAKE_MOBILE, rapl_defaults_core),
>
> RAPL_CPU(INTEL_FAM6_ATOM_SILVERMONT1, rapl_defaults_byt),
> RAPL_CPU(INTEL_FAM6_ATOM_AIRMONT, rapl_defaults_cht),
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-20 17:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-02 18:32 [PATCH] powercap / RAPL: add support for Cannon Lake Joe Konno
2018-03-20 17:09 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).