ARM: cacheflush: don't round address range up to nearest page

The flush_cache_user_range macro takes a pair of addresses describing
the start and end of the virtual address range to flush. Due to an
accidental oversight when flush_cache_range_user was introduced, the
address range was rounded up so that the start and end addresses were
page-aligned.

For historical reference, the interesting commits in history.git are:

10eacf1775e1 ("[ARM] Clean up ARM cache handling interfaces (part 1)")
71432e79b76b ("[ARM] Add flush_cache_user_page() for sys_cacheflush()")

This patch removes the alignment code, reducing the amount of flushing
required for ranges that are not an exact multiple of PAGE_SIZE.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Jonathan Austin <jonathan.austin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
random: entropy tweaks are all the rage nowadays

use nonblocking for all.  Read this web page:
http://lwn.net/Articles/489734/

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
random: prevent add_input from doing anything

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
timer: optimize apply_slack()

__fls(mask) is equivalent to find_last_bit(&mask, BITS_PER_LONG), but cheaper.
find_last_bit was showing up high on the list when I was profiling for stalls
on icache misses on a system with very small cache size (MIPS).

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SCHEDULER: Autogroup patch group by current user android UID instead of task ID
sched_features: Disable GENTLE_FAIR_SLEEPERS

Change-Id: Iae9cf359c6f1bc0a7b289a2eedf05218e545954b
htc_battery: Update battery call

Signed-off-by: Luis Cruz <ljc2491@gmail.com>
msm: cpufreq: Break out early if target frequency is the same as the current

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:

	arch/arm/mach-msm/cpufreq.c

Signed-off-by: Luis Cruz <ljc2491@gmail.com>
7x30-smd: cb_list_lock is now a spinlock

Most (if not all) files in */mach-msm/7x30-smd rely on this header.
Everything using cb_list_lock has been updated for what should be
a spinlock, yet this remained a mutex.

Signed-off-by: Luis Cruz <ljc2491@gmail.com>
msm: hotplug: Support cpu hotplug in no PM cases

Add support for hotplug operations to take secondary
CPUs online/offline when CONFIG_PM is turned off.

Change-Id: Iae591f7307a3ea574e3f512714a08da23bcf069b
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
arch: arm: mach-msm: remove htc_drm

Change-Id: I0064ac4e2f0f05fd77512fb6dc3885b26e8f7137
arch: arm: mach-msm: remove radio_feedback
msm: pm: Remove idle wakelock checking

Now that all users of idle wakelocks are migrated to pm_qos we
can remove the idle wakelock checks from the pm code.

Change-Id: I19cca1d0b28a2943178b9d9eade2b594fd94a139
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
glacier: remove pm8xxx config

Change-Id: Ia8312943fc3764ccc6f3aa9163cf48c78fe0b674