Skip to contentSkip to conversation

perf/x86/rapl: Add support for Intel AlderLake-N

PATCH Applied Zhang Rui 2 participants 4 messages Oct 23, 2022 – Oct 28, 2022

Subsystems (2)
lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH 1/2 perf/x86/rapl: Add support for Intel AlderLake-N

AlderLake-N RAPL support is the same as previous Sky Lake. Add AlderLake-N model for RAPL.

---
 arch/x86/events/rapl.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/rapl.c +1 -0
index 77e3a47af5ad..165c506cd37c 100644
@@ -806,6 +806,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,	&model_spr),
 	{},
 };
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 perf/x86/rapl: Add support for Intel Raptor Lake

Raptor Lake RAPL support is the same as previous Sky Lake. Add Raptor Lake model for RAPL.

---
 arch/x86/events/rapl.c | 3 +++
 1 file changed, 3 insertions(+)
arch/x86/events/rapl.c +3 -0
index 165c506cd37c..fea544e5842a 100644
@@ -808,6 +808,9 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,	&model_spr),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P,	&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,	&model_skl),
 	{},
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);
Signature · 1 line
2.25.1
merge bot Applied
#2 lore raw

[tip: perf/urgent] perf/x86/rapl: Add support for Intel Raptor Lake

The following commit has been merged into the perf/urgent branch of tip:

The following commit has been merged into the perf/urgent branch of tip:

Commit-ID:     eff98a7421b3ee73d62268115ffa5bfc0ba94544
Gitweb:        https://git.kernel.org/tip/eff98a7421b3ee73d62268115ffa5bfc0ba94544
Author:        Zhang Rui <[email protected]>
AuthorDate:    Sun, 23 Oct 2022 20:51:20 +08:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Thu, 27 Oct 2022 10:27:31 +02:00

perf/x86/rapl: Add support for Intel Raptor Lake

Raptor Lake RAPL support is the same as previous Sky Lake. Add Raptor Lake model for RAPL.

---
 arch/x86/events/rapl.c | 3 +++
 1 file changed, 3 insertions(+)
arch/x86/events/rapl.c +3 -0
index 165c506..fea544e 100644
@@ -808,6 +808,9 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,	&model_spr),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P,	&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,	&model_skl),
 	{},
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);
merge bot Applied
#3 lore raw
In reply to Zhang Rui
The following commit has been merged into the perf/urgent branch of tip:

The following commit has been merged into the perf/urgent branch of tip:

Commit-ID:     1ab28f17eeeecf7d832e686fdd903d74569854ed
Gitweb:        https://git.kernel.org/tip/1ab28f17eeeecf7d832e686fdd903d74569854ed
Author:        Zhang Rui <[email protected]>
AuthorDate:    Sun, 23 Oct 2022 20:51:19 +08:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Thu, 27 Oct 2022 10:27:31 +02:00

perf/x86/rapl: Add support for Intel AlderLake-N

AlderLake-N RAPL support is the same as previous Sky Lake. Add AlderLake-N model for RAPL.

---
 arch/x86/events/rapl.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/rapl.c +1 -0
index 77e3a47..165c506 100644
@@ -806,6 +806,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X,	&model_spr),
 	{},
 };