Viresh Kumar
f2e2e934d2
Revert "cpufreq: Fix possible race in cpufreq online error path"
...
[ Upstream commit 85f0e42bd65d01b351d561efb38e584d4c596553 ]
This reverts commit f346e96267cd76175d6c201b40f770c0116a8a04.
The commit tried to fix a possible real bug but it made it even worse.
The fix was simply buggy as now an error out to out_offline_policy or
out_exit_policy will try to release a semaphore which was never taken in
the first place. This works fine only if we failed late, i.e. via
out_destroy_policy.
Fixes: f346e96267cd ("cpufreq: Fix possible race in cpufreq online error path")
Signed-off-by: Viresh Kumar <[email protected] >
Signed-off-by: Rafael J. Wysocki <[email protected] >
Signed-off-by: Sasha Levin <[email protected] >
2022-06-14 18:11:36 +02:00
..
acpi-cpufreq.c
amd_freq_sensitivity.c
arm_big_little.c
arm_big_little.h
armada-8k-cpufreq.c
armada-37xx-cpufreq.c
cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
2021-08-26 08:36:16 -04:00
bmips-cpufreq.c
brcmstb-avs-cpufreq.c
cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
2021-03-04 10:26:14 +01:00
cppc_cpufreq.c
cpufreq-dt-platdev.c
cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
2021-03-30 14:35:21 +02:00
cpufreq-dt.c
cpufreq-dt.h
cpufreq-nforce2.c
cpufreq.c
Revert "cpufreq: Fix possible race in cpufreq online error path"
2022-06-14 18:11:36 +02:00
cpufreq_conservative.c
cpufreq_governor.c
cpufreq_governor.h
cpufreq_governor_attr_set.c
cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory
2021-10-06 15:42:30 +02:00
cpufreq_ondemand.c
cpufreq_ondemand.h
cpufreq_performance.c
cpufreq_powersave.c
cpufreq_stats.c
cpufreq_userspace.c
davinci-cpufreq.c
e_powersaver.c
elanfreq.c
freq_table.c
gx-suspmod.c
highbank-cpufreq.c
ia64-acpi-cpufreq.c
imx-cpufreq-dt.c
imx6q-cpufreq.c
intel_pstate.c
cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
2021-03-04 10:26:50 +01:00
Kconfig
Kconfig.arm
Kconfig.powerpc
Kconfig.x86
kirkwood-cpufreq.c
longhaul.c
longhaul.h
longrun.c
loongson1-cpufreq.c
cpufreq: loongson1: Add missing MODULE_ALIAS
2020-12-30 11:51:20 +01:00
loongson2_cpufreq.c
Makefile
maple-cpufreq.c
mediatek-cpufreq.c
cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE
2020-12-30 11:51:19 +01:00
mvebu-cpufreq.c
omap-cpufreq.c
p4-clockmod.c
pasemi-cpufreq.c
pcc-cpufreq.c
pmac32-cpufreq.c
pmac64-cpufreq.c
powernow-k6.c
powernow-k7.c
powernow-k7.h
powernow-k8.c
cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
2021-01-17 14:05:35 +01:00
powernow-k8.h
powernv-cpufreq.c
cpufreq: powernv: Fix init_chip_info initialization in numa=off
2021-09-22 12:26:37 +02:00
ppc_cbe_cpufreq.c
ppc_cbe_cpufreq.h
ppc_cbe_cpufreq_pervasive.c
ppc_cbe_cpufreq_pmi.c
pxa2xx-cpufreq.c
pxa3xx-cpufreq.c
qcom-cpufreq-hw.c
qcom-cpufreq-nvmem.c
cpufreq: qcom: Add missing MODULE_DEVICE_TABLE
2020-12-30 11:51:19 +01:00
qoriq-cpufreq.c
raspberrypi-cpufreq.c
s3c24xx-cpufreq-debugfs.c
s3c24xx-cpufreq.c
s3c64xx-cpufreq.c
s3c2410-cpufreq.c
s3c2412-cpufreq.c
s3c2416-cpufreq.c
s3c2440-cpufreq.c
s5pv210-cpufreq.c
sa1100-cpufreq.c
sa1110-cpufreq.c
sc520_freq.c
scmi-cpufreq.c
scpi-cpufreq.c
cpufreq: scpi: Add missing MODULE_ALIAS
2020-12-30 11:51:20 +01:00
sfi-cpufreq.c
sh-cpufreq.c
sparc-us2e-cpufreq.c
sparc-us3-cpufreq.c
spear-cpufreq.c
speedstep-centrino.c
speedstep-ich.c
speedstep-lib.c
speedstep-lib.h
speedstep-smi.c
sti-cpufreq.c
cpufreq: st: Add missing MODULE_DEVICE_TABLE
2020-12-30 11:51:19 +01:00
sun50i-cpufreq-nvmem.c
cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
2022-05-09 09:03:25 +02:00
tango-cpufreq.c
tegra20-cpufreq.c
tegra124-cpufreq.c
tegra186-cpufreq.c
ti-cpufreq.c
unicore2-cpufreq.c
vexpress-spc-cpufreq.c