linux-perf-users.vger.kernel.org archive mirror
 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
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ 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] 5+ 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-23 17:37 ` [PATCH 1/2] perf/x86/intel: Add PMU support for WildcatLake Chen, Zide
  2025-10-29  9:58 ` Mi, Dapeng
  2 siblings, 0 replies; 5+ 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] 5+ 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
  2 siblings, 0 replies; 5+ 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] 5+ 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
  2 siblings, 1 reply; 5+ 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] 5+ 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; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ 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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).