[PATCH 0/8] Nvram-to-pstore
Aruna Balakrishnaiah
aruna at linux.vnet.ibm.com
Wed Apr 10 17:20:47 EST 2013
Currently the kernel provides the contents of p-series NVRAM only as a
simple stream of bytes via /dev/nvram, which must be interpreted in user
space by the nvram command in the powerpc-utils package. This patch set
exploits the pstore subsystem to expose each partition in NVRAM as a
separate file in /dev/pstore. For instance Oops messages will stored in a
file named [dmesg-nvram-2].
---
Aruna Balakrishnaiah (8):
Remove syslog prefix in uncompressed oops text
Add version and timestamp to oops header
Introduce generic read function to read nvram-partitions
Read/Write oops nvram partition via pstore
Read rtas partition via pstore
Distinguish between a os-partition and non-os partition
Read of-config partition via pstore
Read common partition via pstore
arch/powerpc/platforms/pseries/nvram.c | 329 ++++++++++++++++++++++++++++----
fs/pstore/inode.c | 9 +
include/linux/pstore.h | 4
3 files changed, 304 insertions(+), 38 deletions(-)
--
More information about the Linuxppc-dev
mailing list