drivers: cpufreq: Tune interactive governor

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: interactive: delete timers for GOV_START

Make sure that timers cpu_timer and cpu_slack_timer
deactivated before addition of new.

Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
[mattw@codeaurora.org: resolved trivial context conflict]
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: interactive: don't schedule timer on offline cpu

It shall not add timer on an offline CPUs, else it will cause
kernel panic.

And also don't reschedule the timer on an offline cpu in idle
and timer callback. Actually the timer shall be cancelled when
cpu is offline.

Signed-off-by: Lianwei Wang <a22439@motorola.com>
SLT-Approved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
[ljc: formatting to use cpufreq_interactive_timer_start()]
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm8974: msm_hotplug: Fine tune configuration and fixes

* Power up additional cpus earlier
* Power down cpus later
* Keep cpus online at least 5 seconds
* Use proper return values
* Fix store_down_lock_duration()
* Add some more checks
* Cleanup some mess

[neo: This is now in sync with original myfluxi
      but without LCD notifier events.          ]

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>