Skip to content

x86/perf/intel/cstate: Fix cpu hotplug handling and make it modular

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/perf/intel/cstate: Make hotplug handling actually workarch/x86/events/intel/cstate.c+51 -700 replies
2/4x86/perf/intel/cstate: Sanitize probingarch/x86/events/intel/cstate.c+157 -2004 replies
3/4x86/perf/intel/cstate: Sanitize error handlingarch/x86/events/intel/cstate.c+27 -230 replies
4/4x86/perf/intel/cstate: Modularize driverarch/x86/Kconfig.perf arch/x86/events/intel/Makefile arch/x86/events/intel/cstate.c+30 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] x86/perf/intel/cstate: Fix cpu hotplug handling and make it modular

The perf cstate driver is yet another trainwreck vs. cpu hotplug handling. The hotplug code is not only disfunctional, it's also a uncomprehensible mess.

The following series fixes the hotplug functionality, sanitizes error handling and makes the driver modular.

It depends on Kans modularization support for the uncore and rapl drivers:

http://lkml.kernel.org/r/[email protected]
http://lkml.kernel.org/r/[email protected]

as it uses Kconfig and Makefile which get introduced by those patches.

Thanks,

tglx

---
 Kconfig.perf          |    8 
 events/intel/Makefile |    4 
 events/intel/cstate.c |  536 +++++++++++++++++++++++---------------------------
 3 files changed, 258 insertions(+), 290 deletions(-)