block: deadline: initial flash storage tweaks.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Remove '+' symbol from kernel version string

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
mm.h: hardcode readahead to 1024Kb

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Added fsync on/off support.
fs: sync: enable fsync by default.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
lib/memcopy: use glibc version

the kernel's memcpy and memmove is very inefficient. But the glibc version is
quite fast, in some cases it is 10 times faster than the kernel version. So I
introduce some memory copy macros and functions of the glibc to improve the
kernel version's performance.

The strategy of the memory functions is:
1. Copy bytes until the destination pointer is aligned.
2. Copy words in unrolled loops.  If the source and destination are not
   aligned in the same way, use word memory operations, but shift and merge
   two read words before writing.
3. Copy the few remaining bytes.

Signed-off-by: Miao Xie <miaox*******>
Signed-off-by: faux123 <reioux@gmail.com>
lib/string: use glibc version

the performance of memcpy and memmove of the general version is very
inefficient, this patch improved them.

Signed-off-by: Miao Xie <miaox*******>
Signed-off-by: faux123 <reioux@gmail.com>
Merge branch 'jb3' into jb3-franco
Merge branch 'jb3-franco' into jb3
Enable pipe flag.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Make the kernel build with the same flags as mako device tree is compiled for Android.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Merge branch 'jb3' into jb3-faux
Merge branch 'jb3-franco' into jb3
Couple more flags - building with -O2 now as well.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
arch: arm: mako: increase thermal control threshold to 70
Added optimized ARM RWSEM algorithm.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
arm/crypto: Add optimized AES and SHA1 routines

Add assembler versions of AES and SHA1 for ARM platforms.  This has provided
up to a 50% improvement in IPsec/TCP throughout for tunnels using AES128/SHA1.

Platform   CPU SPeed    Endian   Before (bps)   After (bps)   Improvement

IXP425      533 MHz      big     11217042        15566294        ~38%
KS8695      166 MHz     little    3828549         5795373        ~51%

Signed-off-by: David McCullough <ucdevel@gmail.com>
Signed-off-by: faux123 <reioux@gmail.com>