msm: hotplug: Add MSM Hotplug driver

Change-Id: I8be6559134b5e77e827bd848d7521a873ace9488
msm: hotplug: Max 1036MHz during screen off

Change-Id: I266b75a03e8f34be6bf2c6f3263f7b8cb069c555
msm: hotplug: Remove spinlock in load stats

It's too expensive and not nessecary.

Change-Id: I509a1da93f6c966c7fca0452403d155577242dac
msm: hotplug: Stop hotplug work a tad later

Change-Id: Idca0771d60e8c32f09e3071ebf7725a690db2753
msm: hotplug: Schedule suspend/resume work

Dennis is right, this is the proper way to suspend and resume.

Change-Id: Idb6963576a0fe311f1b9845abdc6e374ec1050e7
hammerhead: touch: Remove touch boost

Revert "cpufreq: conservative: Boost all online cpus"

This reverts commit 3d2675da0500e4e9cd94de66f657790ca5e26467.

Revert "hammerhead: touch: Simple method of boosting cpu frequency on touch"

This reverts commit 2f25573cc2924e62d222f4fbd7a976121858dce2.

Conflicts:

	drivers/cpufreq/cpufreq_conservative.c
	drivers/cpufreq/cpufreq_interactive.c

Change-Id: Icd956d3a51ae5ff0f614d426444fe3a1fa59f774
msm: hotplug: Increase down lock duration and janitize

Change-Id: If16da644466e1323b394d71cb0ca1d96bfef9947
msm: hotplug: Use high-priority workqueue

Change-Id: I029c345a0f211e7e155c86021eb6566b65c7b40a
msm: hotplug: Add input boost handler

Add an input handler to hotplug additional cpus. Down lock will
take care of keeping the cpu boosted.

Change-Id: I6f4bd0bcaafe11ec17c685a811f9d0849badd6e8
msm: hotplug: Add minimum interval for input boost

Change-Id: Id7ceb0999b54f0a6285ee104264bdf719dc3a89a
msm: hotplug: Remove deprecated msm_cpufreq_set_freq_limits

Change-Id: Ic1410a1b1dd6fb930696d4213418fdf2eea02c4c
msm: hotplug: Cleanup hotplugging routines

Remove paroid atomic operations that were causing issues.

Change-Id: I38b0a2df1eea683b74fe4039cee1aa7e4239e210
cpufreq: add new routine cpufreq_verify_within_cpu_limits()

Most of the users of cpufreq_verify_within_limits() calls it for
limiting with min/max from policy->cpuinfo. We can make that code
simple by introducing another routine which will do this for them
automatically.

This patch adds another routine cpufreq_verify_within_cpu_limits()
and updates others to use it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Conflicts:

	drivers/cpufreq/freq_table.c

Change-Id: I60aedae1b26d860191552d906b9707dc13b3a503
msm: hotplug: Optimize hotplugging routines

- Power down the slowest cpu
- Move checks from callback to calling function
- Clean it up a bit

Change-Id: Ic28e3502158e5e092e4771b0faef66bf9051e210
msm: hotplug: Add pm ops

Change-Id: I95d3e73c1a3169c228f9bb8dbfcff0a1cb70e6e1
msm: hotplug: Fix symbol export

Change-Id: I136ea9279872ef664d8e7a0bcfd4b33368568773
defconfig: Enable MSM Hotplug

Change-Id: I167769fbbf0d9e35deab123d35ff96408f50594b
msm: thermal: Relax temperature thresholds

Relax temperature thresholds, the device is constantly throttling.
Also, use core control to avoid physical damage, not temperature
control.

Conflicts:

	arch/arm/boot/dts/msm8974.dtsi
	drivers/thermal/msm_thermal.c

Change-Id: I632bcf9c3229b2a061d9eba81d095c836ddd4e9f
PM: devfreq: Fix simple_ondemand crashing on startup

simple_ondemands private data must be set to NULL, otherwise we would
run into a NULL pointer in kgsl_devfreq_get_dev_status().

Change-Id: I6cc6a8b11e3b58b8c3e3c26d43ee36949cf62351
ARM/dt: msm8974-gpu: Enable qcom bus-control

Honor DEVFREQ_FLAG_FAST/SLOW_HINT flags in adreno-tz.

Change-Id: I5b995fb29b690946651304ed1607214c63485abc