Linus Torvalds
9a9594efe5
Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
...
Pull SMP hotplug updates from Thomas Gleixner:
"This update is primarily a cleanup of the CPU hotplug locking code.
The hotplug locking mechanism is an open coded RWSEM, which allows
recursive locking. The main problem with that is the recursive nature
as it evades the full lockdep coverage and hides potential deadlocks.
The rework replaces the open coded RWSEM with a percpu RWSEM and
establishes full lockdep coverage that way.
The bulk of the changes fix up recursive locking issues and address
the now fully reported potential deadlocks all over the place. Some of
these deadlocks have been observed in the RT tree, but on mainline the
probability was low enough to hide them away."
* 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (37 commits)
cpu/hotplug: Constify attribute_group structures
powerpc: Only obtain cpu_hotplug_lock if called by rtasd
ARM/hw_breakpoint: Fix possible recursive locking for arch_hw_breakpoint_init
cpu/hotplug: Remove unused check_for_tasks() function
perf/core: Don't release cred_guard_mutex if not taken
cpuhotplug: Link lock stacks for hotplug callbacks
acpi/processor: Prevent cpu hotplug deadlock
sched: Provide is_percpu_thread() helper
cpu/hotplug: Convert hotplug locking to percpu rwsem
s390: Prevent hotplug rwsem recursion
arm: Prevent hotplug rwsem recursion
arm64: Prevent cpu hotplug rwsem recursion
kprobes: Cure hotplug lock ordering issues
jump_label: Reorder hotplug lock and jump_label_lock
perf/tracing/cpuhotplug: Fix locking order
ACPI/processor: Use cpu_hotplug_disable() instead of get_online_cpus()
PCI: Replace the racy recursion prevention
PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
perf/x86/intel: Drop get_online_cpus() in intel_snb_check_microcode()
x86/perf: Drop EXPORT of perf_check_microcode
...
2017-07-03 18:08:06 -07:00
..
acpi-cpufreq.c
cpufreq: Remove CPU hotplug callbacks only if they were initialized
2016-12-21 02:52:52 +01:00
amd_freq_sensitivity.c
cpufreq: Reuse new freq-table helpers
2016-07-07 00:14:27 +02:00
arm_big_little.c
cpufreq: arm_big_little: use generic OPP functions for {init, free}_opp_table
2016-05-05 01:40:04 +02:00
arm_big_little.h
cpufreq: arm_big_little: use generic OPP functions for {init, free}_opp_table
2016-05-05 01:40:04 +02:00
arm_big_little_dt.c
cpufreq: arm_big_little: use generic OPP functions for {init, free}_opp_table
2016-05-05 01:40:04 +02:00
at32ap-cpufreq.c
blackfin-cpufreq.c
bmips-cpufreq.c
cpufreq: bmips-cpufreq: CPUfreq driver for Broadcom's BMIPS SoCs
2017-02-09 01:22:44 +01:00
brcmstb-avs-cpufreq.c
cpufreq: brcmstb-avs-cpufreq: remove unnecessary platform_set_drvdata()
2017-02-09 01:22:46 +01:00
cppc_cpufreq.c
cpufreq / CPPC: Add MODULE_DEVICE_TABLE for cppc_cpufreq driver
2016-10-21 15:11:23 +02:00
cpufreq-dt-platdev.c
cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platforms
2017-02-09 22:59:00 +01:00
cpufreq-dt.c
PM / OPP: Rename dev_pm_opp_get_suspend_opp() and return OPP rate
2017-01-27 11:49:09 +01:00
cpufreq-dt.h
cpufreq: dt: Support governor tunables per policy
2016-09-13 02:39:12 +02:00
cpufreq-nforce2.c
cpufreq.c
Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-07-03 18:08:06 -07:00
cpufreq_conservative.c
cpufreq: conservative: Allow down_threshold to take values from 1 to 10
2017-06-12 14:28:07 +02:00
cpufreq_governor.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/cpufreq.h>
2017-03-02 08:42:30 +01:00
cpufreq_governor.h
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/cpufreq.h>
2017-03-02 08:42:30 +01:00
cpufreq_governor_attr_set.c
cpufreq_ondemand.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/cpufreq.h>
2017-03-02 08:42:30 +01:00
cpufreq_ondemand.h
cpufreq: ondemand: Don't keep a copy of freq_table pointer
2016-06-09 00:58:06 +02:00
cpufreq_performance.c
cpufreq: governor: Get rid of governor events
2016-06-02 23:24:15 +02:00
cpufreq_powersave.c
cpufreq: governor: Get rid of governor events
2016-06-02 23:24:15 +02:00
cpufreq_stats.c
Power management updates for v4.11-rc1
2017-02-20 17:41:31 -08:00
cpufreq_userspace.c
cpufreq: governor: Get rid of governor events
2016-06-02 23:24:15 +02:00
cris-artpec3-cpufreq.c
cris-etraxfs-cpufreq.c
davinci-cpufreq.c
ARM: davinci: da850: fix da850_set_pll0rate()
2017-01-02 15:02:51 +05:30
dbx500-cpufreq.c
cpufreq: dbx500: Manage cooling device from cpufreq driver
2017-03-16 00:14:31 +01:00
e_powersaver.c
cpufreq: e_powersaver: Use IS_ENABLED() instead of checking for built-in or module
2016-04-27 22:42:34 +02:00
elanfreq.c
exynos5440-cpufreq.c
PM / OPP: Update OPP users to put reference
2017-01-30 09:22:21 +01:00
freq_table.c
cpufreq: Handle sorted frequency tables more efficiently
2016-07-07 00:13:20 +02:00
gx-suspmod.c
highbank-cpufreq.c
ia64-acpi-cpufreq.c
cpufreq/ia64: Replace racy task affinity logic
2017-04-15 12:20:55 +02:00
imx6q-cpufreq.c
cpufreq: imx6q: Fix error handling code
2017-04-19 23:22:01 +02:00
intel_pstate.c
cpufreq: intel_pstate: Avoid division by 0 in min_perf_pct_min()
2017-06-05 14:51:18 +02:00
Kconfig
cpufreq: qoriq: add ARM64 SoCs support
2017-02-09 14:33:01 +01:00
Kconfig.arm
cpufreq: dbx500: add a Kconfig symbol
2017-05-14 13:40:16 +02:00
Kconfig.powerpc
Kconfig.x86
sched/x86: Change CONFIG_SCHED_ITMT to CONFIG_SCHED_MC_PRIO
2016-11-30 08:27:08 +01:00
kirkwood-cpufreq.c
cpufreq: kirkwood-cpufreq:- Handle return value of clk_prepare_enable()
2017-05-30 00:09:41 +02:00
longhaul.c
Power management material for v4.7-rc1
2016-05-16 19:17:22 -07:00
longhaul.h
longrun.c
loongson1-cpufreq.c
CPUFREQ: Loongson1: Replace goto out with return in ls1x_cpufreq_probe()
2016-05-13 14:02:08 +02:00
loongson2_cpufreq.c
CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()
2017-04-12 13:52:21 +02:00
Makefile
cpufreq: dbx500: add a Kconfig symbol
2017-05-14 13:40:16 +02:00
maple-cpufreq.c
mt8173-cpufreq.c
cpufreq: mediatek: Add support for MT8176 and MT817x
2017-03-12 23:10:53 +01:00
mvebu-cpufreq.c
cpufreq: mvebu: fix integer to pointer cast
2016-06-13 23:49:43 +02:00
omap-cpufreq.c
PM / OPP: Update OPP users to put reference
2017-01-30 09:22:21 +01:00
p4-clockmod.c
pasemi-cpufreq.c
cpufreq/pasemi: Adjust system_state check
2017-05-23 10:01:36 +02:00
pcc-cpufreq.c
Revert "cpufreq: pcc-cpufreq: update default value of cpuinfo_transition_latency"
2016-07-22 23:51:06 +02:00
pmac32-cpufreq.c
powerpc updates for 4.7
2016-05-20 10:12:41 -07:00
pmac64-cpufreq.c
powernow-k6.c
powernow-k7.c
powernow-k7.h
powernow-k8.c
format-security: move static strings to const
2017-05-08 17:15:14 -07:00
powernow-k8.h
powernv-cpufreq.c
cpufreq: powernv: Add boost files to export ultra-turbo frequencies
2017-02-03 23:59:41 +01:00
ppc_cbe_cpufreq.c
ppc_cbe_cpufreq.h
cpufreq: e_powersaver: Use IS_ENABLED() instead of checking for built-in or module
2016-04-27 22:42:34 +02:00
ppc_cbe_cpufreq_pervasive.c
ppc_cbe_cpufreq_pmi.c
cpufreq: Remove CPUFREQ_START notifier event
2017-02-04 00:05:30 +01:00
pxa2xx-cpufreq.c
pxa3xx-cpufreq.c
qoriq-cpufreq.c
cpufreq: qoriq: enhance bus frequency calculation
2017-03-12 23:10:53 +01:00
s3c24xx-cpufreq-debugfs.c
s3c24xx-cpufreq.c
cpufreq: Return index from cpufreq_frequency_table_target()
2016-06-09 00:58:06 +02:00
s3c64xx-cpufreq.c
cpufreq: s3c64xx: remove incorrect __init annotation
2016-12-21 02:54:18 +01:00
s3c2410-cpufreq.c
s3c2412-cpufreq.c
s3c2416-cpufreq.c
cpufreq: s3c2416: double free on driver init error path
2017-02-09 01:22:45 +01:00
s3c2440-cpufreq.c
s5pv210-cpufreq.c
ARM: SoC driver updates for v4.8
2016-08-01 18:36:01 -04:00
sa1100-cpufreq.c
sa1110-cpufreq.c
ARM: sa1100: move StrongARM CPU ID checks to cputype.h
2016-08-23 10:25:17 +01:00
sc520_freq.c
scpi-cpufreq.c
cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
2016-08-18 03:42:32 +02:00
sfi-cpufreq.c
sh-cpufreq.c
cpufreq/sh: Replace racy task affinity logic
2017-04-15 12:20:55 +02:00
sparc-us2e-cpufreq.c
cpufreq/sparc-us2e: Replace racy task affinity logic
2017-04-15 12:20:56 +02:00
sparc-us3-cpufreq.c
cpufreq/sparc-us3: Replace racy task affinity logic
2017-04-15 12:20:55 +02:00
spear-cpufreq.c
speedstep-centrino.c
speedstep-ich.c
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c
Annotate hardware config module parameters in drivers/cpufreq/
2017-04-20 12:02:32 +01:00
sti-cpufreq.c
scripts/spelling.txt: add regsiter -> register spelling mistake
2017-05-08 17:15:13 -07:00
tegra20-cpufreq.c
tegra124-cpufreq.c
tegra186-cpufreq.c
cpufreq: Add Tegra186 cpufreq driver
2017-04-19 23:23:08 +02:00
ti-cpufreq.c
cpufreq: make ti-cpufreq explicitly non-modular
2017-02-16 00:58:52 +01:00
unicore2-cpufreq.c
vexpress-spc-cpufreq.c
cpufreq: arm_big_little: use generic OPP functions for {init, free}_opp_table
2016-05-05 01:40:04 +02:00