Revert "Optimized ARM RWSEM algorithm"

This reverts commit 0425032b699e0c24a9a02f3298aeccf5df047e01.
Revert "enable LZ4 compression in defconfig"

This reverts commit 87c31b2c292ce6eed467044f562f2c620362b5d2.
Revert "LZ4: compression/decompression signedness mismatch (v2)"

This reverts commit ea7e2560d08f5c0aeea994be94ac04b923d87628.
Revert "lib/lz4/lz4_compress: fix macro usage error"

This reverts commit d6b42971902defea35daf80d0d85029e67dc2b29.
Revert "crypto: Add lz4 Cryptographic API"

This reverts commit 24ff22ec90c73b2a4e354ebdb7c2f2a4b8c646f4.
Revert "lib: Add lz4 compressor module"

This reverts commit 0139b38eeea80ba3821a9064af7b59017eb6870c.
Revert "arm: Add support for LZ4-compressed kernel"

This reverts commit 667ece908c7a6b5cb801c978e880aefc5a6597d7.
Revert "lib: Add support for LZ4-compressed kernel"

This reverts commit 20e79aac06524715bf0933ea48ab4072621c1acf.
Revert "decompressor: Add LZ4 decompressor module"

This reverts commit 1ee4e4483f7943f55a0638245a318e8324923121.
Revert "Revert "Optimized ARM RWSEM algorithm""

This reverts commit 9a8648430234aa46e6c549397e8a977dea396099.
fix conflicting types error for system_rev
sync synaptics_3200.c with my cm11 kernel
Revert "fix conflicting types error for system_rev"

This reverts commit bc495558ee81bf2783313cfe87da316c369f2524.
Revert "Revert "Revert "Optimized ARM RWSEM algorithm"""

This reverts commit 8bbc77593fdf58a97217a432385b4c8bb61e514e.
decompressor: Add LZ4 decompressor module

Date	Tue, 26 Feb 2013 15:24:27 +0900

This patch adds support for LZ4 decompression in the Linux Kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.

LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/

Signed-off-by: Kyungsik Lee <kyungsik.lee@lge.com>

v2:
- Clean up code
- Enable unaligned access for ARM v6 and above with
  CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
- Add lz4_decompress() for faster decompression with
  uncompressed output size

Signed-off-by: Paul Reioux <reioux@gmail.com>
lib: Add support for LZ4-compressed kernel

Date	Tue, 26 Feb 2013 15:24:28 +0900

This patch adds support for extracting LZ4-compressed kernel images,
as well as LZ4-compressed ramdisk images in the kernel boot process.

This depends on the patch below
decompressor: Add LZ4 decompressor module

Signed-off-by: Kyungsik Lee <kyungsik.lee@lge.com>

v2:
- Clean up code
- Use lz4_decompress() for LZ4-compressed kernel during boot-process

Signed-off-by: Paul Reioux <reioux@gmail.com>
arm: Add support for LZ4-compressed kernel

Date	Tue, 26 Feb 2013 15:24:29 +0900

This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below

lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module

Signed-off-by: Kyungsik Lee <kyungsik.lee@lge.com>

v2:
- Apply CFLAGS, -Os to decompress.o to improve decompress
  performance during boot-up process

Signed-off-by: Paul Reioux <reioux@gmail.com>
lib: Add lz4 compressor module

From	Chanho Min <>

This patch adds support for LZ4 compression in the Linux Kernel.
LZ4 Compression APIs for kernel are based on LZ4 implementation
by Yann Collet and changed with kernel coding style.

LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/
svn revision : r90

Two APIs are added:
lz4_compress() support basic lz4 compression whereas lz4hc_compress() support
high compression or CPU performance get lower but compression ratio get higher.
Also, we require the pre-allocated working memory with the defined size and
destination buffer must be allocated with the size of lz4_compressbound.

Signed-off-by: Chanho Min <chanho.min@lge.com>

Signed-off-by: Paul Reioux <reioux@gmail.com>
crypto: Add lz4 Cryptographic API

From	Chanho Min <>

This patch adds support for lz4 and lz4hc compression algorithm
using the lib/lz4/* codebase.
Signed-off-by: Chanho Min <chanho.min@lge.com>

Signed-off-by: Paul Reioux <reioux@gmail.com>
lib/lz4/lz4_compress: fix macro usage error

Signed-off-by: Paul Reioux <reioux@gmail.com>