Skip to content

Commit 0e02604

Browse files
committed
perf/x86/rapl: Add support for Intel Arrow Lake U
JIRA: https://issues.redhat.com/browse/RHEL-53585 upstream ======== commit 68a9b0e Author: Aaron Ma <aaron.ma@canonical.com> Date: Tue Dec 24 22:55:16 2024 +0800 description =========== 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 Signed-off-by: Michael Petlan <mpetlan@redhat.com>
1 parent e458523 commit 0e02604

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
@@ -846,6 +846,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
846846
X86_MATCH_VFM(INTEL_METEORLAKE_L, &model_skl),
847847
X86_MATCH_VFM(INTEL_ARROWLAKE_H, &model_skl),
848848
X86_MATCH_VFM(INTEL_ARROWLAKE, &model_skl),
849+
X86_MATCH_VFM(INTEL_ARROWLAKE_U, &model_skl),
849850
X86_MATCH_VFM(INTEL_LUNARLAKE_M, &model_skl),
850851
{},
851852
};

0 commit comments

Comments
 (0)