ARM: vfp: only clear vfp state for current cpu in vfp_pm_suspend
vfp_pm_suspend runs on each cpu, only clear the hardware state
pointer for the current cpu.  Prevents a possible crash if one
cpu clears the hw state pointer when another cpu has already
checked if it is valid.
Revert "ARM: vfp: only clear vfp state for current cpu in vfp_pm_suspend vfp_pm_suspend runs on each cpu, only clear the hardware state pointer for the current cpu.  Prevents a possible crash if one cpu clears the hw state pointer when another cpu has already checked if it is valid."

This reverts commit 31d3897739f39b02af134bc15caa7062cb779a82.

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Revert "ARM: vfp: only clear vfp state for current cpu in vfp_pm_suspend vfp_pm_suspend runs on each cpu, only clear the hardware state pointer for the current cpu.  Prevents a possible crash if one cpu clears the hw state pointer when another cpu has already checked if it is valid."

This reverts commit 31d3897739f39b02af134bc15caa7062cb779a82.

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Dynamic EDP - allows EDP to be enabled (safer) with an added simple
temperature throttle (based on Asus Prime)

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Added V(R) I/O Scheduler
Conflicts:

	block/Kconfig.iosched
	block/Makefile

Signed-off-by: Paul Beeler <sparksco@gmail.com>
cpu-tegra.c: default both force_policy_max and edp_enable to "1"

force_policy_max is available in sysfs under the cpu-tegra module if a
ROM dev would want to override this for some reason. This was causing
the cpu to spike above the frequency limit set from userland or
during ramdisk init.

edp_enable (a static variable not in sysfs) will be flipped
immediately to "0" unless the cpu is very warm on boot.
Compiler optimizations

-fmodulo-sched, -fmodulo-sched-allow-regmoves, -funswitch-loops,
-fpredictive-commoning, -fgcse-after-reload, -ftree-vectorize,
-floop-interchange, -floop-strip-mine, -floop-block, -mfpu=neon
video: tegra: host: Fix error case memory leaks

When a submit fails, the related nvhost_job is not freed. Add an
explicit free. Also, 3D is mapping the save buffer, but it is not
unmapped.

Bug 991972
mm: Ensure pte and pmd stores ordering.

Bug 974153
Get rid of some kernel log spam
ARM/VFP compiler optimizations
Conflicts:

	arch/arm/vfp/Makefile
ARM/VFP compiler optimizations
Conflicts:

	arch/arm/vfp/Makefile

Signed-off-by: Paul Beeler <sparksco@gmail.com>
cpu-tegra: let's skip the temporary downclock and kernel log spam if the
custom EDP throttle is not currently enabled.
Conflicts:

	arch/arm/mach-tegra/cpu-tegra.c

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Revert "HACK: block fbearlysuspend to not break androids crt-off animation"

This reverts commit 81c3785c26827c3e22dd5b269cfeb27dbccedd9f.
Only log temp when it is getting closer to Dynamic EDP limit to
reduce kernel log spam
Conflicts:

	drivers/misc/nct1008.c
ARM: tegra: power: Cancel hotplug work upon disable

Cancel hotplug work when auto hotplug gets disabled to prevent
e.g. cpu_up() getting called in LP cluster.

Bug 965777
cpu-tegra2: Tuned the runnable threads threshold from 5/9/13 to 5/9/10
in order to improve performance
Conflicts:

	arch/arm/mach-tegra/cpu-tegra3.c
scheduler changes from Nvidia

scheduler: compute time-average nr_running per run-queue
Compute the time-average number of running tasks per run-queue for a
trailing window of a fixed time period. The detla add/sub to the
average value is weighted by the amount of time per nr_running value
relative to the total measurement period.

scheduler: Re-compute time-average nr_running on read
Re-compute time-average nr_running when it is read. This would
prevent reading stalled average value if there were no run-queue
changes for a long time. New average value is returned to the reader,
but not stored to avoid concurrent writes. Light-weight sequential
counter synchronization is used to assure data consistency for
re-computing average.
Revert "scheduler changes from Nvidia"

This reverts commit 81b9284f801bcc8ebd321fc1c92bedd6deeea51b.
Revert "cpu-tegra2: Tuned the runnable threads threshold from 5/9/13 to 5/9/10 in order to improve performance"

This reverts commit 3727a7b3e97dd0573ac93a76d1f025c37cf9765a.