[GIT PULL] perf/urgent for v6.4-rc2

From: Borislav Petkov
Date: Sun May 14 2023 - 08:19:02 EST


Hi Linus,

please pull a couple of urgent perf fixes for 6.4.

Thx.

---

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/perf_urgent_for_v6.4_rc2

for you to fetch changes up to b752ea0c28e3f7f0aaaad6abf84f735eebc37a60:

perf/x86/intel/ds: Flush PEBS DS when changing PEBS_DATA_CFG (2023-05-08 10:58:27 +0200)

----------------------------------------------------------------
- Make sure the PEBS buffer is flushed before reprogramming the hardware
so that the correct record sizes are used

- Update the sample size for AMD BRS events

- Fix a confusion with using the same on-stack struct with different
events in the event processing path

----------------------------------------------------------------
Kan Liang (1):
perf/x86/intel/ds: Flush PEBS DS when changing PEBS_DATA_CFG

Namhyung Kim (1):
perf/x86: Fix missing sample size update on AMD BRS

Yang Jihong (1):
perf/core: Fix perf_sample_data not properly initialized for different swevents in perf_tp_event()

arch/x86/events/core.c | 6 ++---
arch/x86/events/intel/ds.c | 56 ++++++++++++++++++++++-----------------
arch/x86/include/asm/perf_event.h | 3 +++
kernel/events/core.c | 14 +++++++++-
4 files changed, 50 insertions(+), 29 deletions(-)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette