scripts: remove localversion "+" from kernel version strings

Signed-off-by: faux123 <reioux@gmail.com>
cpufreq: open up write permissions for sysfs

Until uevent notifications are reliable again

Change-Id: Iae057ee04300faa63a3bc41e1f1d73d1919cb435
include/sound: export audio_effects.h

* With a recent change to msm8974-common we ned to export this

Change-Id: I569e437e9f965cd2ede6b7a384481e25d222b085
cpufreq: create a helper function to get CPU utilization. Picked from @stratosk

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: Introduce new relation for freq selection

Introduce CPUFREQ_RELATION_C for frequency selection.
It selects the frequency with the minimum euclidean distance
to target. In case of equal distance between 2 frequencies,
it will select the greater freq.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: Initial CPU utilization should be 0

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: conservative: convert cputime64_t to u64
cpufreq: conservative: update frequency when limits are relaxed

Reevaluate CPU load and update frequency immediately whenever limits
are changed. Currently conservative doesn't do that when limits are
relaxed, wasting power on systems with relatively low sampling rate.

Signed-off-by: Michal Pecio <mpecio@nvidia.com>
Reviewed-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: conservative: Initialise the cpu field during conservative governor start

This change initialises the cpu id field of cs_cpu_dbs_info structure in
conservative governor and keep this consistent with other governors.
Similar initialisation is present in ondemand governor.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: ondemand_eps: added new ondemand governor based on semaphore idea

Thanks a lot
@stratosk
https://github.com/stratosk/kernel_msm.git
cpufreq: smartmax_eps: added new governor based on ondemand and smart…
cpufreq: update smartmax
cpufreq: smartmax: Move get_cpu_idle_time() to cpufreq.c
cpufreq: smartmax_eps: Move get_cpu_idle_time() to cpufreq.c
cpufreq: ondemand_eps: Move get_cpu_idle_time() to cpufreq.c
cpufreq: cpu-boost: Fix cores getting stuck. Finally.

* In exclusive hotplug system, if a core is not taken down
  explicitly, it is observed that it gets stuck at input
  boost frequency.
* This fix resolves this issue completely.
* Root cause seems to be removal work is lost if queued on
  sibling cores. So simply fix this by queuing on boot CPU.

* Finally, I can use min_cpus_online > 1 for hotplug drivers
  without any issue.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: interactive: Duplicate governor implementation

Omit per cpu frequency dependent timings for compatibility reasons.
cpufreq: update interactive pro
cpufreq: interactive_pro: Align timer windows for all CPUs

It's more advantageous to evaluate all CPUs at same time so that
interactive governor gets a complete picture of the load on
each CPU at a specific time. It could also reduce number of speed
changes made if there are many CPUs controlled by same policy.

[myfluxi: Adapt to 3.4]

Change-Id: I4cfa5027b7a8c647f34893215573dc1fcd6428d5
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
cpufreq: interactive_pro: Move get_cpu_idle_time() to cpufreq.c