Skip to content

Commit f52853a

Browse files
zhang-ruiIngo Molnar
authored andcommitted
perf/x86/rapl: Add support for Intel Meteor Lake
Meteor Lake RAPL support is the same as previous Sky Lake. Add Meteor Lake model for RAPL. Signed-off-by: Zhang Rui <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c07311b commit f52853a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/events/rapl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,8 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
809809
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, &model_skl),
810810
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, &model_skl),
811811
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, &model_skl),
812+
X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, &model_skl),
813+
X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, &model_skl),
812814
{},
813815
};
814816
MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);

0 commit comments

Comments
 (0)