Re: [PATCH] powercap/rapl: Add support for Lakefield

From: Rafael J. Wysocki
Date: Wed Sep 16 2020 - 14:36:59 EST


On Fri, Aug 21, 2020 at 8:46 PM Ricardo Neri
<ricardo.neri-calderon@xxxxxxxxxxxxxxx> wrote:
>
> Simply add Lakefield model ID. No additional changes are needed.
>
> Cc: Zhang Rui <rui.zhang@xxxxxxxxx>
> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@xxxxxxxxx>
> Cc: "Ravi V. Shankar" <ravi.v.shankar@xxxxxxxxx>
> Signed-off-by: Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx>

Applied as 5.9-rc material (with a minor subject edit), sorry for the delay.

Thanks!

> ---
> drivers/powercap/intel_rapl_common.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
> index 6f55aaef8afc..d85a3d95ef20 100644
> --- a/drivers/powercap/intel_rapl_common.c
> +++ b/drivers/powercap/intel_rapl_common.c
> @@ -1036,6 +1036,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
> X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE, &rapl_defaults_core),
> X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L, &rapl_defaults_core),
> X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &rapl_defaults_spr_server),
> + X86_MATCH_INTEL_FAM6_MODEL(LAKEFIELD, &rapl_defaults_core),
>
> X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT, &rapl_defaults_byt),
> X86_MATCH_INTEL_FAM6_MODEL(ATOM_AIRMONT, &rapl_defaults_cht),
> --
> 2.17.1
>