Nvram-to-pstore
Get series with b4
b4 am 20130605184756.25794.43872.stgit@aruna-ThinkPad-T420Versions newest first · linked by author and title
- v4 Latest8 patches 4 repliesIn review
- v38 patches 10 repliesSuperseded
- v28 patches 4 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 8 patches | 13 replies | Superseded |
Changes in v4 from the cover letter
- Change filename prefix for of-config and common partition
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | powerpc/pseries: Remove syslog prefix in uncompressed oops textarch/ | +1 | 0 replies | |
| 2/8 | powerpc/pseries: Add version and timestamp to oops headerarch/ | +38 | 0 replies | |
| 3/8 | powerpc/pseries: Introduce generic read function to read nvram-partitionsarch/ | +22 | 0 replies | |
| 4/8 | powerpc/pseries: Read/Write oops nvram partition via pstorearch/ | +157 | 0 replies | |
| 5/8 | powerpc/pseries: Read rtas partition via pstorearch/ fs/ include/ | +31 | 0 replies | |
| 6/8 | powerpc/pseries: Distinguish between a os-partition and non-os partitionarch/ | +5 | 0 replies | |
| 7/8 | powerpc/pseries: Read of-config partition via pstorearch/ fs/ include/ | +50 | 0 replies | |
| 8/8 | powerpc/pseries: Read common partition via pstorearch/ fs/ include/ | +20 | 0 replies |
Reviews trailers per patch
7 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Jim Keniston |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/8] Nvram-to-pstore
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 be stored in a file named [dmesg-nvram-2].
Changes from v3:
- Change filename prefix for of-config and common partition
Changes from v2:
- Fix renaming of pstore type ids in nvram.c
Changes from v1:
- Reduce #ifdefs by and remove forward declarations of pstore callbacks
- Handle return value of nvram_write_os_partition
- Remove empty pstore callbacks and register pstore only when pstore is configured
---
Aruna Balakrishnaiah (8):
powerpc/pseries: Remove syslog prefix in uncompressed oops text powerpc/pseries: Add version and timestamp to oops header powerpc/pseries: Introduce generic read function to read nvram-partitions powerpc/pseries: Read/Write oops nvram partition via pstore powerpc/pseries: Read rtas partition via pstore powerpc/pseries: Distinguish between a os-partition and non-os partition powerpc/pseries: Read of-config partition via pstore powerpc/pseries: Read common partition via pstore
arch/powerpc/platforms/pseries/nvram.c | 353 +++++++++++++++++++++++++++----- fs/pstore/inode.c | 9 + include/linux/pstore.h | 4 3 files changed, 313 insertions(+), 53 deletions(-)