OSDN Git Service

Allow to disable offlining of non-boot CPUs nougat-x86 oreo-x86 pie-x86 q-x86 r-x86 s-x86 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6 android-x86-9.0-r1 android-x86-9.0-r2
authorValentin Manea <valentin.manea@gmail.com>
Fri, 12 Apr 2019 08:31:45 +0000 (16:31 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 12 Apr 2019 08:31:45 +0000 (16:31 +0800)
commit1e8ed5fe566a4af069bb118a90b20c7305d4c7f2
tree3d82bbf67e411fde13b628bff8a44354f975da10
parent50520a07ad50e005516a408a6d2b44163585cedc
Allow to disable offlining of non-boot CPUs

On my Cherrytrail tablet I've been trying to achieve the S0Ix deep sleep
states. After a bit of twiddling I found out that I can achieve the deep
sleep states but I need to disable the power off of the secondary cores
otherwise the resume from sleep causes the device to crash.

The patch uses a property to determine whether to power off the non-boot
CPUs on sleeping.
power.c