[PATCH 0/8] perf/x86: Miscellaneous PMU bug fixes

Dapeng Mi posted 8 patches 3 days, 5 hours ago
arch/x86/events/core.c       | 19 +++-------------
arch/x86/events/intel/core.c | 43 ++++++++++++++++++++++++------------
arch/x86/events/intel/ds.c   | 13 -----------
arch/x86/events/intel/lbr.c  | 13 ++++++++---
arch/x86/events/perf_event.h | 25 +++++++++++++++++----
kernel/events/core.c         | 20 +++++++++++++----
6 files changed, 79 insertions(+), 54 deletions(-)
[PATCH 0/8] perf/x86: Miscellaneous PMU bug fixes
Posted by Dapeng Mi 3 days, 5 hours ago
This series groups several independent PMU fixes to simplify review and
backporting.

Patch layout:
- Patch 1/8: Fix anythread_deprecated being overwritten issue. 
- Patches 2-3/8: Fix the issue that cap_user_rdpmc is not updated
  correctly.
- Patches 4-5/8: Fix a kernel address leakage issue in LBR stack.
- Patch 6/8: Fix the issue that the return value of
  intel_pmu_init_hybrid() is not valiated correctly.
- Patch 7/8: Fix a "unchecked MSR access error" on PEBS_ENABLE MSR.
- Patch 8/8: Prevent a theoretical kernel register data leak in sampling.


Dapeng Mi (7):
  perf/x86/intel: Remove anythread_deprecated bit from perf_capabilities
  perf/x86: Update cap_user_rdpmc base on rdpmc user disable state
  perf/x86/intel: Fix redundant branch type check in
    intel_pmu_lbr_filter()
  perf/x86/intel: Fix kernel address leakages in LBR stack
  perf/x86/intel: Validate return value of intel_pmu_init_hybrid()
  perf/x86/intel: Drop fixed-counter PEBS constraints for baseline PEBS
  perf/core: Fix kernel register info leak via hardware skid

Ian Rogers (1):
  perf/x86: Introduce is_x86_pmu() helper

 arch/x86/events/core.c       | 19 +++-------------
 arch/x86/events/intel/core.c | 43 ++++++++++++++++++++++++------------
 arch/x86/events/intel/ds.c   | 13 -----------
 arch/x86/events/intel/lbr.c  | 13 ++++++++---
 arch/x86/events/perf_event.h | 25 +++++++++++++++++----
 kernel/events/core.c         | 20 +++++++++++++----
 6 files changed, 79 insertions(+), 54 deletions(-)


base-commit: 66cc29745f2f5815482587bb9fbc1e8a3e6fcf00
-- 
2.34.1