linux/arch/x86/events/intel
Sebastian Andrzej Siewior 04b247c2eb perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked()
intel_cqm_init() holds get_online_cpus() while registerring the hotplug
callbacks.

cpuhp_setup_state() invokes get_online_cpus() as well. This is correct, but
prevents the conversion of the hotplug locking to a percpu rwsem.

Use cpuhp_setup_state_cpuslocked() to avoid the nested call. Convert
*_online_cpus() to the new interfaces while at it.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170524081548.075604046@linutronix.de
2017-05-26 10:10:40 +02:00
..
bts.c perf/core: Keep AUX flags in the output handle 2017-03-16 09:51:10 +01:00
core.c perf/x86: Fix spurious NMI with PEBS Load Latency event 2017-04-14 10:31:39 +02:00
cqm.c perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked() 2017-05-26 10:10:40 +02:00
cstate.c x86/events: Remove last remnants of old filenames 2017-03-01 11:27:26 +01:00
ds.c perf/x86: Fix spurious NMI with PEBS Load Latency event 2017-04-14 10:31:39 +02:00
knc.c
lbr.c perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32() 2017-04-14 10:18:00 +02:00
Makefile x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl 2016-07-06 12:51:59 +02:00
p4.c perf/x86/intel/p4: Trival indentation fix, remove space 2016-05-20 09:18:22 +02:00
p6.c
pt.c perf/x86/intel/pt: Allow the disabling of branch tracing 2017-03-30 09:53:49 +02:00
pt.h perf/x86/intel/pt: Allow the disabling of branch tracing 2017-03-30 09:53:49 +02:00
rapl.c perf/x86: Fix Broadwell-EP DRAM RAPL events 2017-05-03 14:40:37 +02:00
uncore_nhmex.c
uncore_snb.c perf/x86/uncore: Fix crash by removing bogus event_list[] handling for SNB client uncore IMC 2016-11-16 09:46:35 +01:00
uncore_snbep.c perf/x86/intel/uncore: Fix hardcoded socket 0 assumption in the Haswell init code 2017-01-11 12:13:21 +01:00
uncore.c perf/x86/intel: Add Kaby Lake support 2017-02-11 21:28:23 +01:00
uncore.h x86/events: Remove last remnants of old filenames 2017-03-01 11:27:26 +01:00