cpufreq: enable sibling cpu policy sharing

disable Qualcomm's cpu policy restore (conflicts with sibling sharing)

Change-Id: Ifdf9065e882478e83d4026943bb74ad2b5b70d92
Signed-off-by: Paul Reioux <reioux@gmail.com>
overall_stats: add overall stats for all available cores

this is much more accurate stats tracking than just displaying core 0's
stats from most other kernels

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

overall_stats: make dual/quad core stats configurable via meunconfig

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

overall_stats: forward port to kernel 3.4+

by replacing deprecated functions with native add/sub for 64bit data types

Change-Id: I1e17d626bf59b3c0822c9f1088093f848fd2649c
Signed-off-by: faux123 <reioux@gmail.com>
Cpufreq: create/remove percpu sysfs nodes once

On cpu hotplug on/off, percpu "cpufreq" sysfs node and it's
sub nodes are freshly created and removed. This increases
cpu up/down latency.

Create percpu "cpufreq" sysfs node and it's sub nodes in driver
registration and remove it in unregistration. This decreases
cpu up/down latency significantly.

Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/146812
(cherry picked from commit 298382285677fa791098d117ccc0a0a3d9ab0f9a)
Reviewed-on: http://git-master/r/219379
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

modified for use on Mako by faux123

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

Conflicts:
	drivers/cpufreq/cpufreq.c
intelli_plug: refactor stats calculation code to be less intrusive

this is done for those kernels which do not have 100% source code available
and must use existing closed source modules such as wifi drivers

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

Conflicts:
	arch/arm/hotplug/intelli_plug.c

Change-Id: I7ebd99b4fb3b55c0a39d64448e86c57cac6acaea
Intelli_plug: kernel sched/core: add per cpu nr_running stats

Change-Id: I4e8ed76e27c63270b3d106de1b85a52bb0bbe822
Signed-off-by: Paul Reioux <reioux@gmail.com>
Intelli_plug: cumulative patch to version 3.8

An intelligent hotplug driver for ARM based SOCs.
Copyright 2012~2014 Paul Reioux (aka Faux123)

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