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)
commit6c493685f1b209dd4ae41eb52c818cf12da20def
treee524f18276205cecb1552baca95cb5dc7d981b2b
parent7392769365f32c82340f184f93408b12dc3da4dc
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