Revert "Input: Send events one packet at a time"

This reverts commit ad57e41390b04a842b95fbd2c66d2ad377332291.
Revert "[PATCH] lib: Improve the performance of string.c"

This reverts commit 1391a6e460ad1b568465ddfc8644fe0e183b5e0b.
Revert "Add memcopy.h"

This reverts commit 88b9fdb409b561bbbc54bc6fb3e924baed3870a9.
block/sioplus: sync_read_expire = 312.5ms, writes_starved = 2
ondemandplus: add and enable io_is_busy=2 option, adjust up_threshold and down_differential
Linux 3.0.91
arch/kconfig: enable HAVE_EFFICIENT_UNALIGNED_ACCESS
defconfig: enable HAVE_EFFICIENT_UNALIGNED_ACCESS
Revert "[IVAHD] Disable HWSUP mode and save power"

This reverts commit cabe03cc1aebd0ce86137dbd08286edac386b1e3.
[PATCH 2/3] Optimize copy_page for modern ARM platforms

The existing implementation of copy_page for ARM appears to be
optimized for older platforms. Benchmark testing in a sandbox
environment shows suboptimal performance on modern platforms
like armv6 and armv7, with speed-ups ranging from 10% (Cortex A8)
to 80% (armv6 used in Raspberry Pi) being achievable.

This commit optimizes copy_page and introduces the new compile-time
constant PREFETCH_DISTANCE, defined in cache.h, which when
multiplied by L1_CACHE_BYTES is equal to the offset used for
prefetches performed with the PLD instruction. For platforms where
L1_CACHE_BYTES is 32 (armv5 and armv6), copy_page processes 32 bytes
at a time while doing one prefetch per iteration, while for armv7
(with L1_CACHE_BYTES equal to 64), 64 bytes are processed at at time
with one prefetch per iteration. When no preload instruction is
available (platforms earlier than armv5), no preload instructions
are generated and 32 bytes are processed at at time.

To facilitate specifying instructions for architectures with no
preload instruction, the NO_PLD macro is added to assembler.h,
augmenting the PLD macro.

Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>
Makefile: change build flags
lib: Sparc's strncpy_from_user is generic enough, move under lib/

To use this, an architecture simply needs to:

1) Provide a user_addr_max() implementation via asm/uaccess.h

2) Add "select GENERIC_STRNCPY_FROM_USER" to their arch Kcnfig

3) Remove the existing strncpy_from_user() implementation and symbol
   exports their architecture had.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: David Howells <dhowells@redhat.com>

Conflicts:
	arch/sparc/Kconfig
	arch/sparc/lib/usercopy.c
	lib/Makefile

boype:
  - backport from 3.6 kernel
  - sparc implementation was left out
  - add #define REPEAT_BYTE(x)  ((~0ul / 0xff) * (x)) to
    include/linux/kernel.h
lib: add generic strnlen_user() function

This adds a new generic optimized strnlen_user() function that uses the
<asm/word-at-a-time.h> infrastructure to portably do efficient string
handling.

In many ways, strnlen is much simpler than strncpy, and in particular we
can always pre-align the words we load from memory.  That means that all
the worries about alignment etc are a non-issue, so this one can easily
be used on any architecture.  You obviously do have to do the
appropriate word-at-a-time.h macros.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

boype:
  - line 2: change #include <linux/export.h> to #include <linux/module.h>
ARM: 7449/1: use generic strnlen_user and strncpy_from_user functions

This patch implements the word-at-a-time interface for ARM using the
same algorithm as x86. We use the fls macro from ARMv5 onwards, where
we have a clz instruction available which saves us a mov instruction
when targetting Thumb-2. For older CPUs, we use the magic 0x0ff0001
constant. Big-endian configurations make use of the implementation from
asm-generic.

With this implemented, we can replace our byte-at-a-time strnlen_user
and strncpy_from_user functions with the optimised generic versions.

Reviewed-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Conflicts:
	arch/arm/Kconfig
Revert "OMAPDSS: DISPC: Use FIR filters other than M19"

This reverts commit b0967fe2b923b25927ef26dadd05e2052be4095c.
Revert "OMAP4: DSS: Implement workaround for Errata ID:i733."

This reverts commit 0f971cd5d9415de99c0929cfb167aee17b5816ac.
Linux 3.0.92

boype: left out commit:
  ARM: 7080/1: l2x0: make sure I&D are not locked down on init
... because it conflicted with a merge from the omap tree:
  http://git.omapzoom.org/?p=kernel/omap.git;a=commit;h=bc2e7067af4c1cd074aaec71c2982e2265f7f169
Fancy Kernel r39