Re: [PATCH v2] powercap/rapl: add support for denverton

From: Rafael J. Wysocki
Date: Thu Jun 16 2016 - 09:57:27 EST


On Monday, June 13, 2016 05:02:28 PM Jacob Pan wrote:
> Denverton micro server is Atom based but RAPL interface
> is compatible with Core based CPUs.
>
> Signed-off-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> ---
> 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 4aa8168..7977fbf 100644
> --- a/drivers/powercap/intel_rapl.c
> +++ b/drivers/powercap/intel_rapl.c
> @@ -1156,6 +1156,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
> RAPL_CPU(INTEL_FAM6_ATOM_MERRIFIELD1, rapl_defaults_tng),
> RAPL_CPU(INTEL_FAM6_ATOM_MERRIFIELD2, rapl_defaults_ann),
> RAPL_CPU(INTEL_FAM6_ATOM_GOLDMONT, rapl_defaults_core),
> + RAPL_CPU(INTEL_FAM6_ATOM_DENVERTON, rapl_defaults_core),
>
> RAPL_CPU(INTEL_FAM6_XEON_PHI_KNL, rapl_defaults_hsw_server),
> {}
>

Applied, thanks!