Commit f0b280c3 authored by Maulik Shah's avatar Maulik Shah Committed by Todd Kjos
Browse files

ANDROID: cpuidle: Update cpuidle_uninstall_idle_handler() to wakeup all online CPUs



wake_up_all_idle_cpus() will not wakeup paused CPUs since they are removed
from cpu_active_mask but paused CPUs can be in deep cpu idle and hence must
wakeup when uninstalling idle handler.

This change fixes this by introducing wake_up_all_online_idle_cpus() to
unconditionally wakeup all online idle CPUs and invoking same when uninstalling
cpu idle handler.

Bug: 192436062
Fixes: 683010f5 ("ANDROID: cpu/hotplug: add pause/resume_cpus interface")
Change-Id: I4afd4b7a17b87f9cc495e7009c9537888387f9ef
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 14dd90ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment