[PATCH V3 0/4] perf: Support Panther Lake uncore

kan.liang@linux.intel.com posted 4 patches 3 months ago
There is a newer version of this series
arch/x86/events/intel/uncore.c           |  7 ++
arch/x86/events/intel/uncore.h           |  2 +
arch/x86/events/intel/uncore_discovery.c | 89 ++++++++++++++++++------
arch/x86/events/intel/uncore_discovery.h |  7 ++
arch/x86/events/intel/uncore_snb.c       | 79 +++++++++++++++++++++
arch/x86/events/intel/uncore_snbep.c     |  4 +-
6 files changed, 166 insertions(+), 22 deletions(-)
[PATCH V3 0/4] perf: Support Panther Lake uncore
Posted by kan.liang@linux.intel.com 3 months ago
From: Kan Liang <kan.liang@linux.intel.com>

Changes since V2:
- Rebase on the later tip.git
  rdmsrl_safe_on_cpu -> rdmsrq_safe_on_cpu

Starting from the Panther Lake, the uncore discovery table mechanism is
also introduced into the client platforms. The difference is that the
portal of the global discovery table is retrieved from an MSR, rather
than MMIO space.

The first two patches provide a generic support for the extension of the
uncore discovery table mechanism.
The rest patches enable the uncore PMU on Panther Lake.

Kan Liang (4):
  perf/x86/intel/uncore: Support MSR portal for discovery tables
  perf/x86/intel/uncore: Support customized MMIO map size
  perf/x86/intel/uncore: Add Panther Lake support
  perf/x86/intel/uncore: Add iMC freerunning for Panther Lake

 arch/x86/events/intel/uncore.c           |  7 ++
 arch/x86/events/intel/uncore.h           |  2 +
 arch/x86/events/intel/uncore_discovery.c | 89 ++++++++++++++++++------
 arch/x86/events/intel/uncore_discovery.h |  7 ++
 arch/x86/events/intel/uncore_snb.c       | 79 +++++++++++++++++++++
 arch/x86/events/intel/uncore_snbep.c     |  4 +-
 6 files changed, 166 insertions(+), 22 deletions(-)

-- 
2.38.1
Re: [PATCH V3 0/4] perf: Support Panther Lake uncore
Posted by Mi, Dapeng 3 months ago
On 7/4/2025 12:56 AM, kan.liang@linux.intel.com wrote:
> From: Kan Liang <kan.liang@linux.intel.com>
>
> Changes since V2:
> - Rebase on the later tip.git
>   rdmsrl_safe_on_cpu -> rdmsrq_safe_on_cpu
>
> Starting from the Panther Lake, the uncore discovery table mechanism is
> also introduced into the client platforms. The difference is that the
> portal of the global discovery table is retrieved from an MSR, rather
> than MMIO space.
>
> The first two patches provide a generic support for the extension of the
> uncore discovery table mechanism.
> The rest patches enable the uncore PMU on Panther Lake.
>
> Kan Liang (4):
>   perf/x86/intel/uncore: Support MSR portal for discovery tables
>   perf/x86/intel/uncore: Support customized MMIO map size
>   perf/x86/intel/uncore: Add Panther Lake support
>   perf/x86/intel/uncore: Add iMC freerunning for Panther Lake
>
>  arch/x86/events/intel/uncore.c           |  7 ++
>  arch/x86/events/intel/uncore.h           |  2 +
>  arch/x86/events/intel/uncore_discovery.c | 89 ++++++++++++++++++------
>  arch/x86/events/intel/uncore_discovery.h |  7 ++
>  arch/x86/events/intel/uncore_snb.c       | 79 +++++++++++++++++++++
>  arch/x86/events/intel/uncore_snbep.c     |  4 +-
>  6 files changed, 166 insertions(+), 22 deletions(-)

The whole series looks good to me. Thanks.
Re: [PATCH V3 0/4] perf: Support Panther Lake uncore
Posted by Liang, Kan 3 months ago

On 2025-07-03 6:24 p.m., Mi, Dapeng wrote:
> 
> On 7/4/2025 12:56 AM, kan.liang@linux.intel.com wrote:
>> From: Kan Liang <kan.liang@linux.intel.com>
>>
>> Changes since V2:
>> - Rebase on the later tip.git
>>   rdmsrl_safe_on_cpu -> rdmsrq_safe_on_cpu
>>
>> Starting from the Panther Lake, the uncore discovery table mechanism is
>> also introduced into the client platforms. The difference is that the
>> portal of the global discovery table is retrieved from an MSR, rather
>> than MMIO space.
>>
>> The first two patches provide a generic support for the extension of the
>> uncore discovery table mechanism.
>> The rest patches enable the uncore PMU on Panther Lake.
>>
>> Kan Liang (4):
>>   perf/x86/intel/uncore: Support MSR portal for discovery tables
>>   perf/x86/intel/uncore: Support customized MMIO map size
>>   perf/x86/intel/uncore: Add Panther Lake support
>>   perf/x86/intel/uncore: Add iMC freerunning for Panther Lake
>>
>>  arch/x86/events/intel/uncore.c           |  7 ++
>>  arch/x86/events/intel/uncore.h           |  2 +
>>  arch/x86/events/intel/uncore_discovery.c | 89 ++++++++++++++++++------
>>  arch/x86/events/intel/uncore_discovery.h |  7 ++
>>  arch/x86/events/intel/uncore_snb.c       | 79 +++++++++++++++++++++
>>  arch/x86/events/intel/uncore_snbep.c     |  4 +-
>>  6 files changed, 166 insertions(+), 22 deletions(-)
> 
> The whole series looks good to me. Thanks.
> 

Thanks. I will add a reviewed-by tag from you in V4.

Thanks,
Kan