Move x86_64 idle notifiers to generic

Move the x86_64 idle notifiers originally by Andi Kleen and Venkatesh Pallipadi to generic.

Change-Id: Idf29cda15be151f494ff245933c12462643388d5
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: Call idle notifiers

Change-Id: Id833e61c13baa1783705ac9e9046d1f0cc90c95e
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: Move leds idle start/stop calls to idle notifiers

Change-Id: I5d8e4e85b17bbab7992ecb477f0bdb5e4138b166
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
cpufreq interactive governor: Unify attribute store functions

Change our added attributes' store functions to Google style

Change-Id: I5dc641112085698918e87b52378fe3a5bfe44360
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/84452
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
cpufreq: interactive: use idle notifier

Convert interactive governor to use idle notifier instead of hooking pm_idle directly.

Change-Id: I47e007f330468ac559240a0ae8a3cb06a89ccb67
Signed-off-by: Allen Martin <amartin@nvidia.com>
cpufreq: interactive: remove debug trace code

Remove debug trace code in preparation of upstreaming

Change-Id: I0905885e75031f5e9d7cb06878fb68c1fd06d4fe
Signed-off-by: Allen Martin <amartin@nvidia.com>
Remove CONFIG_DYNAMIC_FREQ_MODE.

Just unnecessary bloat.
cpufreq: Backport Android 3.0 interactive governor

Bring some features of the Android 3.0 interactive governor to Tegra

commits taken in this change:

2e21b68cd68be556224aee775f67fbbb5d6870a6
5d61d3a6e2103801565048202999423657b4430a
c2ad521b982d949c5dfabe5ff257bb4f33ca8b51
4e3800ea447962106a962f5279ea508edd6ca160
fd8bc3774515bc6d2af3dfe567f902098cb0dea8
1c41e01a514bc6b5136fd9040bed5137cfd712a8
e661e9ba37039c77f8e1faaa231d810f12ac0790
96cd2509c44a74039022ce6de382bcec5267331d
eb5a34275e731c26cd15570f73796a0dc05c584a

Change-Id: I797b1eec4cf78f42509b05446b02de7c1272e6fb
Signed-off-by: satya popuri <spopuri@nvidia.com>
Fix some compile issues
cpufreq: interactive: add boost pulse interface

Change-Id: Icf1e86d2065cc8f0816ba9c6b065eb056d4e8249
Signed-off-by: Todd Poynor <toddpoynor@google.com>
cpufreq: interactive: add boostpulse duration

from http://review.cyanogenmod.com/#/c/24324/
by Daniel Bateman <jetison.24@gmail.com>

This makes up for the portions missing that would've been written
by Narayanan Gopalakrishnan but they were missing (duration, and boost
time) and also adds the ability to set duration (which was originally
created by cyanogen)

Change-Id: I8aadc9a70501862c78e153608f39c6e02746083b
drivers: cpufreq: Send a uevent when governor changes

 * Useful so userspace tools can reconfigure.

Change-Id: Ib423910b8b9ac791ebe81a75bf399f58272f64f2
cpufreq: Squashed commit adding boostpulse interface to ondemand govenor

Originally for crespo.

cpufreq: Add a boostpulse interface to ondemand

For applications that require a one-shot increase in frequency,
the boostpulse interface would help to scale to max for the time
specified in boostime. This helps applications that currently
increases scaling_min_freq and resets later after a fixed duration.
Instead of changing scaling_min_freq applications can directly write
to boostpulse and governer resets during regular timer after the time
expires.

Signed-off-by: Narayanan Gopalakrishnan <nargop@codeaurora.org>

cpufreq: ondemand: Fix the boostpulse interface

* Boostpulse was not working because no default frequency was set.
* We don't need an input handler to push the freq to max, userspace
  does a better job with the Power HAL.
* Tweak boost time to 500ms

Signed-off-by: Steve Kondik<shade@chemlab.org>

cpufreq: ondemand: Add duration for boosting

* Keep default behavior of 500ms boost if "1" is given, otherwise use
  the value (microseconds) as the boost duration.

Signed-off-by: Steve Kondik<shade@chemlab.org>

drivers: cpufreq: Add max duration for boosting

* Don't allow boosting for more than 5 seconds.

Signed-off-by: Steve Kondik<shade@chemlab.org>

cpufreq: ondemand: Default to max

Signed-off-by: Daniel Bateman<jetison.24@gmail.com>
defconfig: enable deadline and make interactive the default govenor
iosched: deadline: tweak for flash usage
And again - fix a compile error
Disable CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND.

This is messing around with touchpulse. Keeps generating NULL pointer dereferences
Merge remote-tracking branch 'cm/jellybean' into jellybean
Merge remote-tracking branch 'github/jellybean' into jellybean