powerpc/pseries/nvram: Capture oops/panic reports in ibm, oops-log partition
authorJim Keniston <jkenisto@linux.vnet.ibm.com>
Wed, 9 Feb 2011 13:00:09 +0000 (13:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 4 Mar 2011 07:19:04 +0000 (18:19 +1100)
commita5cf4b08b6a4568570c4a2a712497ec49009661c
tree8e2f83c89cd449450451bad92adeae4f96c3cfac
parent0f4ac132365e56802cbe377313491aa84086371c
powerpc/pseries/nvram: Capture oops/panic reports in ibm, oops-log partition

Create the lnx,oops-log NVRAM partition, and capture the end of the printk
buffer in it when there's an oops or panic.  If we can't create the
lnx,oops-log partition, capture the oops/panic report in ibm,rtas-log.

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