Revert "ARM: SoC: convert MSM to SMP operations"

This reverts commit 9dc8d93a22e027ee42af2ba5686b3c3cb5df38f4.

Revert "ARM: smp: remove wrapper functions"

This reverts commit b124a348242bd2fa3a7637c8c5f706e8b94caa14.

Revert "ARM: smp: Make SMP operations mandatory"

This reverts commit a5b7c15b29ac4e4a5e18723aa0206043e660d556.

There are no functional advantages that justify diverging from
caf branches.
msm: hotplug: Readd suspend max cpus and frequency options

We had this ages ago.
msm: hotplug: Use load dependent update rates
PM: devfreq: Add sysfs nodes for devfreq governors

Conflicts:
	drivers/devfreq/governor_simpleondemand.c
PM / devfreq: Add new flag to do simple clock scaling

Add new flag "simple_scaling" to on demand governor so that
the clocks can be scaled up only when the load is more than
up threshold and can be scaled down only when the load is less
than down differential data as provided within
struct devfreq_simple_ondemand_data.

Change-Id: Ibc6ab6297c1b64b6e6eaaa76d735d0b9ae0f6477
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>

Conflicts:
	drivers/devfreq/governor_simpleondemand.c
PM: devfreq: Fix simple_ondemand crashing on startup
PM: devfreq: Add conservative governor

A GPU governor is not rocket science. This one gets the job done pretty
smoothly while complying with devfreq framework rules.

Conflicts:
	drivers/devfreq/Kconfig
	drivers/devfreq/Makefile
PM: devfreq: Add some conservativeness
PM: devfreq: conservative: Return 0 if GPU just started

Bailing out early is perfectly fine, so do not trigger an error in
update_devfreq.
PM / devfreq: Get priv data for msm-adreno-tz governor from dev_profile

The devfreq infrastructure has several bugs and general design flaws
with private governor data support. As a workaround the msm-adreno-tz
governor gets it's private data from the device driver by doing a
container_of on the dev_profile registered by the device driver.

[myfluxi: Adapt to 8974, add yet unused stuff for conservative governor]

Change-Id: Ib9dffd063fe3aa5cfd55727d41f7633e88b3f998
Signed-off-by: Vladimir Razgulin <vrazguli@codeaurora.org>
PM: devfreq: Define tunables with a static scope
PM: devfreq: Fix derpage

Forgot to git add. Note to self: Don't push when you're
fucking pissed about fucking useless discussions.
msm: hotplug: Fix another derp