All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake
@ 2025-09-08  6:16 Dapeng Mi
  2025-09-08  6:16 ` [PATCH 2/2] perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake Dapeng Mi
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dapeng Mi @ 2025-09-08  6:16 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Ian Rogers, Adrian Hunter, Alexander Shishkin,
	Kan Liang, Andi Kleen, Eranian Stephane
  Cc: linux-kernel, linux-perf-users, Dapeng Mi, 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.

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
---
 arch/x86/events/intel/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
index 28f5468a6ea3..fe65be0b9d9c 100644
--- a/arch/x86/events/intel/core.c
+++ b/arch/x86/events/intel/core.c
@@ -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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake
  2025-09-08  6:16 [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Dapeng Mi
@ 2025-09-08  6:16 ` Dapeng Mi
  2025-10-29 10:42   ` [tip: perf/urgent] " tip-bot2 for dongsheng
  2025-10-23 17:37 ` [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Chen, Zide
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Dapeng Mi @ 2025-09-08  6:16 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Ian Rogers, Adrian Hunter, Alexander Shishkin,
	Kan Liang, Andi Kleen, Eranian Stephane
  Cc: linux-kernel, linux-perf-users, Dapeng Mi, dongsheng, Dapeng Mi

From: dongsheng <dongsheng.x.zhang@intel.com>

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.

Signed-off-by: dongsheng <dongsheng.x.zhang@intel.com>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
---
 arch/x86/events/intel/uncore.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/uncore.c b/arch/x86/events/intel/uncore.c
index a762f7f5b161..d6c945cc5d07 100644
--- a/arch/x86/events/intel/uncore.c
+++ b/arch/x86/events/intel/uncore.c
@@ -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),
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake
  2025-09-08  6:16 [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Dapeng Mi
  2025-09-08  6:16 ` [PATCH 2/2] perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake Dapeng Mi
@ 2025-10-23 17:37 ` Chen, Zide
  2025-10-29  9:58 ` Mi, Dapeng
  2025-10-29 10:42 ` [tip: perf/urgent] " tip-bot2 for Dapeng Mi
  3 siblings, 0 replies; 7+ messages in thread
From: Chen, Zide @ 2025-10-23 17:37 UTC (permalink / raw)
  To: Dapeng Mi, Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Ian Rogers, Adrian Hunter, Alexander Shishkin,
	Kan Liang, Andi Kleen, Eranian Stephane
  Cc: linux-kernel, linux-perf-users, Dapeng Mi



On 9/7/2025 11:16 PM, Dapeng Mi wrote:
> WildcatLake is a variant of PantherLake and shares same PMU features,
> so directly reuse Pantherlake's code to enable PMU features for
> WildcatLake.
> 
> Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>

For the patch set:

Reviewed-by: Zide Chen <zide.chen@intel.com>

> ---
>  arch/x86/events/intel/core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
> index 28f5468a6ea3..fe65be0b9d9c 100644
> --- a/arch/x86/events/intel/core.c
> +++ b/arch/x86/events/intel/core.c
> @@ -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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake
  2025-09-08  6:16 [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Dapeng Mi
  2025-09-08  6:16 ` [PATCH 2/2] perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake Dapeng Mi
  2025-10-23 17:37 ` [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Chen, Zide
@ 2025-10-29  9:58 ` Mi, Dapeng
  2025-10-29 10:11   ` Peter Zijlstra
  2025-10-29 10:42 ` [tip: perf/urgent] " tip-bot2 for Dapeng Mi
  3 siblings, 1 reply; 7+ messages in thread
From: Mi, Dapeng @ 2025-10-29  9:58 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Ian Rogers, Adrian Hunter, Alexander Shishkin,
	Kan Liang, Andi Kleen, Eranian Stephane
  Cc: linux-kernel, linux-perf-users, Dapeng Mi


On 9/8/2025 2:16 PM, Dapeng Mi wrote:
> WildcatLake is a variant of PantherLake and shares same PMU features,
> so directly reuse Pantherlake's code to enable PMU features for
> WildcatLake.
>
> Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
> ---
>  arch/x86/events/intel/core.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
> index 28f5468a6ea3..fe65be0b9d9c 100644
> --- a/arch/x86/events/intel/core.c
> +++ b/arch/x86/events/intel/core.c
> @@ -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

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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake
  2025-10-29  9:58 ` Mi, Dapeng
@ 2025-10-29 10:11   ` Peter Zijlstra
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Zijlstra @ 2025-10-29 10:11 UTC (permalink / raw)
  To: Mi, Dapeng
  Cc: Ingo Molnar, Arnaldo Carvalho de Melo, Namhyung Kim, Ian Rogers,
	Adrian Hunter, Alexander Shishkin, Kan Liang, Andi Kleen,
	Eranian Stephane, linux-kernel, linux-perf-users, Dapeng Mi

On Wed, Oct 29, 2025 at 05:58:38PM +0800, Mi, Dapeng wrote:
> 
> On 9/8/2025 2:16 PM, Dapeng Mi wrote:
> > WildcatLake is a variant of PantherLake and shares same PMU features,
> > so directly reuse Pantherlake's code to enable PMU features for
> > WildcatLake.
> >
> > Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
> > ---
> >  arch/x86/events/intel/core.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
> > index 28f5468a6ea3..fe65be0b9d9c 100644
> > --- a/arch/x86/events/intel/core.c
> > +++ b/arch/x86/events/intel/core.c
> > @@ -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
> 
> 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!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [tip: perf/urgent] perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake
  2025-09-08  6:16 ` [PATCH 2/2] perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake Dapeng Mi
@ 2025-10-29 10:42   ` tip-bot2 for dongsheng
  0 siblings, 0 replies; 7+ messages in thread
From: tip-bot2 for dongsheng @ 2025-10-29 10:42 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: dongsheng, Dapeng Mi, Peter Zijlstra (Intel), x86, linux-kernel

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 <dongsheng.x.zhang@intel.com>
AuthorDate:    Mon, 08 Sep 2025 14:16:39 +08:00
Committer:     Peter Zijlstra <peterz@infradead.org>
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.

Signed-off-by: dongsheng <dongsheng.x.zhang@intel.com>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20250908061639.938105-2-dapeng1.mi@linux.intel.com
---
 arch/x86/events/intel/uncore.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/uncore.c b/arch/x86/events/intel/uncore.c
index a762f7f..d6c945c 100644
--- a/arch/x86/events/intel/uncore.c
+++ b/arch/x86/events/intel/uncore.c
@@ -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),

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [tip: perf/urgent] perf/x86/intel: Add PMU support for WildcatLake
  2025-09-08  6:16 [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Dapeng Mi
                   ` (2 preceding siblings ...)
  2025-10-29  9:58 ` Mi, Dapeng
@ 2025-10-29 10:42 ` tip-bot2 for Dapeng Mi
  3 siblings, 0 replies; 7+ messages in thread
From: tip-bot2 for Dapeng Mi @ 2025-10-29 10:42 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Dapeng Mi, Peter Zijlstra (Intel), Zide Chen, x86, linux-kernel

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 <dapeng1.mi@linux.intel.com>
AuthorDate:    Mon, 08 Sep 2025 14:16:38 +08:00
Committer:     Peter Zijlstra <peterz@infradead.org>
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.

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Zide Chen <zide.chen@intel.com>
Link: https://patch.msgid.link/20250908061639.938105-1-dapeng1.mi@linux.intel.com
---
 arch/x86/events/intel/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
index 28f5468..fe65be0 100644
--- a/arch/x86/events/intel/core.c
+++ b/arch/x86/events/intel/core.c
@@ -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;

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-10-29 10:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08  6:16 [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Dapeng Mi
2025-09-08  6:16 ` [PATCH 2/2] perf/x86/intel/uncore: Add uncore PMU support for Wildcat Lake Dapeng Mi
2025-10-29 10:42   ` [tip: perf/urgent] " tip-bot2 for dongsheng
2025-10-23 17:37 ` [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Chen, Zide
2025-10-29  9:58 ` Mi, Dapeng
2025-10-29 10:11   ` Peter Zijlstra
2025-10-29 10:42 ` [tip: perf/urgent] " tip-bot2 for Dapeng Mi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.