]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/nvram: Add compression to fit more oops output into NVRAM
authorJim Keniston <jkenisto@us.ibm.com>
Mon, 25 Jul 2011 07:54:50 +0000 (07:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Sep 2011 23:19:46 +0000 (09:19 +1000)
commit65191ac8fdcf3293a78dcfeaa3da84e190ad21d3
treee524f18276205cecb1552baca95cb5dc7d981b2b
parentfd45156e5955a1a0b1d07fff4b6a394baf0b6343
powerpc/nvram: Add compression to fit more oops output into NVRAM

Capture more than twice as much text from the printk buffer, and
compress it to fit it in the lnx,oops-log NVRAM partition.  You
can view the compressed text using the new (as of July 20) --unzip
option of the nvram command in the powerpc-utils package.

[BenH: Added select of ZLIB_DEFLATE]

Signed-off-by: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/rtas.h
arch/powerpc/platforms/pseries/Kconfig
arch/powerpc/platforms/pseries/nvram.c