Merge branch 'zion-kk44-beta-test' into zion-cm11-hlte-v1.0
added new cpufreq governor LagFree (thanks to @androdguide) (reverted from commit 677b239c269afb12c1e9d7ed84d804eec0de0d03)
REVERT: new cpufreq governor SmartAssv2 (thanks to @Erasmux, @faux123 & @androdguide) (reverted from commit b70d32ab9299fc75e31d217df1e741f827f788a2)
add back original smartmass2
cpufreq: smartass2: Update

* Fix up some values and remove the V's.

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
SmartassV2: Fix ups

* Needed reformatting and value tweaks to get going.

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
update configs
Revert "disabled mpdecision"

This reverts commit b5731ec24402dae6a2231335eeae54c6535bd3f2.
cpufreq: ondemand: Set MIN_LATENCY_MULTIPLIER to 20

Currently MIN_LATENCY_MULTIPLIER is set defined as 100 and so on a system with
transition latency of 1 ms, the minimum sampling time comes to be around 100 ms.
That is quite big if you want to get better performance for your system.

Redefine MIN_LATENCY_MULTIPLIER to 20 so that we can support 20ms sampling rate
for such platforms.

Signed-off-by: faux123 <reioux@gmail.com>
cpufreq: ondemand: sync with caf
cpufreq: ondemand:Fix NULL check for dbs_info->cur_policy

dbs_info->cur_policy can go NULL when processing
CPUFREQ_GOV_LIMITS, NULL check is required
before processing it

Change-Id: Iba99b563e230835dfcd24573335065d68ad25821
CRs-fixed: 576272
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: ondemand:kernel NULL pointer dereference at dbs_check_cpu

Function dbs_check_cpu  calls __cpufreq_driver_getavg
With  policy as IN/OUT parameter.
There is possiblity of policy becoming NULL in
 __cpufreq_driver_getavg. Same policy is getting
accessed in the for loop which leads to NULL pointer dereference.
So NULL check is required for the policy

CRs-fixed: 582925
Change-Id: Ib8d8de8d66500430a5aa4c275937640e4f934aa8
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq_ondemand: squashed commits
cpufreq: ondemand: Increase sync thread policy and priority
cpufreq: ondemand: Remove sync thread feature

This is redundant and racy, we are syncing cpu frequencies
in cpu-boost.
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
Merge branch 'zion-cm11-hlte-v1.0' into zion-kk44-beta-test