Added SmartassV2 & Lulzactive

Change-Id: I6c1f39578f8bc4a50eedbb58be1afdf60156efc6
Added Wheatley governor

For more info, see http://rootzwiki.com/topic/14685-kernel07-jul-glados-v134-testing-v20-for-jb/page__st__90__p__405813#entry405813

Change-Id: Id31a308a002a7a909805a1839899a01359f60c6d
Optimized values for Conservative governor

Change-Id: I1827c160fb8b3ec6d7cea4f2da036d8163c4b8ce
Optimized values for Ondemand Governor

Change-Id: I644058778db246353586fe21537dbaee5add6d52
Make governor settings adaptable through NSTools
Updating smartassV2 code
backport CPUIDLE from 3.5

Change-Id: Ifd9d772d832e28917a46683d72ffb4e6628a592c
Updated ondemand

Thanks to stratosks for all his work on Ondemand!!!

Change-Id: Iaaede03c275da9622886e6db09f1602b10168e68

Conflicts:

	drivers/cpufreq/cpufreq_ondemand.c
cpufreq: ondemand: Change the calculation of target frequency

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
cpufreq: ondemand: Drop early_demand

Since we changed the calculation of target frequency early demand is
kind of useless.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
cpufreq: interactive: handle errors from cpufreq_frequency_table_target

Add checks for error return from cpufreq_frequency_table_target, and be
less noisy on the existing call with an error check.  CPU hotplug and
system shutdown may cause this call to return -EINVAL.

Bug: 8613560
Change-Id: Id78d8829920462c0db1c7e14e717d91740d6cb44
Signed-off-by: Todd Poynor <toddpoynor@google.com>
cpufreq: interactive: reduce chance of zero time delta on load eval

Reschedule load sampling timer after timestamp of sample start taken,
hold spinlock across entire sequence to avoid preemption.  Avoid the
WARN for zero time delta in the load sampling timer function.

Change-Id: Idc10a756f09141decb6df92669521a1ebf0dbc10
Signed-off-by: Todd Poynor <toddpoynor@google.com>
cpufreq: interactive: avoid underflow on active time calculation

Check for idle time delta less than elapsed time delta, avoid
underflow computing active time.

Change-Id: I3e4c6ef1ad794eec49ed379c0c50fa727fd6ad28
Signed-off-by: Minsung Kim <ms925.kim@samsung.com>
Lagfree CPU Governor
cpufreq: interactive: fix race on cpufreq TRANSITION notifier

The cpufreq TRANSTION notifier callback does not check the
governor_enabled state on affected CPUS, which will case
kernel panic in update_load because the policy object maybe
NULL or invalid when governor_enabled is false.

Change-Id: Ie0f1718124f61e2f9b5da57abc6981ada5b83908
Signed-off-by: Lianwei Wang <a22439@motorola.com>
cpufreq: interactive: resched timer if max freq raised

When the policy max freq is raised, and before the timer is
rescheduled in idle callback, the cpu freq may stuck at a
lower freq.

The target_freq shall be updated too, else on a high load
situation, the new_freq is always equal to target_freq and
which will cause freq stuck at a lower freq too.

Reschedule the timer on gov limits callback.

Change-Id: I6c187001ab43e859731429b64f75a74eebc37a24
Signed-off-by: Lianwei Wang <a22439@motorola.com>
update interactive governor to current google 3.4 kernel version

all changes up to commit:
0edc2b4  cpufreq: interactive: resched timer if max freq raised
interactive governor: adapt to 3.0 kernel
cpufreq: interactive: fix show_target_loads and show_above_hispeed_delay

Remove a trailing whitespace from target_loads and above_hispeed_delay. Problem
happens when user-space program tried to restore parameters that saved before
changing parameters. In this case was returned error(EINVAL).

Change-Id: I5a74e3824602cd6f2b74651adda5ec1b627e61e9
Signed-off-by: Minsung Kim <ms925.kim@samsung.com>
Add OndemandX

Change-Id: I42bcfcb3bb068f53e41a402b5fa98e190241c6bc