Skip to contentSkip to conversation

perf/x86/intel/uncore: Bug fixes and cleanups

PATCH Superseded Zide Chen 2 participants 2 messages May 26 – May 27

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Zide Chen

author
#0 lore raw

v2 cover perf/x86/intel/uncore: Bug fixes and cleanups

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(-)
Signature · 1 line
2.54.0
#1 lore raw

Seems only cover letter is here. Where are the patches?

Quoted 32 lines · Zide Chen

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(-)