Files
android_kernel_xiaomi_sm8450/arch/arm64/kernel
James Morse d74b4e4f1a arm64: hibernate: Don't hibernate on systems with stuck CPUs
Hibernate relies on cpu hotplug to prevent secondary cores executing
the kernel text while it is being restored.

Add a call to cpus_are_stuck_in_kernel() to determine if there are
CPUs not counted by 'num_online_cpus()', and prevent hibernate in this
case.

Fixes: 82869ac57b ("arm64: kernel: Add support for hibernate/suspend-to-disk")
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2016-06-22 15:48:10 +01:00
..
2012-09-17 13:42:21 +01:00
2016-03-04 18:19:17 +00:00
2016-02-24 14:57:27 +00:00
2016-02-24 14:57:24 +00:00
2016-05-20 17:58:30 -07:00
2016-03-02 15:49:28 +00:00
2016-03-02 15:49:28 +00:00
2016-04-20 12:22:42 +01:00