crypto: lz4,lz4hc - fix decompression

The lz4 library has two functions for decompression, with slightly
different signatures and behaviour. The lz4_decompress_crypto() function
seemed to be using the one that assumes that the decompressed length is
known in advance.

This patch switches to the other decompression function and makes sure
that the length of the decompressed output is properly returned to the
caller.

The same issue was present in the lz4hc algorithm.

Coincidentally, this change also makes very basic lz4 and lz4hc
compression tests in testmgr pass.

Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Merge Upstream LZO

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	arch/arm/configs/uber_defconfig

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "Revert "lib/lzo: huge LZO decompression speedup on ARM by using unaligned access""

This reverts commit 969e6215b6fa67414c81f4cf365f74cbd6d4d877.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	lib/lzo/lzodefs.h

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
mach-msm: Do not assume debugging

* Only debug if I say so

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
lib: Do not assume Bugverbose

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
lib: Do not assume I want any of this

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
initrd: fix lz4 decompress with initrd

During testing initrd (>2G) support, find decompress/lz4 does not work
with initrd at all.

decompress_* should support:
1. inbuf[]/outbuf[] for kernel preboot.
2. inbuf[]/flush() for initramfs
3. fill()/flush() for initrd.

in the unlz4 does not handle case 3, as input len is passed as 0, and it
failed in first try.

Fix that add one extra if (fill) checking, and get out if EOF from the
fill().

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Kyungsik Lee <kyungsik.lee@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Remove Tracing

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	arch/arm/configs/uber_defconfig

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Defconfig: Remove Debugging

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>