[GIT PULL] perf event updates for v6.5

From: Ingo Molnar
Date: Tue Jun 27 2023 - 07:31:48 EST



Linus,

Please pull the latest perf events git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-2023-06-27

# HEAD: 228020b490eda9133c9cb6f59a5ee1278d8c463f perf: Re-instate the linear PMU search

Perf events changes for v6.5:

- Rework & fix the event forwarding logic by extending the
core interface. This fixes AMD PMU events that have to
be forwarded from the core PMU to the IBS PMU.

- Add self-tests to test AMD IBS invocation via core PMU events

- Clean up Intel FixCntrCtl MSR encoding & handling

Thanks,

Ingo

------------------>
Dapeng Mi (1):
perf/x86/intel: Define bit macros for FixCntrCtl MSR

Peter Zijlstra (1):
perf: Re-instate the linear PMU search

Ravi Bangoria (4):
perf/core: Rework forwarding of {task|cpu}-clock events
perf/ibs: Fix interface via core pmu events
perf/core: Remove pmu linear searching code
perf test: Add selftest to test IBS invocation via core pmu events


arch/x86/events/amd/core.c | 2 +-
arch/x86/events/amd/ibs.c | 53 ++++++++--------
arch/x86/events/intel/core.c | 18 +++---
arch/x86/include/asm/perf_event.h | 12 ++++
include/linux/perf_event.h | 10 +++
kernel/events/core.c | 77 +++++++++++++-----------
tools/perf/arch/x86/include/arch-tests.h | 1 +
tools/perf/arch/x86/tests/Build | 1 +
tools/perf/arch/x86/tests/amd-ibs-via-core-pmu.c | 71 ++++++++++++++++++++++
tools/perf/arch/x86/tests/arch-tests.c | 2 +
10 files changed, 174 insertions(+), 73 deletions(-)
create mode 100644 tools/perf/arch/x86/tests/amd-ibs-via-core-pmu.c