Asynchronous Fsync: initial extraction of Async Fsync from HTC

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
defconfig: disable DYNAMIC_FSYNC and enable ASYNC_FSYNC

Signed-off-by: Dan Trifan <jimsth@gmail.com>
cpufreq: interactive: proper touch boost implementation

credits: Francisco Franco <franciscofranco.1990@gmail.com>

Signed-off-by: Dan Trifan <jimsth@gmail.com>
block: cfq: definitely finally nail the CFQ tunables.
One final tweak to give us the desired 335, 85 on tuna, according to pkgnex's Excel GN equation which accomodates for the weird HZ: y=TRUNC(x*7.8125,0)

Signed-off-by: Dan Trifan <jimsth@gmail.com>
arch: omap: export current IVA clock to userspace, make GPU+IVA exports match
similar to scaling_cur_freq, gpu_cur_freq and iva_cur_freq

Signed-off-by: Dan Trifan <jimsth@gmail.com>
scheduler: compute time-average nr_running per run-queue

Compute the time-average number of running tasks per run-queue for a
trailing window of a fixed time period. The detla add/sub to the
average value is weighted by the amount of time per nr_running value
relative to the total measurement period.

Change-Id: I076e24ff4ed65bed3b8dd8d2b279a503318071ff
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
(cherry picked from commit 3a12d7499cee352e8a46eaf700259ba3c733f0e3)
Reviewed-on: http://git-master/r/111635
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
arch:arm:mach-omap2: add new cpu frequency step 1.06Ghz

Signed-off-by: Dan Trifan <jimsth@gmail.com>
rq_stats: add run queue statistic collection to kernel tick scheduler

adapted from CAF reference for OMAP2 Platform

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
defconfig: enable RQ_STATS

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Intelliplug 2.0: port to OMAP2 SOCs

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
intelli_plug: tune for dual core mode

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
cpufreq: intelliactive: initial coding and introduction!

intelliactive is based on Latest Google Interactive cpufreq governor from
Google.  The original Interactive provides smooth UI operations but suffers
slight battery drain due to its aggressive policies.  Intelliactive is an
improvement built on top of it.

It has the following enhancements added:
1. self-boost capability from input drivers (no need for PowerHAL assist)
2. two phase scheduling (idle/busy phases to prevent from jumping directly to
   max freq
3. Checks for offline cpus and short circuits some unnecessary checks to
   improve code execution paths
4. removed trace calls

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
intelliactive: backport to Linux 3.0.x / Linux 3.1.x kernels

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
intelliactive: tune for OMAP2 SOCs

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
intelliplug: add Galaxy Nexus touch input

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
defconfig: enable Intelliplug and Intelliactive

Signed-off-by: Dan Trifan <jimsth@gmail.com>
omap2: intelliplug: remove quadcore stuff to avoid log spaming

Signed-off-by: Willi Ye <williye97@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
omap2: intelliplug: disable eco_mode and intelli_plug by
default

Signed-off-by: Dan Trifan <jimsth@gmail.com>
cpufreq: intelliactive: user the tuntables from interactive

Signed-off-by: Dan Trifan <jimsth@gmail.com>