staging: backport from 2.6.35 [adridu59]
Ported KGSL 1.1 [tkymgr][adridu59]
GPU overclock [experimental] [DooMLorD]
ARM: 6528/1: Use CTR for the I-cache line size on ARMv7 [adridu59]

The current implementation of the v7_coherent_*_range function assumes
that the D and I cache lines have the same size, which is incorrect
architecturally. This patch adds the icache_line_size macro which reads
the CTR register. The main loop in v7_coherent_*_range is split in two
independent loops or the D and I caches. This also has the performance
advantage that the DSB is moved outside the main loop.

Change-Id: Ibba459ab2b9f0310cdbe02ce9adaedd396bb2175
CRs-fixed: 294396
Reported-by: Kevin Sapp <ksapp@quicinc.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
[smuckle@codeaurora.org: added change to Sc45nm workaround]
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Signed-off-by: Jin Hong <jinh@codeaurora.org>
SIO scheduler 2012 Update [adridu59]
staging: update zram driver partial backport from 3.2
added optimized crc32 lib [faux123]
net: add Stochastic Fair Blue [adridu59]
fix ipv6/xfrm6_tunnel: missing middle operand [snq-]
bootmem: Add alloc_bootmem_align() [LeeDroid-]
Add an alloc_bootmem_align() interface to allocate bootmem with
specified alignment.  This is necessary to be able to allocate the
xsave area in a subsequent patch.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <20101116212441.977574826@sbsiddha-MOBL3.sc.intel.com>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/vmscan.c: fix mapping use after free [faux123]

We need lock_page_nosync() here because we have no reference to the
mapping when taking the page lock.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Reviewed-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ARM: fix rcu stalls on SMP platforms [mathkid95]

We can stall RCU processing on SMP platforms if a CPU sits in its idle
loop for a long time.  This happens because we don't call irq_enter()
and irq_exit() around generic_smp_call_function_interrupt() and
friends.  Add the necessary calls, and remove the one from within
ipi_timer(), so that they're all in a common place.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
[PATCH] i2c: Fix section mismatch

The function i2c_ssbi_probe is referenced outside of the __init section.
This is fixed by calling platform_driver_probe instead of
platform_driver_register since this device is not hotplugable.

Change-Id: I9f217ce230b52d2037a49ba49bc7342ceb076be5
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: kgsl: Cleanup function returns [LeeDroid]
msm: kgsl: Avoid null address to pass in kgsl_mmu_map [LeeDroid-]

author	Wei Zou <wzou@codeaurora.org>
msm: kgsl: Don't make assumptions about VMA regions [LeeDroid-]

We cannot assume that a VMA region created as a result of an mmap
belongs exclusively to us.  Allow the user to pass the size of
the vmalloc region through the 'gpuaddr' member of the ioctl
struct and do strict checking on the returned vma to make sure
it is valid.

Wei Zou <wzou@codeaurora.org>
Modded by faux123