BUILD: update to 2014.08 Linaro 4.9.2 release
Optimized for Cortex-a15 by Christopher83

Signed-off-by: poondog <markj338@gmail.com>
BUILD: v051

Signed-off-by: poondog <markj338@gmail.com>
arch:arm: Fix Frame pointer and Arm Unwind Warnings

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Signed-off-by: poondog <markj338@gmail.com>
net: Fix Warnings

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Signed-off-by: poondog <markj338@gmail.com>
lib: cpu_rmap: avoid flushing all workqueues

In some cases, free_irq_cpu_rmap() is called while holding a lock (eg
rtnl).  This can lead to deadlocks, because it invokes
flush_scheduled_work() which ends up waiting for whole system workqueue
to flush, but some pending works might try to acquire the lock we are
already holding.

This commit uses reference-counting to replace
irq_run_affinity_notifiers().  It also removes
irq_run_affinity_notifiers() altogether.

[akpm@linux-foundation.org: eliminate free_cpu_rmap, rename cpu_rmap_reclaim() to cpu_rmap_release(), propagate kref_put() retval from cpu_rmap_put()]
Signed-off-by: David Decotigny <decot@googlers.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Signed-off-by: poondog <markj338@gmail.com>
CHROMIUM: clocksource: allow clocksources to be selected earlier during boot

Global and per-CPU timers ought to be initialized once SMP initialization
is complete.  Although the clocksources associated with these timers may
not be registered until later in the boot process, they should be ready
to go once registered.  We'd like to stop using the super low-resolution
boot clocksource (jiffies) as soon as possible since devices may rely on
accurate timekeeping while being brought up during boot, so move
clocksource_done_booting() to arch_initcall time so that we can switch
to a higher-resolution clocksrouce earlier in the boot process.

TEST=Pit and Lumpy both still boot reliably.  Boot time on Pit improves
considerably:
Before: [    3.032967] VFS: Mounted root ...
After:  [    1.855936] VFS: Mounted root ...
Lumpy boot time improves very slightly:
Before: [    1.786347] VFS: Mounted root ...
After:  [    1.754297] VFS: Mounted root ...

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Signed-off-by: poondog <markj338@gmail.com>
BOARD: drop i2c gsbi1 clock rate even lower Based on @zeroblade1984 research

Signed-off-by: poondog <markj338@gmail.com>
MSM: remove some debug

referenced this commit
https://github.com/neobuddy89/hammerhead_kernel_caf/commit/ce761a976e7a995b907dc4a4616a9e889d818838

Signed-off-by: poondog <markj338@gmail.com>
DEBUG: disable some more debug referenced here https://github.com/franciscofranco/hammerhead/commit/f0a852f51c0530bb02a9eb082cc1ea3a95517c39

Signed-off-by: poondog <markj338@gmail.com>
PM: enable all sleep states. Tests have shown that this will increase battery life particularly with screen off. Tests conducted with users. Thanks to those who contributed

Signed-off-by: poondog <markj338@gmail.com>
DEFCONFIG: default tcp illinois

Signed-off-by: poondog <markj338@gmail.com>
cpupower: Remove mc and smt power aware scheduler info/settings

These kernel interfaces got removed by:

commit 8e7fbcbc22c12414bcc9dfdd683637f58fb32759
Author: Peter Zijlstra <peterz@infradead.org>
Date:   Mon Jan 9 11:28:35 2012 +0100

    sched: Remove stale power aware scheduling remnants and dysfunctional knobs

No need to further keep them as userspace configurations.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: poondog <markj338@gmail.com>
NET: allow to set ILLINOIS as default TCP algo

Signed-off-by: poondog <markj338@gmail.com>
DEFCONFIG: remove SCHED_MC and SCHED_SMT, they are depreciated

Signed-off-by: poondog <markj338@gmail.com>
TIME: fix compiler warning

Signed-off-by: poondog <markj338@gmail.com>
MISC: push HTC source m7ul-3.4.10-g40b189c 6.09.401.5 WWE base Seems all HTC did was delete more comments lel

Signed-off-by: poondog <markj338@gmail.com>
USB Fast Charge

Signed-off-by: poondog <markj338@gmail.com>
LIB: remove DEBUG_BUGVERBOSE

Signed-off-by: poondog <markj338@gmail.com>
BOARD: cleanup some leftover unneeded stuff from HTC

Signed-off-by: poondog <markj338@gmail.com>
BOARD: missed this in cleanup

Signed-off-by: poondog <markj338@gmail.com>