Re: [RESEND,10/11] powercap / RAPL: Add Knights Mill CPUID

From: Luc, Piotr
Date: Tue Oct 25 2016 - 06:41:28 EST


Hi Rafael,

Could you tell me what more do I need to do to get the patch
accepted?

The mentioned path 03/11 is already merged in 4.9.rc2.

Thanks,
Piotr


On Thu, 2016-10-13 at 17:31 +0200, Piotr Luc wrote:
> Add Knights Mill (KNM) to the list of CPUIDs supported by intel_rapl
>
> Signed-off-by: Piotr Luc <piotr.luc@xxxxxxxxx>
> Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxx>
> Cc: "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>
> Cc: linux-pm@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> ---
> This patch depends on [PATCH 03/11] x86/cpu/intel: Add Knights MillÂ
> to Intel family
>
> Â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 fbab29d..6a58ff7 100644
> --- a/drivers/powercap/intel_rapl.c
> +++ b/drivers/powercap/intel_rapl.c
> @@ -1160,6 +1160,7 @@ static const struct x86_cpu_id rapl_ids[]
> __initconst = {
> Â RAPL_CPU(INTEL_FAM6_ATOM_DENVERTON, rapl_defaults_cor
> e),
> Â
> Â RAPL_CPU(INTEL_FAM6_XEON_PHI_KNL, rapl_defaults_hsw_s
> erver),
> + RAPL_CPU(INTEL_FAM6_XEON_PHI_KNM, rapl_defaults_hsw_s
> erver),
> Â {}
> Â};
> ÂMODULE_DEVICE_TABLE(x86cpu, rapl_ids);