powercap: intel_rapl: Add support for MeteorLake platforms
Subsystems (2)
PATCH 1/2 powercap: intel_rapl: Add support for MeteorLake platforms
Add intel_rapl support for the MeteorLake platforms, which behave the same as RaptorLake platforms.
---
Note:
This patch depends on commit 5515d21c6817
("x86/cpu: Add CPU model numbers for Meteor Lake") in the x86/urgent branch of tip tree.
Note:
This patch is made on top of commit 0d7a23b5f8e1 ("powercap: intel_rapl: Add support for RAPTORLAKE_S") in the linux-next branch of pm tree to avoid conflict.
--- drivers/powercap/intel_rapl_common.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/powercap/intel_rapl_common.c +2 -0
@@ -1111,6 +1111,8 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE , &rapl_defaults_core),X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE_P , &rapl_defaults_core),X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE_S , &rapl_defaults_core), +X86_MATCH_INTEL_FAM6_MODEL (METEORLAKE , &rapl_defaults_core), +X86_MATCH_INTEL_FAM6_MODEL (METEORLAKE_L , &rapl_defaults_core),X86_MATCH_INTEL_FAM6_MODEL (SAPPHIRERAPIDS_X , &rapl_defaults_spr_server), X86_MATCH_INTEL_FAM6_MODEL(LAKEFIELD, &rapl_defaults_core),
Signature · 1 line
2.25.1
PATCH 2/2 tools/power turbostat: Add support for MeteorLake platforms
Add turbostat support for MeteorLake platforms, which behave the same as RaptorLake platforms.
---
Note:
This patch depends on commit 5515d21c6817
("x86/cpu: Add CPU model numbers for Meteor Lake") in the x86/urgent branch of tip tree.
Note:
This patch is made on top of patch
"tools/power turbostat: add support for RPL-S" at
https://patchwork.kernel.org/project/linux-pm/patch/[email protected]/
to avoid conflict.
--- tools/power/x86/turbostat/turbostat.c | 2 ++ 1 file changed, 2 insertions(+)
tools/power/x86/turbostat/turbostat.c +2 -0
@@ -5448,6 +5448,8 @@ unsigned int intel_model_duplicates(unsigned int model)case INTEL_FAM6_RAPTORLAKE :case INTEL_FAM6_RAPTORLAKE_P :case INTEL_FAM6_RAPTORLAKE_S : +case INTEL_FAM6_METEORLAKE : +case INTEL_FAM6_METEORLAKE_L :return INTEL_FAM6_CANNONLAKE_L ;case INTEL_FAM6_ATOM_TREMONT_L :
Signature · 1 line
2.25.1
Rafael J. Wysocki
maintainerQuoted 11 lines · Zhang Rui
Add
intel_raplsupport for the MeteorLake platforms, which behave the same as RaptorLake platforms.Signed-off-by Zhang Rui <[email protected]>---
Note:
This patch depends on commit5515d21c6817
("x86/cpu: Add CPU model numbers for Meteor Lake") in the x86/urgent branch of tip tree.
So I think I will have to rebase the powercap branch on top of a future -rc in order to apply this one.
Quoted 23 lines
Note:
This patch is made on top of commit0d7a23b5f8e1("powercap:intel_rapl: Add support forRAPTORLAKE_S") in the linux-next branch of pm tree to avoid conflict.--- drivers/powercap/intel_rapl_common.c | 2 ++ 1 file changed, 2 insertions(+)drivers/powercap/intel_rapl_common.c +2
-1@@ -1111,6 +1111,8 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE , &rapl_defaults_core),X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE_P , &rapl_defaults_core),X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE_S , &rapl_defaults_core), +X86_MATCH_INTEL_FAM6_MODEL (METEORLAKE , &rapl_defaults_core), +X86_MATCH_INTEL_FAM6_MODEL (METEORLAKE_L , &rapl_defaults_core),X86_MATCH_INTEL_FAM6_MODEL (SAPPHIRERAPIDS_X , &rapl_defaults_spr_server), X86_MATCH_INTEL_FAM6_MODEL(LAKEFIELD, &rapl_defaults_core), --
Quoted 9 lines · Rafael J. Wysocki
Quoted 7 lines · Zhang Rui
Add
intel_raplsupport for the MeteorLake platforms, which behave the
same as RaptorLake platforms.Signed-off-by Zhang Rui <[email protected]>---
Quoted 8 lines
Quoted 5 lines
Note:
This patch depends on commit5515d21c6817("x86/cpu: Add CPU model numbers for Meteor Lake") in the x86/urgent
branch of tip tree.So I think I will have to rebase the powercap branch on top of a future -rc in order to apply this one.
Yeah, or we can wait for the next release cycle as this is not that urgent.
thanks,
rui
Quoted 33 lines
Quoted 33 lines
Note:
This patch is made on top of commit0d7a23b5f8e1("powercap:intel_rapl: Add support forRAPTORLAKE_S") in the linux-next branch of pm tree to avoid conflict.--- drivers/powercap/intel_rapl_common.c | 2 ++ 1 file changed, 2 insertions(+)drivers/powercap/intel_rapl_common.c +0
-0@@ -1111,6 +1111,8 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE , &rapl_defau lts_core),X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE_P , &rapl_defau lts_core), X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, &rapl_defau
lts_core),
+ X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE,&rapl_defaults_core),
+ X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L,&rapl_defaults_core),
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,&rapl_defaults_spr_server),
X86_MATCH_INTEL_FAM6_MODEL(LAKEFIELD,&rapl_defaults_core),--