[PATCH V2 0/7] perf/x86/intel/uncore: Bug fixes and cleanups
From: Zide Chen
Date: Tue May 26 2026 - 17:30:12 EST
This series includes bug fixes and cleanups for the Intel uncore PMU
driver.
- Patch 1 fixes a theoretical bug in discovery unit lookup on multi-die
systems.
- Patch 2 guards against an invalid box control address.
- Patch 3 fixes a PCI device refcount leak in UPI topology discovery.
- Patch 4 works around a hardware issue on Raptor Cove CPUs.
- Patches 5-7 implement a global MSR init callback for GNR/GRR/SRF/CWF
uncore.
Changes in v2:
- Add patch 2 to guard against invalid box control address (Sashiko)
- Remove WARN_ON_ONCE() from patch 1
- Move cpus_read_{lock,unlock}() out of uncore_die_to_cpu() (Sashiko)
Zide Chen (7):
perf/x86/intel/uncore: Fix discovery unit lookup for multi-die systems
perf/x86/intel/uncore: Guard against invalid box control address
perf/x86/intel/uncore: Fix PCI device refcount leak in UPI discovery
perf/x86/intel/uncore: Defer ADL global PMON enable to enable_box()
perf/x86/intel/uncore: Move die_to_cpu() to uncore.c
perf/x86/intel/uncore: Fix uncore_die_to_cpu() for offline dies
perf/x86/intel/uncore: Implement global init callback for GNR uncore
arch/x86/events/intel/uncore.c | 32 ++++++++++++++++++-
arch/x86/events/intel/uncore.h | 3 +-
arch/x86/events/intel/uncore_discovery.c | 40 +++++++++++++++++-------
arch/x86/events/intel/uncore_snb.c | 7 -----
arch/x86/events/intel/uncore_snbep.c | 36 +++++++--------------
5 files changed, 74 insertions(+), 44 deletions(-)
--
2.54.0