PM / devfreq: Fix simple_ondemand crashing

Change-Id: I6df4a8e9d4d215c8ae9a749b5b183b1c38644674
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Fix show available freqs

Change-Id: Ifd6956ca4e5a6d03d925ea721afe7737dadfdb77
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Add conservative governor

A GPU governor is not rocket science. This one gets the job done pretty
smoothly while complying with devfreq framework rules.
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>

Change-Id: I47736f1486c278b0e2ecd8d5bcd1e7f0c228277b
PM: devfreq: Add some conservativeness

Change-Id: I8de155d28c2fdb41fb6627b079ea5ec655a752d4
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Always reflect a change of polling interval

Change-Id: I5071026ebf319c57bd2c2fabf673b9bc00896a52
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: conservative: Return 0 if GPU just started

Bailing out early is perfectly fine, so do not trigger an error in
update_devfreq.

Change-Id: Ie5178b690e6bc959bdae98970ab981e68809f922
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
PM: devfreq: Add sysfs nodes for devfreq governors

Change-Id: Ib0efe5ff5f5a741a9c35f9601803d0cb0d9e7d11
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: clock-krait-8974: User voltage control for msm-cpufreq device

Change-Id: Ifd237145d8b497a9a14da3f24c2dcb7cdc1f488d
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
cpufreq: enable sibling cpu policy sharing

disable Qualcomm's cpu policy restore (conflicts with sibling sharing)

Change-Id: I0e41bd16c2f4216d0f2d26503d601ad0e445e9bd
Signed-off-by: Paul Reioux <reioux@gmail.com>
arch/arm/boot/dts: adjust the regulator settings to support OC

Change-Id: Ia44ebaf57db0061bdebfae7f7e7688cd141b52db
arch/arm/Kconfig: enable unaligned capability for ARM

Change-Id: I7d64ccd1eee4cd020ee46ec960c0e97f46d68a1a
Signed-off-by: faux123 <reioux@gmail.com>
ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above

Modern GCC can generate code which makes use of the CPU's native
unaligned memory access capabilities.  This is useful for the C
decompressor implementations used for unpacking compressed kernels.

This patch disables alignment faults and enables the v6 unaligned
access model on CPUs which support these features (i.e., v6 and
later), allowing full unaligned access support for C code in the
decompressor.

The decompressor C code must not be built to assume that unaligned
access works if support for v5 or older platforms is included in
the kernel.

For correct code generation, C decompressor code must always use
the get_unaligned and put_unaligned accessors when dealing with
unaligned pointers, regardless of this patch.

Change-Id: Ieb20352f76efe3272920e73e5f38f2ef7f45e117
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Optimized ARM RWSEM algorithm

RWSEM implementation for ARM using atomic functions.
Heavily based on arch/sh/include/asm/rwsem.h

Change-Id: I0e836157618a9757b5fe8ff1c799524b2dfda83b
Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>