Re: [PATCH] powercap: intel_rapl_msr: Add PL4 support for PantherLake

From: Rafael J. Wysocki
Date: Fri Jun 27 2025 - 15:48:22 EST


On Wed, Jun 25, 2025 at 4:05 AM Zhang Rui <rui.zhang@xxxxxxxxx> wrote:
>
> Add PantherLake to the list of processors where PL4 is supported.
>
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
> ---
> The PL4 support for Arrowlake-S and Lunarlake are also missing for now.
> We will add them later when there is a real need. I'm also checking
> internally to see if it is required or not.
> ---
> drivers/powercap/intel_rapl_msr.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/powercap/intel_rapl_msr.c b/drivers/powercap/intel_rapl_msr.c
> index 8ad2115d65f6..4ed06c71a3ac 100644
> --- a/drivers/powercap/intel_rapl_msr.c
> +++ b/drivers/powercap/intel_rapl_msr.c
> @@ -150,6 +150,7 @@ static const struct x86_cpu_id pl4_support_ids[] = {
> X86_MATCH_VFM(INTEL_METEORLAKE_L, NULL),
> X86_MATCH_VFM(INTEL_ARROWLAKE_U, NULL),
> X86_MATCH_VFM(INTEL_ARROWLAKE_H, NULL),
> + X86_MATCH_VFM(INTEL_PANTHERLAKE_L, NULL),
> {}
> };
>
> --

Applied as 6.17 material, thanks!