[GIT PULL] Performance events changes for v6.8

From: Ingo Molnar
Date: Mon Jan 08 2024 - 06:56:58 EST



Linus,

Please pull the latest perf/core git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-2024-01-08

# HEAD: fdd041028f2294228e10610b4fca6a1a83ac683d perf/x86/intel/uncore: Factor out topology_gidnid_map()

Performance events changes for v6.8 are:

- Add branch stack counters ABI extension to better capture
the growing amount of information the PMU exposes via
branch stack sampling. There's matching tooling support.

- Fix race when creating the nr_addr_filters sysfs file

- Add Intel Sierra Forest and Grand Ridge intel/cstate
PMU support.

- Add Intel Granite Rapids, Sierra Forest and Grand Ridge
uncore PMU support.

- Misc cleanups & fixes.

Thanks,

Ingo

------------------>
Alexander Antonov (2):
perf/x86/intel/uncore: Fix NULL pointer dereference issue in upi_fill_topology()
perf/x86/intel/uncore: Factor out topology_gidnid_map()

Greg KH (1):
perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file

Kan Liang (14):
perf: Add branch stack counters
perf/x86: Add PERF_X86_EVENT_NEEDS_BRANCH_STACK flag
perf: Add branch_sample_call_stack
perf/x86/intel: Reorganize attrs and is_visible
perf/x86/intel: Support branch counters logging
perf/x86/intel/cstate: Cleanup duplicate attr_groups
x86/smp: Export symbol cpu_clustergroup_mask()
perf/x86/intel/cstate: Add Sierra Forest support
perf/x86/intel/cstate: Add Grand Ridge support
perf/x86/intel/uncore: Generic uncore_get_uncores and MMIO format of SPR
perf/x86/uncore: Use u64 to replace unsigned for the uncore offsets array
perf/x86/intel/uncore: Support Granite Rapids
perf/x86/intel/uncore: Support IIO free-running counters on GNR
perf/x86/intel/uncore: Support Sierra Forest and Grand Ridge

Namhyung Kim (1):
perf/x86/amd: Reject branch stack for IBS events

Peter Zijlstra (1):
perf: Fix the nr_addr_filters fix


.../testing/sysfs-bus-event_source-devices-caps | 6 +
arch/powerpc/perf/core-book3s.c | 2 +-
arch/x86/events/amd/core.c | 2 +-
arch/x86/events/amd/ibs.c | 3 +
arch/x86/events/core.c | 4 +-
arch/x86/events/intel/core.c | 145 +++++++++++---
arch/x86/events/intel/cstate.c | 162 ++++++++++++----
arch/x86/events/intel/ds.c | 4 +-
arch/x86/events/intel/lbr.c | 85 ++++++++-
arch/x86/events/intel/uncore.c | 12 ++
arch/x86/events/intel/uncore.h | 10 +-
arch/x86/events/intel/uncore_discovery.c | 5 +-
arch/x86/events/intel/uncore_discovery.h | 2 +-
arch/x86/events/intel/uncore_nhmex.c | 2 +-
arch/x86/events/intel/uncore_snbep.c | 208 ++++++++++++++++-----
arch/x86/events/perf_event.h | 12 ++
arch/x86/events/perf_event_flags.h | 2 +
arch/x86/include/asm/msr-index.h | 5 +
arch/x86/include/asm/perf_event.h | 4 +
arch/x86/kernel/smpboot.c | 1 +
include/linux/perf_event.h | 22 ++-
include/uapi/linux/perf_event.h | 13 ++
kernel/events/core.c | 46 +++--
23 files changed, 627 insertions(+), 130 deletions(-)