Update #2
Add CPU Governors
Improve Ondemand
Update CPU Governors
HYPER Cpu Governor

* This Governor comes from @DorimanX. It is meant to be more aggressive and boost performance.

Signed Off By: Chester Kener <Cl3Kener@gmail.com>

Conflicts:
	arch/arm/configs/cyanogenmod_quincyatt_defconfig
	arch/arm/configs/cyanogenmod_quincytmo_defconfig
	arch/arm/configs/cyanogenmod_skyrocket_defconfig
	arch/arm/configs/hercules_defconfig
sched/accounting: Change cpustat fields to an array

This patch changes fields in cpustat from a structure, to an
u64 array. Math gets easier, and the code is more flexible.

Change-Id: I70ba1dcbe6ba559c4345e248595c94bded26da95
Signed-off-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul Tuner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1322498719-2255-2-git-send-email-glommer@parallels.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
msm_rq_stats/cpufreq: Bring in line with upstream

Change-Id: I4084cae5554f316aa012f494c39a141cf33ee017

Conflicts:
	arch/arm/mach-msm/msm_rq_stats.c
	drivers/cpufreq/cpufreq_ondemand.c
sched/accounting: Change cpustat fields to an array

This patch changes fields in cpustat from a structure, to an
u64 array. Math gets easier, and the code is more flexible.

Change-Id: I70ba1dcbe6ba559c4345e248595c94bded26da95
Signed-off-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul Tuner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1322498719-2255-2-git-send-email-glommer@parallels.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Conflicts:
	drivers/cpufreq/cpufreq_conservative.c
drivers: cpufreq: Update cpustat fields to match upstream

Conflicts:
	arch/arm/mach-msm/msm_rq_stats.c
hercules: Badass
msm:rq_stats: Add hotplug disable attribute

Register for suspend and resume notifications from kernel. This should
be done as part of core_initcall so as to receive notification as close
as possible to the actual event. Add hotplug_disable attribute to
rq-stats node. Set/clear this attribute based on the suspend/resume events.

CRS-fixed: 452456
Change-Id: I76fee349b57f47df40785e9c2503e2e1cc6e064e
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/msm_rq_stats.c
msm:rq_stats: Fix hotplug attribute during the suspend failure

If the system suspend fails, the hotplug_disable attribute remains
set. This prevents any change to core status from mpdecision. Reset
the value of this attribute if the module receives PM_POST_RESTORE
notification.

Change-Id: I22fd639134adbeb8f8f96603e285151480f537ec
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
msm:rq_stats: Register for Cpufreq policy notification

Currently the load of the system is calculated using the max
frequency that is read during startup(It does not get updated
when the policy changes). As a result, the average load of the
system is incorrectly calculated and the system might not bring
the cpus online to manage the additional load. This
reduces the performance of the system.

To fix this issue, register rq_stats to receive cpufreq policy
notifications. Update the policy's max frequency when a
notification is received and use that value to calculate the load.

Change-Id: Icc78e28c736c170e198f723fd96c13dfb2dafe8a
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
msm_rq_stats/cpufreq: Bring in line with upstream

Change-Id: I4084cae5554f316aa012f494c39a141cf33ee017

Conflicts:
	drivers/cpufreq/cpufreq_ondemand.c
Update Include Folder

Conflicts:
	include/linux/input/sweep2wake.h
	include/linux/s2w-switch.h
msm: msm mpdecision: added

Conflicts:
	arch/arm/mach-msm/Makefile
	arch/arm/mach-msm/msm_mpdecision.c