msm: hotplug(squashed)

msm: hotplug: Get CPU load statistics

msm: hotplug: Print messages only with debug flag set

msm: hotplug: Stop the hotplug workqueue during suspend

msm: hotplug: Limit CPU freq to 702MHz dring suspend

msm: hotplug: Add spin lock to load stats function

msm: hotplug: Add simple hotplug logic

msm: hotplug: Add touchboost to hotplug function

msm: hotplug: Increase hotplug update rate

msm: hotplug: Add minimum uptime after hotplug

msm: hotplug: Handle cpu on- and offlining

msm: hotplug: Set down lock atomically

msm: hotplug: Add sysfs

msm: hotplug: Set target number of cpus based on current load

msm: hotplug: Offline/online cpus upon early suspend/late resume

msm: hotplug: Make history size adjustable from userspace

msm_rq_stats: Fix compile Error with the new hotplug driver (thanks fluxi for the hint)

msm: kgsl: Fix policy sysfs implementation

When switching to another governor, the pwrscale kobject will be deleted
and sysfs_create_group fails due to the uninitialized kobj. This patch
deletes the kobject before attaching the file group.

[   36.270044] [<c0134304>] (__kmalloc_track_caller+0x80/0x194) from [<c010a6d0>] (kstrdup+0x2c/0x54)
[   36.270166] [<c010a6d0>] (kstrdup+0x2c/0x54) from [<c019cc98>] (create_dir+0x24/0x204)
[   36.270257] [<c019cc98>] (create_dir+0x24/0x204) from [<c019d154>] (sysfs_create_subdir+0x24/0x2c)
[   36.270318] [<c019d154>] (sysfs_create_subdir+0x24/0x2c) from [<c019e878>] (sysfs_create_group+0x40/0x1d8)
[   36.270441] [<c019e878>] (sysfs_create_group+0x40/0x1d8) from [<c0389e40>] (kgsl_pwrscale_policy_add_files+0x44/0x68)
[   36.270563] [<c0389e40>] (kgsl_pwrscale_policy_add_files+0x44/0x68) from [<c038e714>] (conservative_init+0xc/0x18)
[   36.270654] [<c038e714>] (conservative_init+0xc/0x18) from [<c0389c6c>] (pwrscale_policy_store+0xcc/0x154)
[   36.270776] [<c0389c6c>] (pwrscale_policy_store+0xcc/0x154) from [<c0389a90>] (pwrscale_sysfs_store+0x20/0x2c)
[   36.270868] [<c0389a90>] (pwrscale_sysfs_store+0x20/0x2c) from [<c019b2a4>] (sysfs_write_file+0x168/0x198)
[   36.270990] [<c019b2a4>] (sysfs_write_file+0x168/0x198) from [<c01382c4>] (vfs_write+0x9c/0x170)
[   36.271112] [<c01382c4>] (vfs_write+0x9c/0x170) from [<c0138440>] (sys_write+0x38/0x70)
[   36.271173] [<c0138440>] (sys_write+0x38/0x70) from [<c000f000>] (ret_fast_syscall+0x0/0x30)
[   36.271265] Code: e7925001 e3550000 0a000033 e5942014 (e795a002)
[   36.271661] ---[ end trace ef0d8b9c8acc7bbb ]---

msm: hotplug: Fix typo to satisfy compiler

lge_touch_core: Simpler method of boosting the cpu frequency on touch

msm: hotplug: Make it compatible with "lge_boosted"

msm: hotplug: Add options for number of min/max/boost cpus (thx myfluxi)

msm: hotplug: Remove spinlock in load stats

It's too expensive and not nessecary. (thx myfluxi)

intellidemand: Activate Touch Boost

msm_hotplug: Add and Enable hotplug

Signed-off-by: Aldrin <skrillization@gmail.com>
msm_hotplug: Update with latest sources

Signed-off-by: Aldrin <skrillization@gmail.com>
defconfig
msm_sleeper(squashed)

enable msm_sleeper

Signed-off-by: Aldrin <skrillization@gmail.com>
defconfig:F2FS and TCP Additions
Max screen off frequency to 702000

Signed-off-by: Aldrin <skrillization@gmail.com>
Tweak the Deadline I/O Scheduler
Set this as default for optimal performance as well.

Signed-off-by: Aldrin <skrillization@gmail.com>
makefile tweaks

Signed-off-by: Aldrin <skrillization@gmail.com>
earlysuspend: speedup late resume (faster wakeup of the device)

Thanx to _2bad4u_ for the hint and dsc-team's repo I got the code from (https://github.com/dsc-team/dsc-team-kernel-project)

Signed-off-by: Aldrin <skrillization@gmail.com>
mmc: decrease wakelock timeout

Signed-off-by: Aldrin <skrillization@gmail.com>
suspend: shorten time to enter sleep state

Signed-off-by: Aldrin <skrillization@gmail.com>

Conflicts:

	kernel/power/process.c

Signed-off-by: Luis Cruz <ljc2491@gmail.com>

Conflicts:

	kernel/power/process.c

Signed-off-by: Aldrin <skrillization@gmail.com>
SPEEDUP_KEYRESUME
return_address.c: Fix warning - TODO: return_address should use unwind tables

Signed-off-by: Aldrin <skrillization@gmail.com>
Min 192 Max 1512 CPU Freq

Signed-off-by: Aldrin <skrillization@gmail.com>
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 mako and flo, it is based of my grouper port, which is
  based of Asus TF201 patche ported by Jens Andersen <jens.andersen@gmail.com>

  I've moved atags copying from guest to the host kernel, which means there
  is no need to patch the guest kernel, assuming the --mem-min in kexec call
  is within the first 256MB of System RAM, otherwise it will take a long time
  to load. I've also fixed /proc/atags entry, which would give the kexec-tools
  userspace binary only the first 1024 bytes of atags,
  see arch/arm/kernel/atags.c for more details.

  Other than that, memory-reservation code for the hardboot page and
  some assembler to do the watchdog reset on MSM chip are new for this device.

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: Aldrin <skrillization@gmail.com>
Added BLX

Fix BLX error

Signed-off-by: Aldrin <skrillization@gmail.com>
Replace Simple GPU governor by Interactive - Thx to Francisco Franco

Signed-off-by: Aldrin <skrillization@gmail.com>

Conflicts:
	drivers/gpu/msm/Kconfig
	drivers/gpu/msm/kgsl_pwrscale_trustzone.c

Signed-off-by: Aldrin <skrillization@gmail.com>