Max readahead to 512
Powersuspend

kernel/power/powersuspend: default to userspace for now

Signed-off-by: Paul Reioux <reioux@gmail.com>
kernel/power/powersuspend: add back userpace control w/ default kernel control

make kernel / userspace mode switchable

Signed-off-by: Paul Reioux <reioux@gmail.com>
kernel/power/powersuspend: remove userspace dependency from powersuspend

make powersuspend not depend on a userspace initiator anymore, but use a hook
in autosleep instead.

Signed-off-by: Paul Reioux <reioux@gmail.com>
powersuspend: new PM kernel driver for Android w/o early_suspend

Android early_suspend/late_resume PM kernel driver framework has been
deprecated by Google. This new powersuspend PM kernel driver is a replacement
for it and existing early_suspend drivers can be easily adapted to use this
new replacement driver

Signed-off-by: Paul Reioux <reioux@gmail.com>

powersuspend: fix logci derps :p

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	kernel/power/Kconfig

Conflicts:
	kernel/power/Kconfig
Intellidemand 4.4

Conflicts:
	arch/arm/mach-msm/cpufreq.c
mach-msm: cpufreq: remove deprecated early_suspend drivers

--pretains to intellidemand

Signed-off-by: Paul Reioux <reioux@gmail.com>
msm_cpu_freq_limit
CPU OVERCLOCKING: Initial CPU Overclocking for Snapdragon 800 Socs
Intellidemand 5.0
Added CPUfreq governor 'wheatley'

Thanks to r_data for taking the time to fix all the build errors for the Nexus 4.
cpufreq: Add OndemandPLUS Gov

Signed-off-by: houst0nn <houstonn@gmail.com>

Conflicts:
	drivers/cpufreq/Kconfig
	include/linux/cpufreq.h

Conflicts:
	arch/arm/configs/d800_defconfig
	arch/arm/configs/d801_defconfig
	arch/arm/configs/d802_defconfig
	arch/arm/configs/d803_defconfig
	arch/arm/configs/ls980_defconfig
	arch/arm/configs/vs980_defconfig
exFAT support

Signed-off-by: flar2 <asegaert@gmail.com>
kernel: Allow exfat module load without hassle

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
intelli_plug: intelligent hotplug cpu driver with eco mode

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: update
Add /dev/frandom
USB force fast charging

-Use base from Chad Froebel <chadfroebel@gmail.com> so we continue to
use the same generic sysfs mechanism

-Referenced franco's git for drivers/usb/otg/msm_otg.c changes
https://github.com/franciscofranco/mako/commit/5a8a4c8e23c7e1df39c740b9ce1d5dda20b0ede3

Off by default

Turn on:
echo 1 > /sys/kernel/fast_charge/force_fast_charge

Turn off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-msm/Makefile
PORT: Battery Life eXtender (BLX)

port of Ezekeel's BLX mod to the G2.

BLX: Set default limit to 98

See this thread for more information: http://forum.xda-developers.com/showthread.php?t=1257497

Let's keep the same sysfs implementation so that apps, such as Trickster MOD, can support this.

Signed-off-by: Andre Saddler <dresadd09691@gmail.com>

Conflicts:
	drivers/misc/Kconfig
	drivers/misc/Makefile
avg_nr_running fix for intelliplug

Conflicts:
	kernel/sched/sched.h
exp: intellidemand 5.0 fixups

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	drivers/cpufreq/cpufreq_intellidemand.c
msm: kgsl: show current power level for 8974 SOCs.

since 8974 uses duplicate frequencies in its table, it's not possible to tell
which of the duplicates is actually in use

Signed-off-by: Paul Reioux <reioux@gmail.com>
lib/memcopy: use glibc version

the kernel's memcpy and memmove is very inefficient. But the glibc version is
quite fast, in some cases it is 10 times faster than the kernel version. So I
introduce some memory copy macros and functions of the glibc to improve the
kernel version's performance.

The strategy of the memory functions is:
1. Copy bytes until the destination pointer is aligned.
2. Copy words in unrolled loops.  If the source and destination are not
   aligned in the same way, use word memory operations, but shift and merge
   two read words before writing.
3. Copy the few remaining bytes.

Signed-off-by: Miao Xie <miaox*******>
Signed-off-by: faux123 <reioux@gmail.com>