Re: [PATCH 0/6] Cleanup Intel PMU initialization code

From: Ingo Molnar
Date: Tue Aug 29 2023 - 15:01:00 EST



* kan.liang@xxxxxxxxxxxxxxx <kan.liang@xxxxxxxxxxxxxxx> wrote:

> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
>
> The patch set is to clean up the Intel PMU initialization code. There is
> no functional change.
>
> Kan Liang (6):
> perf/x86/intel: Use the common uarch name for the shared functions
> perf/x86/intel: Factor out the initialization code for SPR
> perf/x86/intel: Factor out the initialization code for ADL e-core
> perf/x86/intel: Apply the common initialization code for ADL
> perf/x86/intel: Cleanup the hybrid CPU type
> perf/x86/intel: Add common intel_pmu_init_hybrid
>
> arch/x86/events/core.c | 6 +-
> arch/x86/events/intel/core.c | 397 ++++++++++++++++++-----------------
> arch/x86/events/intel/ds.c | 4 +-
> arch/x86/events/perf_event.h | 37 ++--
> 4 files changed, 226 insertions(+), 218 deletions(-)

Applied, thanks.

Ingo