• Linus Torvalds's avatar
    Merge tag 'perf-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bceb7acc
    Linus Torvalds authored
    Pull performance event updates from Ingo Molnar:
     - Add AMD Unified Memory Controller (UMC) events introduced with Zen 4
     - Simplify & clean up the uncore management code
     - Fall back from RDPMC to RDMSR on certain uncore PMUs
     - Improve per-package and cstate event reading
     - Extend the Intel ref-cycles event to GP counters
     - Fix Intel MTL event constraints
     - Improve the Intel hybrid CPU handling code
     - Micro-optimize the RAPL code
     - Optimize perf_cgroup_switch()
     - Improve large AUX area error handling
     - Misc fixes and cleanups
    
    * tag 'perf-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (26 commits)
      perf/x86/amd/uncore: Pass through error code for initialization failures, instead of -ENODEV
      perf/x86/amd/uncore: Fix uninitialized return value in amd_uncore_init()
      x86/cpu: Fix the AMD Fam 17h, Fam 19h, Zen2 and Zen4 MSR enumerations
      perf: Optimize perf_cgroup_switch()
      perf/x86/amd/uncore: Add memory controller support
      perf/x86/amd/uncore: Add group exclusivity
      perf/x86/amd/uncore: Use rdmsr if rdpmc is unavailable
      perf/x86/amd/uncore: Move discovery and registration
      perf/x86/amd/uncore: Refactor uncore management
      perf/core: Allow reading package events from perf_event_read_local
      perf/x86/cstate: Allow reading the package statistics from local CPU
      perf/x86/intel/pt: Fix kernel-doc comments
      perf/x86/rapl: Annotate 'struct rapl_pmus' with __counted_by
      perf/core: Rename perf_proc_update_handler() -> perf_event_max_sample_rate_handler(), for readability
      perf/x86/rapl: Fix "Using plain integer as NULL pointer" Sparse warning
      perf/x86/rapl: Use local64_try_cmpxchg in rapl_event_update()
      perf/x86/rapl: Stop doing cpu_relax() in the local64_cmpxchg() loop in rapl_event_update()
      perf/core: Bail out early if the request AUX area is out of bound
      perf/x86/intel: Extend the ref-cycles event to GP counters
      perf/x86/intel: Fix broken fixed event constraints extension
      ...
    bceb7acc
core.c 332 KB