Messages in this thread | | | Subject | [PATCH 0/8] Nvram-to-pstore | From | Aruna Balakrishnaiah <> | Date | Wed, 10 Apr 2013 12:50:47 +0530 |
| |
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(-)
--
| |