[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174052089028.10177.2125405174996624736.tip-bot2@tip-bot2>
Date: Tue, 25 Feb 2025 22:01:30 -0000
From: "tip-bot2 for Aaron Ma" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Aaron Ma <aaron.ma@...onical.com>, Ingo Molnar <mingo@...nel.org>,
Zhang Rui <rui.zhang@...el.com>, x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: perf/urgent] perf/x86/rapl: Add support for Intel Arrow Lake U
The following commit has been merged into the perf/urgent branch of tip:
Commit-ID: 68a9b0e313302451468c0b0eda53c383fa51a8f4
Gitweb: https://git.kernel.org/tip/68a9b0e313302451468c0b0eda53c383fa51a8f4
Author: Aaron Ma <aaron.ma@...onical.com>
AuthorDate: Tue, 24 Dec 2024 22:55:16 +08:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Tue, 25 Feb 2025 22:48:50 +01:00
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@...onical.com>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Acked-by: Zhang Rui <rui.zhang@...el.com>
Link: https://lore.kernel.org/r/20241224145516.349028-1-aaron.ma@canonical.com
---
arch/x86/events/rapl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c
index 4952faf..6941f48 100644
--- a/arch/x86/events/rapl.c
+++ b/arch/x86/events/rapl.c
@@ -879,6 +879,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
X86_MATCH_VFM(INTEL_METEORLAKE_L, &model_skl),
X86_MATCH_VFM(INTEL_ARROWLAKE_H, &model_skl),
X86_MATCH_VFM(INTEL_ARROWLAKE, &model_skl),
+ X86_MATCH_VFM(INTEL_ARROWLAKE_U, &model_skl),
X86_MATCH_VFM(INTEL_LUNARLAKE_M, &model_skl),
{},
};
Powered by blists - more mailing lists