Hikey960: fix PSCI suspend stuck issue
Clear the cpuidle flag when resuming from idle. This flag is set
when entering idle, and if it remains set when resuming, it can
prevent the cluster from powering off during the next system
suspend operation. During system suspend, all CPUs are plugged
out except the last CPU, which is suspended. If any of the
cpuidle flags are set at this point, the last CPU will be stuck
in a WFI loop and will not be powered off.
This problem only occurs during system suspend.

Signed-off-by: Tao Wang <kevin.wangtao@linaro.org>
1 parent ca9915c commit 4af7fcb8d42d00aa21699e114521a116ff80116c
@Tao Wang Tao Wang authored on 3 Aug 2017
Tao Wang committed on 16 Aug 2017
Showing 1 changed file
View
plat/hisilicon/hikey960/hikey960_pm.c