diff mbox

powercap/intel_rapl: Add support for Gemini Lake

Message ID 20170423141520.7517-1-david.e.box@linux.intel.com (mailing list archive)
State Mainlined
Delegated to: Rafael Wysocki
Headers show

Commit Message

David E. Box April 23, 2017, 2:15 p.m. UTC
From: "Box, David E" <david.e.box@intel.com>

Gemini Lake RAPL support is similar to Goldmont.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
---
 drivers/powercap/intel_rapl.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jacob Pan April 24, 2017, 4:54 p.m. UTC | #1
On Sun, 23 Apr 2017 07:15:20 -0700
"David E. Box" <david.e.box@linux.intel.com> wrote:

> From: "Box, David E" <david.e.box@intel.com>
> 
> Gemini Lake RAPL support is similar to Goldmont.
> 
Acked-by: Pan, Jacob jun <jacob.jun.pan@intel.com>
> Signed-off-by: David E. Box <david.e.box@linux.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 9a25110..9ddad08 100644
> --- a/drivers/powercap/intel_rapl.c
> +++ b/drivers/powercap/intel_rapl.c
> @@ -1164,6 +1164,7 @@ static const struct x86_cpu_id rapl_ids[]
> __initconst = { RAPL_CPU(INTEL_FAM6_ATOM_MERRIFIELD,
> rapl_defaults_tng), RAPL_CPU(INTEL_FAM6_ATOM_MOOREFIELD,
> rapl_defaults_ann), RAPL_CPU(INTEL_FAM6_ATOM_GOLDMONT,
> rapl_defaults_core),
> +	RAPL_CPU(INTEL_FAM6_ATOM_GEMINI_LAKE,
> rapl_defaults_core), RAPL_CPU(INTEL_FAM6_ATOM_DENVERTON,
> rapl_defaults_core), 
>  	RAPL_CPU(INTEL_FAM6_XEON_PHI_KNL,
> rapl_defaults_hsw_server),

[Jacob Pan]
diff mbox

Patch

diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 9a25110..9ddad08 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -1164,6 +1164,7 @@  static const struct x86_cpu_id rapl_ids[] __initconst = {
 	RAPL_CPU(INTEL_FAM6_ATOM_MERRIFIELD,	rapl_defaults_tng),
 	RAPL_CPU(INTEL_FAM6_ATOM_MOOREFIELD,	rapl_defaults_ann),
 	RAPL_CPU(INTEL_FAM6_ATOM_GOLDMONT,	rapl_defaults_core),
+	RAPL_CPU(INTEL_FAM6_ATOM_GEMINI_LAKE,	rapl_defaults_core),
 	RAPL_CPU(INTEL_FAM6_ATOM_DENVERTON,	rapl_defaults_core),
 
 	RAPL_CPU(INTEL_FAM6_XEON_PHI_KNL,	rapl_defaults_hsw_server),