[GIT PULL] perf event updates for v6.3

From: Ingo Molnar
Date: Mon Feb 20 2023 - 07:35:47 EST



Linus,

Please pull the latest perf events tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-2023-02-20

# HEAD: c828441f21ddc819a28b5723a72e3c840e9de1c6 perf/x86/intel/uncore: Add Meteor Lake support

The latest perf updates in this cycle are:

- Optimize perf_sample_data layout
- Prepare sample data handling for BPF integration
- Update the x86 PMU driver for Intel Meteor Lake
- Restructure the x86 uncore code to fix a SPR (Sapphire Rapids)
discovery breakage
- Fix the x86 Zhaoxin PMU driver
- Cleanups

Thanks,

Ingo

------------------>
Chuang Wang (1):
x86/kprobes: Use switch-case for 0xFF opcodes in prepare_emulation

Kan Liang (14):
perf: Add PMU_FORMAT_ATTR_SHOW
perf/x86: Add Meteor Lake support
perf/x86: Support Retire Latency
x86/cpufeatures: Add Architectural PerfMon Extension bit
perf/x86/intel: Support Architectural PerfMon Extension leaf
perf/x86/cstate: Add Meteor Lake support
perf/x86/msr: Add Meteor Lake support
perf/x86/uncore: Factor out uncore_device_to_die()
perf/x86/uncore: Fix potential NULL pointer in uncore_get_alias_name
perf/x86/uncore: Ignore broken units in discovery table
perf/x86/uncore: Add a quirk for UPI on SPR
perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table
perf/x86/intel/ds: Fix the conversion from TSC to perf time
perf/x86/intel/uncore: Add Meteor Lake support

Like Xu (1):
perf/x86/lbr: Simplify the exposure check for the LBR_INFO registers

Masami Hiramatsu (Google) (1):
x86/kprobes: Drop removed INT3 handling code

Namhyung Kim (9):
perf/core: Change the layout of perf_sample_data
perf/core: Save the dynamic parts of sample data size
perf/core: Add perf_sample_save_callchain() helper
perf/core: Add perf_sample_save_raw_data() helper
perf/core: Add perf_sample_save_brstack() helper
perf/core: Set data->sample_flags in perf_prepare_sample()
perf/core: Do not pass header for sample ID init
perf/core: Introduce perf_prepare_header()
perf/core: Call perf_prepare_sample() before running BPF

silviazhao (1):
x86/perf/zhaoxin: Add stepping check for ZXC


arch/powerpc/perf/core-book3s.c | 3 +-
arch/s390/kernel/perf_cpum_cf.c | 4 +-
arch/s390/kernel/perf_cpum_sf.c | 3 +-
arch/s390/kernel/perf_pai_crypto.c | 4 +-
arch/s390/kernel/perf_pai_ext.c | 4 +-
arch/x86/events/amd/core.c | 6 +-
arch/x86/events/amd/ibs.c | 9 +-
arch/x86/events/intel/core.c | 199 ++++++++++++++++++++++++++---
arch/x86/events/intel/ds.c | 133 ++++++++++++++------
arch/x86/events/intel/lbr.c | 4 +-
arch/x86/events/intel/uncore.c | 41 +++++-
arch/x86/events/intel/uncore.h | 5 +
arch/x86/events/intel/uncore_discovery.c | 60 ++++++---
arch/x86/events/intel/uncore_discovery.h | 14 ++-
arch/x86/events/intel/uncore_snb.c | 161 ++++++++++++++++++++++++
arch/x86/events/intel/uncore_snbep.c | 158 ++++++++++++++++++-----
arch/x86/events/perf_event.h | 23 ++--
arch/x86/events/zhaoxin/core.c | 8 +-
arch/x86/include/asm/cpufeatures.h | 1 +
arch/x86/include/asm/msr-index.h | 3 +
arch/x86/include/asm/perf_event.h | 8 ++
arch/x86/kernel/kprobes/core.c | 34 ++---
include/linux/perf_event.h | 172 +++++++++++++++++--------
kernel/events/core.c | 207 +++++++++++++++++--------------
kernel/trace/bpf_trace.c | 6 +-
25 files changed, 953 insertions(+), 317 deletions(-)