[PATCH 0/8] Nvram-to-pstore

From: Aruna Balakrishnaiah
Date: Wed Apr 10 2013 - 03:21:08 EST


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(-)

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/