diff mbox series

powercap: intel_rapl: Add support for ArrowLake-U platform

Message ID 20240816113332.7408-1-sumeet.r.pawnikar@intel.com (mailing list archive)
State Mainlined, archived
Headers show
Series powercap: intel_rapl: Add support for ArrowLake-U platform | expand

Commit Message

Sumeet Pawnikar Aug. 16, 2024, 11:33 a.m. UTC
Add support for ArrowLake-U platform to the RAPL common driver.

Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
---
 drivers/powercap/intel_rapl_common.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Zhang Rui Aug. 19, 2024, 7:58 a.m. UTC | #1
On Fri, 2024-08-16 at 17:03 +0530, Sumeet Pawnikar wrote:
> Add support for ArrowLake-U platform to the RAPL common driver.
> 
> Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>

Acked-by: Zhang Rui <rui.zhang@intel.com>

> ---
>  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 3cffa6c79538..3edf8decb811 100644
> --- a/drivers/powercap/intel_rapl_common.c
> +++ b/drivers/powercap/intel_rapl_common.c
> @@ -1267,6 +1267,7 @@ static const struct x86_cpu_id rapl_ids[]
> __initconst = {
>         X86_MATCH_VFM(INTEL_LUNARLAKE_M,        &rapl_defaults_core),
>         X86_MATCH_VFM(INTEL_ARROWLAKE_H,        &rapl_defaults_core),
>         X86_MATCH_VFM(INTEL_ARROWLAKE,          &rapl_defaults_core),
> +       X86_MATCH_VFM(INTEL_ARROWLAKE_U,        &rapl_defaults_core),
>         X86_MATCH_VFM(INTEL_LAKEFIELD,          &rapl_defaults_core),
>  
>         X86_MATCH_VFM(INTEL_ATOM_SILVERMONT,    &rapl_defaults_byt),
Rafael J. Wysocki Aug. 19, 2024, 1:37 p.m. UTC | #2
On Mon, Aug 19, 2024 at 9:58 AM Zhang, Rui <rui.zhang@intel.com> wrote:
>
> On Fri, 2024-08-16 at 17:03 +0530, Sumeet Pawnikar wrote:
> > Add support for ArrowLake-U platform to the RAPL common driver.
> >
> > Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
>
> Acked-by: Zhang Rui <rui.zhang@intel.com>
>
> > ---
> >  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 3cffa6c79538..3edf8decb811 100644
> > --- a/drivers/powercap/intel_rapl_common.c
> > +++ b/drivers/powercap/intel_rapl_common.c
> > @@ -1267,6 +1267,7 @@ static const struct x86_cpu_id rapl_ids[]
> > __initconst = {
> >         X86_MATCH_VFM(INTEL_LUNARLAKE_M,        &rapl_defaults_core),
> >         X86_MATCH_VFM(INTEL_ARROWLAKE_H,        &rapl_defaults_core),
> >         X86_MATCH_VFM(INTEL_ARROWLAKE,          &rapl_defaults_core),
> > +       X86_MATCH_VFM(INTEL_ARROWLAKE_U,        &rapl_defaults_core),
> >         X86_MATCH_VFM(INTEL_LAKEFIELD,          &rapl_defaults_core),
> >
> >         X86_MATCH_VFM(INTEL_ATOM_SILVERMONT,    &rapl_defaults_byt),

Applied as 6.12 material, thanks!
diff mbox series

Patch

diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
index 3cffa6c79538..3edf8decb811 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -1267,6 +1267,7 @@  static const struct x86_cpu_id rapl_ids[] __initconst = {
 	X86_MATCH_VFM(INTEL_LUNARLAKE_M,	&rapl_defaults_core),
 	X86_MATCH_VFM(INTEL_ARROWLAKE_H,	&rapl_defaults_core),
 	X86_MATCH_VFM(INTEL_ARROWLAKE,		&rapl_defaults_core),
+	X86_MATCH_VFM(INTEL_ARROWLAKE_U,	&rapl_defaults_core),
 	X86_MATCH_VFM(INTEL_LAKEFIELD,		&rapl_defaults_core),
 
 	X86_MATCH_VFM(INTEL_ATOM_SILVERMONT,	&rapl_defaults_byt),