Skip to content

Commit 68a9b0e

Browse files
pyma1Ingo Molnar
authored andcommitted
perf/x86/rapl: Add support for Intel Arrow Lake U
Add Arrow Lake U model for RAPL: $ ls -1 /sys/devices/power/events/ energy-cores energy-cores.scale energy-cores.unit energy-gpu energy-gpu.scale energy-gpu.unit energy-pkg energy-pkg.scale energy-pkg.unit energy-psys energy-psys.scale energy-psys.unit The same output as ArrowLake: $ perf stat -a -I 1000 --per-socket -e power/energy-pkg/ Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Zhang Rui <rui.zhang@intel.com> Link: https://lore.kernel.org/r/20241224145516.349028-1-aaron.ma@canonical.com
1 parent a26b24b commit 68a9b0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/events/rapl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
879879
X86_MATCH_VFM(INTEL_METEORLAKE_L, &model_skl),
880880
X86_MATCH_VFM(INTEL_ARROWLAKE_H, &model_skl),
881881
X86_MATCH_VFM(INTEL_ARROWLAKE, &model_skl),
882+
X86_MATCH_VFM(INTEL_ARROWLAKE_U, &model_skl),
882883
X86_MATCH_VFM(INTEL_LUNARLAKE_M, &model_skl),
883884
{},
884885
};

0 commit comments

Comments
 (0)