Implement kexec-hardboot

"Allows hard booting (i.e., with a full hardware reboot) to a kernel
previously loaded in memory by kexec.  This works around the problem of
soft-booted kernel hangs due to improper device shutdown and/or
reinitialization."
More info in /arch/arm/Kconfig.

Original author: Mike Kasick <mike@kasick.org>

Vojtech Bocek <vbocek@gmail.com>:
  I've ported it to hammerhead, it is based of my mako/grouper port, which is
  based of Asus TF201 patch ported by Jens Andersen <jens.andersen@gmail.com>

  Hammerhead is the first device I've ported this patch to which uses
  device tree binary instead of atags. It is also rather picky - its
  bootloader erases first 128MB of RAM on reboot, so following hacks had
  to be applied:
  * Copy dtb to location passed in r2 before jumping to kexecd' kernel,
    the kernel would just freeze when I left dtb above 128MB of RAM.
  * Copy kexecd' kernel to location in the first 128MB before jumping to it,
    the decompressor operates very slowly if the kernel is above the cached
    area, copying it lower and decompressing it afterwards is much faster.

  Same as my mako/flo patches, the guest kernel does not require any
  modifications, kexec-hardboot is equivalent to standard kexec.

  To support dtb, following commit was backported from the mainline:
    commit 4cabd1d9625c7d88acd143f4021fbef75394f154
    Author: Matthew Leach <matthew.leach@arm.com>
    Date:   Fri Sep 21 18:56:02 2012 +0100

      ARM: 7539/1: kexec: scan for dtb magic in segments

      This patch allows a dtb to be passed to a new kernel using the kexec
      mechinism.

      When loading segments from userspace, scan each segment's first four
      bytes for the dtb magic. If this is found set the kexec_boot_atags
      parameter to the relocate_kernel code to the phyical address of this
      segment.

  and fixes of this commit:
    c564df4db85aac8d1d65a56176a0a25f46138064
    2456f44dd7a9aaffc2cd21a13f78198b3d94da08

ayysir <dresadd09691@gmail.com>:
  kexec: use mem_text_write_kernel_word to set reboot_code_buffer args
  in order to avoid protection faults (writes to read-only
  kernel memory) when CONFIG_STRICT_MEMORY_RWX is enabled.

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Rebuild with new scriptset.
This is not the commit you are looking for. Move along, move along.

The only thing it does is triggering a rebuild with the new scripts.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
%COPY_AND_REBUILD_WITH_NEW_PREBUILTS%
defconfig: update for kexec

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Merge branch 'exp'
Initial Sanity hammerhead_defconfig checkin

Change-Id: I2ef484f5bdc49fe418adefcda7a15580265e1f58
lower thermal values

Change-Id: Id53dcacb6a8049b68c28653c210b61b95d230589
do not unroll loop on kernel

Change-Id: I52bcc1fa5c4ecd8a1e78f804567213d43f446363
Linux 3.4.0 -> 3.4.71

Conflicts:
	arch/x86/kernel/cpu/scattered.c

Change-Id: I9cba6e30632b606a943fb31aece2362d08548878
Linux 3.4.72

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
Linux 3.4.73

Signed-off-by: LaboDJ <jacopolabardi@gmail.com>
removed some debug options

Change-Id: I6552396a0a722284794074eb1690f1b5ef2e9359
fixed build warnings

Change-Id: Iac3701a93dcb33d040186cade9cfc2b1f2216e22
Revert "Linux 3.4.73"

This reverts commit c5bfd4f0447ebd04fb774269943de2504032293d.
Revert "Linux 3.4.72"

This reverts commit aa450450914f5eb0bd770642bf3cde1fd64e1e69.
3.4.72

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
3.4.73

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
3.4.74

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
fix ping for 3.4.73

Change-Id: I6bba7bc8e72b1685eb9084cb614e2c73ec2f3c02
3.4.75

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: mdss: Enable solid fill on pipe

Add support to enable solid fill on pipe with an option to
configure fill-color by userspace. This support does not confine
to background pipe and can be used to enable solid fill on any source
surface processing pipes irrespective of the z-order.
This support can be used in requirements involving constant
color layers.

Change-Id: Iae3c2968ca2f2f1be161e9c2f857641ffbb859e5
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>