Skip to contentSkip to conversation

perf/urgent for v5.17-rc3

GIT PULL Merged Borislav Petkov 2 participants 2 messages Feb 6, 2022

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull a couple of urgent perf fixes for 5.17.

Thx.

---

The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c:

Linux 5.17-rc2 (2022-01-30 15:37:07 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/perf_urgent_for_v5.17_rc3

for you to fetch changes up to 1d9093457b243061a9bba23543c38726e864a643:

perf/x86/intel/pt: Fix crash with stop filters in single-range mode (2022-02-02 13:11:40 +0100)

----------------------------------------------------------------
perf/urgent contains 3 fixups:

- Intel/PT: filters could crash the kernel

- Intel: default disable the PMU for SMM, some new-ish EFI firmware has started using CPL3 and the PMU CPL filters don't discriminate against SMM, meaning that CPL3 (userspace only) events now also count EFI/SMM cycles.

- Fixup for perf_event_attr::sig_data

(Peter Zijlstra)

----------------------------------------------------------------
Marco Elver (3):
perf: Copy perf_event_attr::sig_data on modification selftests/perf_events: Test modification of perf_event_attr::sig_data
perf: uapi: Document perf_event_attr::sig_data truncation on 32 bit architectures

Peter Zijlstra (1):
x86/perf: Default set FREEZE_ON_SMI for all

Tristan Hume (1):
perf/x86/intel/pt: Fix crash with stop filters in single-range mode

 arch/x86/events/intel/core.c                          | 13 +++++++++++++
 arch/x86/events/intel/pt.c                            |  5 +++--
 include/uapi/linux/perf_event.h                       |  2 ++
 kernel/events/core.c                                  | 16 ++++++++++++++++
 tools/testing/selftests/perf_events/sigtrap_threads.c | 17 +++++++++--------
 5 files changed, 43 insertions(+), 10 deletions(-)
Signature · 4 lines
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 6 Feb 2022 13:30:20 +0100:

The pull request you sent on Sun, 6 Feb 2022 13:30:20 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/perf_urgent_for_v5.17_rc3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c3bf8a14408ad2b84fe48246fa66d1459480ee6b

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html