Hi Linus, please pull there perf urgent fixes for v5.12-rc3.
Thx. --- The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/perf_urgent_for_v5.12-rc3 for you to fetch changes up to c8e2fe13d1d1f3a02842b7b909d4e4846a4b6a2c: x86/perf: Use RET0 as default for guest_get_msrs to handle "no PMU" case (2021-03-10 16:45:09 +0100) ---------------------------------------------------------------- - Make sure PMU internal buffers are flushed for per-CPU events too and properly handle PID/TID for large PEBS. - Handle the case properly when there's no PMU and therefore return an empty list of perf MSRs for VMX to switch instead of reading random garbage from the stack. ---------------------------------------------------------------- Kan Liang (2): perf/core: Flush PMU internal buffers for per-CPU events perf/x86/intel: Set PERF_ATTACH_SCHED_CB for large PEBS and LBR Sean Christopherson (1): x86/perf: Use RET0 as default for guest_get_msrs to handle "no PMU" case arch/x86/events/core.c | 15 ++++++--------- arch/x86/events/intel/core.c | 5 ++++- arch/x86/kvm/vmx/vmx.c | 2 +- include/linux/perf_event.h | 2 ++ kernel/events/core.c | 42 ++++++++++++++++++++++++++++++++++++++---- 5 files changed, 51 insertions(+), 15 deletions(-) -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg