Revert "zram: update zram per 5a7bbad27a410350e64a2d7f5ec18fc73836c14f update"

This reverts commit 11ad0940916164e47dee033ea6d99b245b19bd9d.
defconfig: enable swap, snappy and zram
mm: code fix up from HTC vivid ICS source
net/wireless: code fix up from HTC vivid ICS source
drivers/usb/gadget: code fix up from HTC vivid ICS source
drivers/regulator: code fix up from HTC vivid ICS source
drivers/bluetooth: add bluetooth power control from HTC vivid ICS source
drivers/leds: code fix up from HTC vivid ICS source
mm: fix compilation error due to mismatch declarations
defconfig: experimental settting tweaks
msm: add msm page migrate support for msm mem sleep functions
Revert "board/pyramid: enable dynamic LED brightness"

This reverts commit 5236677cb7b481d0b09cb7bff845278461c163ff.
defconfig: playing with some settings
init: apply SCHED_FIFO to kthreadd

Hotplug (cpu_up) latency currently suffers because the system
must wait for kthreadd to spawn certain kthreads (such as the
migration and workqueue kthreads) and for them to run for
the first time. Setting SCHED_FIFO will cause kthreadd to run
immediately. The newly created kthreads will inherit the scheduler
policy and run immediately also.

The scheduling policy of newly created kthreads is already set
back to SCHED_NORMAL in kthread_create_on_node, so nothing needs
to be done to restore normal scheduling behavior for the kthreads
once spawned.

Change-Id: I236ceb29845cf58ea1ea886fc3210ccaab2dd792
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
kernel: reduce sleep duration in wait_task_inactive

Sleeping for an entire tick adds unnecessary latency to
hotplugging a cpu (cpu_up).

Change-Id: Iab323a79f4048bc9101ecfd368e0f275827ed4ab
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
msm: msm_dcvs: Add msm_dcvs manager

The msm_dcvs manager works with the DCVS algorithm in TrustZone by
taking regular idle pulse inputs and feeding back the frequency to
the CPU and GPU cores.

Core frequency is effected on the CPU by using a governor for the
CPUFreq framework and on the GPU using the KGSL driver.

Change-Id: Icef8433f96376698fa0c5c3e4e765d5043734080
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
msm: scm: Add a 4 input 2 output atomic command

Some SCM users need a two input four output command. Add support
for it. While we're here update the service ids.

Change-Id: I97a3b023175113a300d192aae5bbf24349a287b7
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
modified by faux123
msm: dcvs_idle: Provide CPU core idle information to msm_dcvs

The msm_dcvs algorithm takes in core idle information and outputs the
frequency for the core to run at. This driver registers with the
CPU_PM interface to get the idle enter and idle exit notification and
passes this to the msm_dcvs driver for every CPU core.

Change-Id: I2b7ddbae2ac00f7c129d307022f8b1b928e2956e
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
adapted and modified for 8660 targets by faux123
msm: dcvs: Add 'msm-dcvs' cpufreq governor

The 'msm-dcvs' CPUFreq governor interfaces the msm_dcvs driver frequency
change requests with the CPUFreq framework.

Change-Id: I950e5b09f568412760d9b022f59f208c6bcb54ce
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
adapted and modified for 8660 targets by faux123
FS/EXT4: make e2fsck recover a compile time option

from HTC vivid ICS source