autosmp: Multi-core automatic hotplug support by mrg666

Squashed, ported to hammerhead by eng.stk <eng.stk@sapo.pt>
autosmp: hammerhead fixes, lcd hooks
defconfig: enable autosmp
msm: thermal: make sure we actually want to go through with the policy adjust since this can be triggered by any policy update with the cPUFREQ_ADJUST flag.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: cpu-boost: Export cpu boost status

* This will help hotplug drivers to know boost status
  of CPU and act accordingly.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: hotplug: Do not butcher boosted CPU

* In existing scenario, we don't check whether CPU is
  booster or not before taking it down.
* Break the loop and wait for next cycle if CPU is
  currently being boosted.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Max screen off frequency and shut down cores while screen is off

Signed-off-by: flar2 <asegaert@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
Change msm-sleeper to use lcd-notifier

Signed-off-by: flar2 <asegaert@gmail.com>
Add sysfs entry for max screen off frequency

Signed-off-by: flar2 <asegaert@gmail.com>
Change default max screen off frequency to 1190400

Signed-off-by: flar2 <asegaert@gmail.com>
defconfig: enable msm_sleeper
perf/debug: disable some debug

Following my changes on Bacon, let's disable this here as well

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
bluactive: don't scale beyond min if the load is low

by franciscofranco