intelli_plug: intelligent hotplug cpu driver with eco mode
Signed-off-by: Paul Reioux <reioux@gmail.com>

Change-Id: Iac235cd7d74160b2130f9eee8700c98e54519a5c
intelli_plug: tweak for faster wakeup from suspend

bump version to 1.1

Change-Id: I638b9ac37f4d228c71105445416a3e3a99604a28
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: increase cores on persistence

also replace hardcoded values with Macros for ease of updating later

Change-Id: I362b191f3cb6777f6200b37d05f64e3946c38c56
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: make it gcc-4.6.x eabi compatible :p

Change-Id: I5eba337ea6e7e729eed2e73a158a8532554f5083
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: use rq_stats to help detect artificial or constant loads

benchmarks often create fake / artificial loads at a constant rate.  These
type of loads are not detected corectly by run average algorithms. Use
the run queue stats to help detect these cases and bring up the cores in
correspondence.

bump version to 1.2

Change-Id: I9e58514b98c79d51434f7a1b91da2e61029d4e13
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: use mp_decision() algorithm for core 3 and 4

This replaces the simplistic check for run queue thresholds with a more
sophisticate algorithm with time awareness

bump version to 1.3

Change-Id: I126b365a8764030a1e82f448922c8fd350e6da70
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: tweak mp_decsion parameters and remove unused logic

Change-Id: I8ad8c76c57a3b775a1ef0948ea6672a5e515e8a2
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: bump threshold slightly for better response

Change-Id: Ifc56e06422ff5d7cc66df836c76946ab4e49098c
Signed-off-by: faux123 <reioux@gmail.com>
wip: intelli_plug: change logic for better benchmark performance

Change-Id: Ib7a9abfd2a27f5e3adb54614023e4e632616c66a
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: use mp_decision to reduce online persistence count for cores

this should bring down the cores faster when run queue is low
also optimized code a bit using local vars

Change-Id: I069bff986b81f237e5db79157d2a09c742e39dea
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: disable by default

let the user enable via sysfs so it won't clash with mpdecision which is
enabled by default for qualcomm phones

Change-Id: I4700224a9ea19d4fdbe9340cea03eb8b903e4823
Signed-off-by: faux123 <reioux@gmail.com>
intelli_plug: slow down hotplug activity from 50ms to 200ms

this will reduce the hotplug chaos which may in turn save more power

Signed-off-by: faux123 <reioux@gmail.com>

Conflicts:
	arch/arm/mach-msm/intelli_plug.c

Change-Id: I538961ab6bd69c7028ff4920f0f79861a5ac84b3
intelli_plug: code clean up and minor bug fixes

bump to version 1.6

Change-Id: I5fe0831ac673a61f932ccd399764ef8e249d0376
Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliplug: replaced deprecated early_suspend driver with userspace interface

early_suspend has been deprecated, so move original functionality to sysfs
interfae and have userspace app to replicate the early_suspend functionality

bump version to 1.7

Change-Id: Ie6626850ff5b99b9e2b3ff6fb9550b8eb0d9b703
Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: add dynamic load sampling rate logic

Add dynamic sampling logic based on load. If load is high and required more
than 2 cores, increase the sampling rate for a duration of 3 seconds to help
manage the load better during this time.  Once duration expires, revert back
to lazier sampling rate for better batter performance.

Change-Id: I9aaba7ce9f9bc9bac5da38605e6a2bb2a94d4277
Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: add new power_suspend PM driver

bump version to 1.9

Change-Id: Ibcc9837c8d98bbf01becc2d8ce054b8b5f511d4d
Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: add touch input logic

changed intelli_plug sampling rates and bump to version 2.0

Change-Id: I1d8048240267a94c8c0d65a2f789e820aa2f727d
Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliplug: add mutext protection around input work

once in a while, during atomic ops, new input event could cause atomic
violations

Change-Id: Iec56b48cdc9866574b3c9886018b7e8865836f36
Signed-off-by: Paul Reioux <reioux@gmail.com>
Revert "intelliplug: add mutext protection around input work"

This reverts commit 3454bd3aef66bd2c54f75d5e908e45f686600ac5.

Change-Id: Ie2624048ef5866ca27c334ad760ff386c3b56a5f
intelli_plug: use a context safe function call instead

Change-Id: If1b719bd31348b4f6b47799be0483d3d42f97cfc
Signed-off-by: Paul Reioux <reioux@gmail.com>