msm_thermal: Clean up and re-write

*Cleaned out unnecessary checks and code
*Cleaned up variable names
*MSM Thermal is always enabled (can never be disabled)
*MSM Thermal now only sets maxfreq for CPU0 (as freq limits for CPU1 are synced against CPU0 in msm/cpufreq)
*Fixed several bugs and logic flaws

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_thermal: Constantly set maxfreq when throttled

Instead of just setting the reduced maxfreq once when throttling, set it on every pass-through. This ensures that msm_thermal will forcefully keep the CPUs throttled in the event that the user changes the maxfreq.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_thermal: Add CPU policy safety check

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_thermal: Add minfreq safety check

This is in case thermal throttling occurs during a CPU boost. In that case, reset minfreq to the default (192MHz).

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Sultan_pyramid_defconfig: Export sleep stats to userspace
Rebase to CAF AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.067
msm: Don't build perf_trace_counters
Sultan_pyramid_defconfig: Remove media tuner drivers
Revert "kgsl: fix genalloc BUG when detroying pagetable."

This reverts commit 06b38f473838e905f81db073acabc831eb52382d.
gpu: msm: Import from CAF jb_2.5

We are using jb_2.5 Adreno libraries. Kernel drivers must match userspace.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
gpu: msm: Fix compile when debug_fs is disabled

Signed-off-by: Sultanxda <sultanxda@gmail.com>