Re: [PATCH 0/3] Cleanup for Intel PMU initialization

From: Peter Zijlstra
Date: Mon Feb 03 2025 - 08:19:16 EST


On Wed, Jan 29, 2025 at 07:48:17AM -0800, kan.liang@xxxxxxxxxxxxxxx wrote:
> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
>
> The patches are to clean up different features. They all touch the
> initialization code. There are some dependencies. So I put them in
> a patch set to facilitate the review and merge.
>
> Patch 1 is to clear up the PEBS-via-PT on hybrid.
> The original V1 patch can be found at
> https://lore.kernel.org/lkml/20250124183432.3565061-1-kan.liang@xxxxxxxxxxxxxxx/
> This is the V2, which only update the comments.
>
> Patch 2 is to clean up the 023H enumeration.
> To close the discussion at
> https://lore.kernel.org/lkml/20250127212901.GB9557@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
>
> Patch 3 is to clean up the counter information update and check codes.
> To close the discussion at
> https://lore.kernel.org/lkml/20250127164406.GN16742@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

So I can take 1 and 2, but 3 is part of that arch pebs things, and that
series is not in a shape I want to apply.

Also, I'm not at all sure 3 improves things, it might just make it
worse.