Linux 3.4.99

Conflicts:
	kernel/locking/rtmutex.c
Ondemand: Retune the gov close to default to reduce heat.

Conflicts:
	drivers/cpufreq/cpufreq_ondemand.c
Tune CPU-BOOST and MSM HOTPLUG.
Tune CPUBOOST
Revert "qseecom: change return value to 0 if app id exists when loading app"

This reverts commit 60d8cbf8c1803052e89d5927c330c21f8cb2f5e9.
cpufreq: interactive: Simplify frequency calculations

Previously, complicated calculations led to oscillating cpu
frequencies that ruined user experience even on high-end
devices. Revert to the classic calculations based on a
percentage of current max frequency.  This way, we're using
freqs more evenly and much more predictable.

Conflicts:
	drivers/cpufreq/cpufreq_interactive.c
cpufreq: interactive: Consider changed min limit a frequency boost

A changed policy->min can safely be considered a frequency boost.
Process this change analogous to the cpufreq_interactive_boost()
routine.
cpufreq: interactive: Honor boosted state in several timer calculations
async: introduce 'async_domain' type

This is in preparation for teaching async_synchronize_full() to sync all
pending async work, and not just on the async_running domain.  This
conversion is functionally equivalent, just embedding the existing list
in a new async_domain type.

The .registered attribute is used in a later patch to distinguish
between domains that want to be flushed by async_synchronize_full()
versus those that only expect async_synchronize_{full|cookie}_domain to
be used for flushing.

[jejb: add async.h to scsi_priv.h for struct async_domain]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
CPUFREQ: do not allow to set sampling_down_factor above 3

When setting sampling_down_factor 4 or above core freq stuck at max.