powercap: intel_rapl: Add support for NOVALAKE processors
PATCH 1/1 powercap: intel_rapl: Add support for NOVALAKE processors
Add RAPL support for Intel NOVALAKE and NOVALAKE_L processors using the core defaults configuration.
--- drivers/powercap/intel_rapl_common.c | 2 ++ drivers/powercap/intel_rapl_msr.c | 2 ++ 2 files changed, 4 insertions(+)
drivers/powercap/intel_rapl_common.c +2 -0
@@ -1284,6 +1284,8 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {X86_MATCH_VFM (INTEL_EMERALDRAPIDS_X , &rapl_defaults_spr_server),X86_MATCH_VFM (INTEL_LUNARLAKE_M , &rapl_defaults_core),X86_MATCH_VFM (INTEL_PANTHERLAKE_L , &rapl_defaults_core), +X86_MATCH_VFM (INTEL_NOVALAKE , &rapl_defaults_core), +X86_MATCH_VFM (INTEL_NOVALAKE_L , &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),
drivers/powercap/intel_rapl_msr.c +2 -0
@@ -151,6 +151,8 @@ static const struct x86_cpu_id pl4_support_ids[] = {X86_MATCH_VFM (INTEL_ARROWLAKE_U ,NULL ),X86_MATCH_VFM (INTEL_ARROWLAKE_H ,NULL ),X86_MATCH_VFM (INTEL_PANTHERLAKE_L ,NULL ), +X86_MATCH_VFM (INTEL_NOVALAKE ,NULL ), + X86_MATCH_VFM(INTEL_NOVALAKE_L, NULL), {} };
Signature · 1 line
2.34.1
Rafael J. Wysocki
maintainerQuoted 3 lines · Kaushlendra Kumar
Add RAPL support for Intel NOVALAKE and
NOVALAKE_Lprocessors using the core defaults configuration.
Srinivas, any concerns?
Quoted 36 lines
Signed-off-by Kaushlendra Kumar <[email protected]>--- drivers/powercap/intel_rapl_common.c | 2 ++ drivers/powercap/intel_rapl_msr.c | 2 ++ 2 files changed, 4 insertions(+)drivers/powercap/intel_rapl_common.c +2
-0@@ -1284,6 +1284,8 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {X86_MATCH_VFM (INTEL_EMERALDRAPIDS_X , &rapl_defaults_spr_server),X86_MATCH_VFM (INTEL_LUNARLAKE_M , &rapl_defaults_core),X86_MATCH_VFM (INTEL_PANTHERLAKE_L , &rapl_defaults_core), +X86_MATCH_VFM (INTEL_NOVALAKE , &rapl_defaults_core), +X86_MATCH_VFM (INTEL_NOVALAKE_L , &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),drivers/powercap/intel_rapl_msr.c +2
-1@@ -151,6 +151,8 @@ static const struct x86_cpu_id pl4_support_ids[] = {X86_MATCH_VFM (INTEL_ARROWLAKE_U ,NULL ),X86_MATCH_VFM (INTEL_ARROWLAKE_H ,NULL ),X86_MATCH_VFM (INTEL_PANTHERLAKE_L ,NULL ), +X86_MATCH_VFM (INTEL_NOVALAKE ,NULL ), + X86_MATCH_VFM(INTEL_NOVALAKE_L, NULL), {} }; --2.34.1
Quoted 8 lines · Rafael J. Wysocki
Quoted 3 lines · Kaushlendra Kumar
Add RAPL support for Intel NOVALAKE and
NOVALAKE_Lprocessors using the core defaults configuration.Srinivas, any concerns?
No. Except in the subject say "Nova Lake" instead of "NOVALAKE" to be compatible with existing style.
Thanks,
Srinivas
Quoted 48 lines
Quoted 48 lines
Signed-off-by Kaushlendra Kumar <[email protected]>---
drivers/powercap/intel_rapl_common.c | 2 ++
drivers/powercap/intel_rapl_msr.c | 2 ++2 files changed, 4 insertions(+)drivers/powercap/intel_rapl_common.c +0
-0@@ -1284,6 +1284,8 @@ static const struct x86_cpu_id rapl_ids[]__initconst = { X86_MATCH_VFM(INTEL_EMERALDRAPIDS_X, &rapl_defaults_spr_server), X86_MATCH_VFM(INTEL_LUNARLAKE_M, &rapl_defaults_core), X86_MATCH_VFM(INTEL_PANTHERLAKE_L,
&rapl_defaults_core),
+ X86_MATCH_VFM(INTEL_NOVALAKE,&rapl_defaults_core),
+ X86_MATCH_VFM(INTEL_NOVALAKE_L,&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),drivers/powercap/intel_rapl_msr.c +2
-1@@ -151,6 +151,8 @@ static const struct x86_cpu_id pl4_support_ids[] = { X86_MATCH_VFM(INTEL_ARROWLAKE_U, NULL), X86_MATCH_VFM(INTEL_ARROWLAKE_H, NULL), X86_MATCH_VFM(INTEL_PANTHERLAKE_L, NULL), + X86_MATCH_VFM(INTEL_NOVALAKE, NULL), + X86_MATCH_VFM(INTEL_NOVALAKE_L, NULL), {} }; --2.34.1
Quoted 5 lines · srinivas pandruvada
Quoted 3 lines · Rafael J. Wysocki
Quoted 1 line · Kaushlendra Kumar
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Add RAPL support for Intel NOVALAKE and
NOVALAKE_Lprocessors using the core defaults configuration.Srinivas, any concerns?
No. Except in the subject say "Nova Lake" instead of "NOVALAKE" to be compatible with existing style.
Done (and analogously in the changelog).
Applied as 6.19 material with the above changes, thanks!