Revert "Revert "cpufreq: cpu-boost: Fix cores getting stuck. Finally.""

This reverts commit 0fa1b98ee35268a18fceafd38f25949033e48ca0.
msm_limiter: Enable by default
Signed-off-by: renderbroken <zkennedy87@gmail.com>
Intelliplug: Initial Port of Faux's hotplug modified by Neobuddy89
Signed-off-by: renderbroken <zkennedy87@gmail.com>
GPU fixes for SoD's Thanks Dorimanx
Signed-off-by: renderbroken <zkennedy87@gmail.com>
cpufreq: Add interface to set/get min/max freq

* Interface similar to that for setting governor.
* Interface can be used by drivers to change/get
  min/max freq per cpu.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: limiter: Simplify and debugify min/max freq

* 5echo2@xda reported that sibling cores may or may not
  get updated with required max freq after every resume
  operation.
* This patch make use of hooks added in cpufreq driver.
  These hooks save desired min/max freq if CPU is
  offline OR update min/max freq if CPU is online
  and thus sibling cores will have their proper scaling
  frequencies updated whenever called.
* Also live_min_freq and live_max_freq are added per-cpu
  to help user retrieve actual min/max per cpu.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cpufreq: Make get governor interface always return good value

* In rare scenario, we may not able to lock policy
  and in such case, get governor interface returns
  "invalid" governor.
* This patch ensures we never get "invalid" governor.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: limiter: Do not store governor locally

* @RenderBroken reported that local variables do
  not reflect actual value on boot.
* This happens because ramdisk or userspace apps
  change scaling_governor by using following path
  /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
* When above path is updated with new governor, local
  variables in limiter driver are not.
* Drop local variables and reflect actual governor per
  core always.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: limiter: Add readable tunable for current frequency

* It returns 0 if core is offline else current frequency
  of that core.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Build Script: Update
Signed-off-by: renderbroken <zkennedy87@gmail.com>