summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRam Chandrasekar <rkumbako@codeaurora.org>2016-12-14 16:28:31 -0700
committerRam Chandrasekar <rkumbako@codeaurora.org>2016-12-21 11:44:47 -0700
commitf24aac1b253f413ea6675a4145bbab467d003e37 (patch)
treefb5d15b61424977f2f5eea7c35ccd1fca5f228a4 /tools/perf/scripts/python
parent3162449f7d245d45f007d4ea3224576ddf1bcc63 (diff)
msm: thermal: Update error handling of device offline
When device enters suspend, the suspend framework disables CPU hotplug functionality. During the suspend, any attempt from KTM to hotplug CPU will return error and in this case, KTM wont clear the cpus_offlined mask. In this case, the device framework assumes the core is still online. Next time the device resumes from suspend the core online attempt will be nacked by KTM. Thus the core will be offlined and subsequent attempts to bring the core online using device framework will fail. Update KTM error handling to remove the CPUs from the cpus_offlined mask, when device offline APIs return error. Thus KTM wont block suspend framework from bringing the core online. Also, update KTM not to evaluate new request to offline or online a core when the device is in suspend entry or exit. The re-evaluation will be triggered when the device exits suspend. Change-Id: I334fd782a2c5d604cafb94f44832d9c700891ba2 Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions