cpufreq: add voltage control interfaces
(cherry picked from commit cdfaa8a867ce69e339a085051c8732f3731c9278)
(cherry picked from commit b0117c666692461a7ae878a4abd12f3e545304f6)
(cherry picked from commit 2bc251d063beffcba157da66c640ec122ed0edb7)
Use Googy cpufreq_pegasusq.c
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*******>
adapted by faux123 for 3.0.13 kernel
Signed-off-by: Andrei F <luxneb@gmail.com>
(cherry picked from commit 958cc64d2176d6fb4f2c3d75e412ce20476d723d)
(cherry picked from commit b664ea8d4644a2ba10053b9b764d57ab26c8de11)
performance: Turn CPUs online while active

Since we don't have separate active hotplugging logic aside the in-governor one in pegasusq, switching to performance governor will always just remain with whatever cores were online before the switch. This activates all available cores on governor start, and turns additional cores off when stopped.
power: neuter the cpufreq min samsung interface again
power: Samsung factory limit workaround

This avoids userspace factory limit of the CPU frequency without breaking power savings mode.
mach-midas.c: Increase USB Charging rate from 475mA to 800mA
cpufreq_lulzactiveq: add lulzactiveq governor (thanks to robertobsc@XDA)

Conflicts:

	drivers/cpufreq/Kconfig
	drivers/cpufreq/Makefile
cpufreq: add hotplug governor

Conflicts:

	drivers/cpufreq/Makefile
Fix derp - Should be lulzactiveq instead of lulzactive
cpufreq_lulzactiveq: tweaks
deconfig - Add luzlulzactiveq & hotplug governer
mmc: use really long write timeout to deal with crappy cards

Several people have noticed that crappy SD cards take much longer to
complete multiple block writes than the 300ms that Linux specifies.
Try to work around this by using a three second write timeout instead.

This is a generalized version of a patch from Chase Maupin
<Chase.Maupin@ti.com>, whose patch description said:

* With certain SD cards timeouts like the following have been seen
  due to an improper calculation of the dto value:
    mmcblk0: error -110 transferring data, sector 4126233, nr 8,
    card status 0xc00
* By removing the dto calculation and setting the timeout value
  to the maximum specified by the SD card specification part A2
  section 2.2.15 these timeouts can be avoided.
* This change has been used by beagleboard users as well as the
  Texas Instruments SDK without a negative impact.
* There are multiple discussion threads about this but the most
  relevant ones are:
    * http://talk.maemo.org/showthread.php?p=1000707#post1000707
    * http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42213.html
* Original proposal for this fix was done by Sukumar Ghoral of
  Texas Instruments
* Tested using a Texas Instruments AM335x EVM

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

Conflicts:

	drivers/mmc/core/core.c
ARM: SMP: use a timing out completion for cpu hotplug

    ARM: SMP: use a timing out completion for cpu hotplug

    Rather than open-coding the jiffy-based wait, and polling for the
    secondary CPU to come online, use a completion instead.  This
    removes the need to poll, instead we will be notified when the
    secondary CPU has initialized.

    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
block: Add Zen I/O scheduler

Similar to SIO, primarily based on no-op and deadline. Intended to be mostly FCFS. Simpler than SIO in many ways, one of them being write requests/read requests have mostly the same priority.

Conflicts:

block/Kconfig.iosched
block/Makefile
defconfig: Add Zen Schedulers
defconfig: enable sysfs vsync notifications
Add smartassv2 governor