Skip to contentSkip to conversation

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

PATCH Applied Zhang Rui 3 participants 5 messages Apr 10, 2024

Subsystems (2)
lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

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

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

---
 arch/x86/events/rapl.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/events/rapl.c +2 -0
index fb2b1961e5a3..6bfb78d5b37e 100644
@@ -808,6 +808,8 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,	&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L,	&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE_H,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE,		&model_skl),
 	{},
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);
Signature · 1 line
2.34.1
author
#1 lore raw

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

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

---
 arch/x86/events/rapl.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/rapl.c +1 -0
index 6bfb78d5b37e..ebb67a243f0f 100644
@@ -810,6 +810,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L,	&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE_H,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(LUNARLAKE_M,		&model_skl),
 	{},
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);
Signature · 1 line
2.34.1
merge bot Applied
#2 lore raw

[tip: perf/core] perf/x86/rapl: Add support for Intel Lunar Lake

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

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

Commit-ID:     acf68d98cae8a60dc4af2e9feaaa799bf0aa5c04
Gitweb:        https://git.kernel.org/tip/acf68d98cae8a60dc4af2e9feaaa799bf0aa5c04
Author:        Zhang Rui <[email protected]>
AuthorDate:    Wed, 10 Apr 2024 20:45:54 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Wed, 10 Apr 2024 14:48:18 +02:00

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

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

---
 arch/x86/events/rapl.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/rapl.c +1 -0
index 00bb6ea..ca5f687 100644
@@ -808,6 +808,7 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L,	&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE_H,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(LUNARLAKE_M,		&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/core branch of tip:

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

Commit-ID:     fb70fe74beaa809e13e7f469b116d54ef7cd19e9
Gitweb:        https://git.kernel.org/tip/fb70fe74beaa809e13e7f469b116d54ef7cd19e9
Author:        Zhang Rui <[email protected]>
AuthorDate:    Wed, 10 Apr 2024 20:45:53 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Wed, 10 Apr 2024 14:48:18 +02:00

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

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

---
 arch/x86/events/rapl.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/events/rapl.c +2 -0
index 8ef08b5..00bb6ea 100644
@@ -806,6 +806,8 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,	&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L,	&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE_H,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE,		&model_skl),
 	{},
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);
Reviewed-by on v1 1/2
#4 lore raw
In reply to Zhang Rui
Quoted 4 lines · Zhang Rui

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

The series looks good to me.

Thanks,
Kan

Quoted 17 lines
---
 arch/x86/events/rapl.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/events/rapl.c +2 -0
index fb2b1961e5a3..6bfb78d5b37e 100644
@@ -808,6 +808,8 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,	&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE,		&model_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L,	&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE_H,		&model_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE,		&model_skl),
 	{},
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);