Skip to contentSkip to conversation

perf/x86/intel: Add PMU support for WildcatLake

PATCH Applied Dapeng Mi 4 participants 7 messages Sep 8, 2025 – Oct 29, 2025

Subsystems (2)
lore
Share & tools
lore

Dapeng Mi

author
#0 lore raw

PATCH 1/2 perf/x86/intel: Add PMU support for WildcatLake

WildcatLake is a variant of PantherLake and shares same PMU features, so directly reuse Pantherlake's code to enable PMU features for WildcatLake.

---
 arch/x86/events/intel/core.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/core.c +1 -0
index 28f5468a6ea3..fe65be0b9d9c 100644
@@ -7596,6 +7596,7 @@ __init int intel_pmu_init(void)
 		break;
 
 	case INTEL_PANTHERLAKE_L:
+	case INTEL_WILDCATLAKE_L:
 		pr_cont("Pantherlake Hybrid events, ");
 		name = "pantherlake_hybrid";
 		goto lnl_common;

base-commit: 16ed389227651330879e17bd83d43bd234006722

Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 2/2 perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake

From: dongsheng <[email protected]>

WildcatLake (WCL) is a variant of PantherLake (PTL) and shares the same uncore PMU features with PTL. Therefore, directly reuse Pantherlake's uncore PMU enabling code for WildcatLake.

---
 arch/x86/events/intel/uncore.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/uncore.c +1 -0
index a762f7f5b161..d6c945cc5d07 100644
@@ -1895,6 +1895,7 @@ static const struct x86_cpu_id intel_uncore_match[] __initconst = {
 	X86_MATCH_VFM(INTEL_ARROWLAKE_H,	&mtl_uncore_init),
 	X86_MATCH_VFM(INTEL_LUNARLAKE_M,	&lnl_uncore_init),
 	X86_MATCH_VFM(INTEL_PANTHERLAKE_L,	&ptl_uncore_init),
+	X86_MATCH_VFM(INTEL_WILDCATLAKE_L,	&ptl_uncore_init),
 	X86_MATCH_VFM(INTEL_SAPPHIRERAPIDS_X,	&spr_uncore_init),
 	X86_MATCH_VFM(INTEL_EMERALDRAPIDS_X,	&spr_uncore_init),
 	X86_MATCH_VFM(INTEL_GRANITERAPIDS_X,	&gnr_uncore_init),
Signature · 1 line
2.34.1
merge bot Applied
#2 lore raw

[tip: perf/urgent] perf/x86/intel/uncore: Add uncore PMU support for Wildcat 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:     f4c12e5cefc8ec2eda93bc17ea734407228449ab
Gitweb:        https://git.kernel.org/tip/f4c12e5cefc8ec2eda93bc17ea734407228449ab
Author:        dongsheng <[email protected]>
AuthorDate:    Mon, 08 Sep 2025 14:16:39 +08:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Wed, 29 Oct 2025 11:31:44 +01:00

perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake

WildcatLake (WCL) is a variant of PantherLake (PTL) and shares the same uncore PMU features with PTL. Therefore, directly reuse Pantherlake's uncore PMU enabling code for WildcatLake.

---
 arch/x86/events/intel/uncore.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/uncore.c +1 -0
index a762f7f..d6c945c 100644
@@ -1895,6 +1895,7 @@ static const struct x86_cpu_id intel_uncore_match[] __initconst = {
 	X86_MATCH_VFM(INTEL_ARROWLAKE_H,	&mtl_uncore_init),
 	X86_MATCH_VFM(INTEL_LUNARLAKE_M,	&lnl_uncore_init),
 	X86_MATCH_VFM(INTEL_PANTHERLAKE_L,	&ptl_uncore_init),
+	X86_MATCH_VFM(INTEL_WILDCATLAKE_L,	&ptl_uncore_init),
 	X86_MATCH_VFM(INTEL_SAPPHIRERAPIDS_X,	&spr_uncore_init),
 	X86_MATCH_VFM(INTEL_EMERALDRAPIDS_X,	&spr_uncore_init),
 	X86_MATCH_VFM(INTEL_GRANITERAPIDS_X,	&gnr_uncore_init),
Reviewed-by on v1 1/2
#3 lore raw
In reply to Dapeng Mi
Quoted 5 lines · Dapeng Mi

WildcatLake is a variant of PantherLake and shares same PMU features, so directly reuse Pantherlake's code to enable PMU features for WildcatLake.

For the patch set:

Quoted 18 lines
---
 arch/x86/events/intel/core.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/core.c +1 -0
index 28f5468a6ea3..fe65be0b9d9c 100644
@@ -7596,6 +7596,7 @@ __init int intel_pmu_init(void)
 		break;
 
 	case INTEL_PANTHERLAKE_L:
+	case INTEL_WILDCATLAKE_L:
 		pr_cont("Pantherlake Hybrid events, ");
 		name = "pantherlake_hybrid";
 		goto lnl_common;

base-commit: 16ed389227651330879e17bd83d43bd234006722

author
#4 lore raw
In reply to Dapeng Mi
Quoted 22 lines · Dapeng Mi

WildcatLake is a variant of PantherLake and shares same PMU features, so directly reuse Pantherlake's code to enable PMU features for WildcatLake.

---
 arch/x86/events/intel/core.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/core.c +1 -0
index 28f5468a6ea3..fe65be0b9d9c 100644
@@ -7596,6 +7596,7 @@ __init int intel_pmu_init(void)
 		break;
 
 	case INTEL_PANTHERLAKE_L:
+	case INTEL_WILDCATLAKE_L:
 		pr_cont("Pantherlake Hybrid events, ");
 		name = "pantherlake_hybrid";
 		goto lnl_common;
Quoted 1 line

base-commit: 16ed389227651330879e17bd83d43bd234006722

Hi Peter,

Wildcat Lake is a variant of Panther Lake, it shares same PMU capabilities with Panther Lake. Could you please review this small patch-set? If no issue, could you please merge this patch-set? Thanks.

maintainer
#5 lore raw
Quoted 24 lines · Dapeng
Quoted 22 lines · Dapeng Mi

WildcatLake is a variant of PantherLake and shares same PMU features, so directly reuse Pantherlake's code to enable PMU features for WildcatLake.

---
 arch/x86/events/intel/core.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/core.c +1 -0
index 28f5468a6ea3..fe65be0b9d9c 100644
@@ -7596,6 +7596,7 @@ __init int intel_pmu_init(void)
 		break;
 
 	case INTEL_PANTHERLAKE_L:
+	case INTEL_WILDCATLAKE_L:
 		pr_cont("Pantherlake Hybrid events, ");
 		name = "pantherlake_hybrid";
 		goto lnl_common;
Quoted 7 lines
Quoted 1 line

base-commit: 16ed389227651330879e17bd83d43bd234006722

Hi Peter,

Wildcat Lake is a variant of Panther Lake, it shares same PMU capabilities with Panther Lake. Could you please review this small patch-set? If no issue, could you please merge this patch-set? Thanks.

Yes, sorry, got lost. Let me go queue them momentarily. Thanks!

merge bot Applied
#6 lore raw
In reply to Dapeng Mi
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:     b796a8feb7cb094ee998931a96cd6152a9d3022e
Gitweb:        https://git.kernel.org/tip/b796a8feb7cb094ee998931a96cd6152a9d3022e
Author:        Dapeng Mi <[email protected]>
AuthorDate:    Mon, 08 Sep 2025 14:16:38 +08:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Wed, 29 Oct 2025 11:31:44 +01:00

perf/x86/intel: Add PMU support for WildcatLake

WildcatLake is a variant of PantherLake and shares same PMU features, so directly reuse Pantherlake's code to enable PMU features for WildcatLake.

---
 arch/x86/events/intel/core.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/core.c +1 -0
index 28f5468..fe65be0 100644
@@ -7596,6 +7596,7 @@ __init int intel_pmu_init(void)
 		break;
 
 	case INTEL_PANTHERLAKE_L:
+	case INTEL_WILDCATLAKE_L:
 		pr_cont("Pantherlake Hybrid events, ");
 		name = "pantherlake_hybrid";
 		goto lnl_common;