3.4.57

Signed-off-by: kecinzer <kecinzer@gmail.com>
load_stats: add changes from @reborn90 to overcome the erraneous calculations if the device hits thermal throttle.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: pm-8x60: Setup memory for save/restore cpu registers early

Cores can be offlined early in the boot cycle by certain kernel
drivers.
Ensure that the memory to save and restore the cpu registers is
ready and available early during the boot procedure.

CRs-Fixed: 460083
Change-Id: I925372f066386ceb1e85184d4c58863835c3e88e
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/pm-8x60.c
Revert "msm: pm-8x60: Setup memory for save/restore cpu registers early"

This reverts commit aa54d527661a1d8f086fa0f7b2318c90ee77b7c0.
msm: hotplug: wait for hotplug completion event from secondary core

Primary core has to wait for hotplug completion event from secondary
core to avoid race between ongoing hotplug and already queued online
event. This also prevent CPU_DEAD notifiers from executing before the
SPM has completed the collapse of the CPU. CPU DEAD notifiers executing
early have been attributed to MDD hardware block for the CPU being
turned off prematurely, resulting in crashes.
The patch also adds support for probing with device tree for 8974
targets.

Change-Id: Ibd35a7c56f42f156a643ca6d531509f019b2a3be
CRs-fixed: 438314
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/pm-8x60.c