mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
57e00b4003
The cpufreq passive register notifier can PROBE_DEFER and the devfreq
struct is freed and then reallocaed on probe retry.
The current logic assume that the code can't PROBE_DEFER so the devfreq
struct in the this variable in devfreq_passive_data is assumed to be
(if already set) always correct.
This cause kernel panic as the code try to access the wrong address.
To correctly handle this, update the this variable in
devfreq_passive_data to the devfreq reallocated struct.
Fixes:
|
||
---|---|---|
.. | ||
event | ||
devfreq-event.c | ||
devfreq.c | ||
exynos-bus.c | ||
governor_passive.c | ||
governor_performance.c | ||
governor_powersave.c | ||
governor_simpleondemand.c | ||
governor_userspace.c | ||
governor.h | ||
imx8m-ddrc.c | ||
imx-bus.c | ||
Kconfig | ||
Makefile | ||
rk3399_dmc.c | ||
sun8i-a33-mbus.c | ||
tegra30-devfreq.c |