sched: added time-based average load

From TripNRaver and maxwen
Change-Id: Ia72f7014a86bc0fc4c745a3ce55b3dc5bae66f44
add and enable maxwens input mediator

Change-Id: Ied30a1547197073e39c7ef3dbe803ca0c7dbe842

Conflicts:
	arch/arm/configs/cyanogenmod_hammerhead_defconfig
cpuquiet: initial

Conflicts:
	arch/arm/configs/cyanogenmod_find5_defconfig
	arch/arm/mach-msm/msm_rq_stats.c

Change-Id: I8baa67405fa0ad915c56d3c5e7fa106ae8467c66

Conflicts:
	arch/arm/configs/cyanogenmod_hammerhead_defconfig
cpuquiet: fix correct bootup sequence

Change-Id: I2d8f1a1922b26cac0594951cebfd0e1f076ffca1
cpuidle: move field disable from per-driver to per-cpu

Andrew J.Schorr raises a question.  When he changes the disable setting on
a single CPU, it affects all the other CPUs.  Basically, currently, the
disable field is per-driver instead of per-cpu.  All the C states of the
same driver are shared by all CPU in the same machine.

The patch changes the `disable' field to per-cpu, so we could set this
separately for each cpu.

Change-Id: I7d6b4392c920fe70c89d44a2df0935d72c842cf4
Signed-off-by: ShuoX Liu <shuox.liu@intel.com>
Reported-by: Andrew J.Schorr <aschorr@telemetry-investments.com>
Reviewed-by: Yanmin Zhang <yanmin_zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:
	include/linux/cpuidle.h
cpuquiet: governors: Configure WQ for higer priority

Change-Id: I7f62da38a1a7c4dcd97f1eb6707269afb06e25b3
cpuquiet: added load based governors

Conflicts:
	arch/arm/configs/cyanogenmod_find5_defconfig

Change-Id: I67dffaea8344c915bbc072934488a3676121fa64

Conflicts:
	arch/arm/configs/cyanogenmod_hammerhead_defconfig
cpuquiet: cpufreq: added screen off core and freq limit support

Conflicts:
	arch/arm/mach-msm/Makefile

Change-Id: I089cb2e2bd30a5c886b3f917f862196ba4b32785

Conflicts:
	arch/arm/mach-msm/Makefile

Conflicts:
	arch/arm/mach-msm/Makefile
msm_rq_stats: squash commit to latest version

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

Change-Id: I73ca3917f0c2dfd26cdf8e28e8c27dc8eceeac4f

Conflicts:
	arch/arm/mach-msm/msm_rq_stats.c
msm_rq_stats: added support enable load calculation on demand

Change-Id: I9d02ef234b8f0a96ce55540f86468986e0fcf487
cpuquiet: load_stats: use on demand enabling of load calculation in msm_rq_stats

Change-Id: I9a109902c4acdbf5b2ac8ae2b5147578da0d4a7d
cpuquiet: added input boost support

Change-Id: I19ee2a5d64f06292811c60f087d5ddce915f171e
cpuquiet: move input boost into kthread

Change-Id: I0356a49bb96ed2ae2dcb048f1bdfea19eb13f5a9
msm_rq_stats: fix race between stats and cpuquiet

Change-Id: I86adfed146ca0588793959e2c1d728f0763b2ff4

Conflicts:
	arch/arm/mach-msm/msm_rq_stats.c
cpuquiet: init input dev with late_initcall

Change-Id: I5d2ba5c8e0277228f45fa93f044176c92fb79cc9
cpuquiet: add some useful logging for governor handling

Change-Id: I82bff4dc99ad25e07dc4d463ae64cef521742474
cpuquiet: fixed threshold sysfs for rq_stats and load_stats

Change-Id: Ie5dbe06b71918194d1ffbe4454b3cae5866bd1be
msm_rq_stats: fixed debug log

Change-Id: I25c88f18fea796fec7c9ef98b0f9cfbfc55fc11b
cpuquiet: allow enabling of hotplugging log on runtime

Change-Id: I4486f3ee7a0638ad94202b859b469385c6be4f1a
cpuqiet: reset time counters on governor start

Change-Id: I15063d2ccef8d9a5a57d4a8c824f1c8ebb960d65