msm: Forward-port Samsung's ramdump extensions

 * Port forward from the stock kernel source.
 * Necessary for debugging, no impact if disabled.

Change-Id: Iddad6c08a182f3207e4579712eb24cffc34ee898
block: row: Fix starvation tolerance values

The current starvation tolerance values increase the boot time
since high priority SW requests are delayed by regular priority requests.
In order to overcome this, increase the starvation tolerance values.

Change-Id: I9947fca9927cbd39a1d41d4bd87069df679d3103
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
msm: Move video firmware base down to the right location

Change-Id: Id80f07b2f07cf8387d9fe5ef14fde955393e827d
d2: Update defconfigs

 * Set ROW as default I/O scheduler, as it now provides a faster boot.
 * Raise default loglevel to 7 for better last_kmsg logs.

Change-Id: I8b1cb3da3f42f2aa4dedd13db7e3658c98744ef7
Revert "msm: pm-8x60: Do not default to WFI when not enabled"

This reverts commit 10bc53532071915f3a19091b8c3db39bfe404263.
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: I8c155324adfee35825181bbf7b28a52b87ca2938
CRs-fixed: 438314,457541
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
msm: pm: Add support to query cpu status

During hotplug operation primary core is required to query
cpu registers to determine whether secondary core has
successfully shutdown.

Change-Id: I9dc359e2af20f79127a74f2c087fa39614f18957
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
d2: Add sleep status device

Change-Id: Ie0a3eb1376eff7fa48c28841c47d997a54f62943