Skip to content

Nvram-to-pstore

Aruna Balakrishnaiah linuxppc-dev lkml 4 versions – In review

Get series with b4
b4 am 20130605184756.25794.43872.stgit@aruna-ThinkPad-T420

Versions newest first · linked by author and title

  1. v4 Latest8 patches 4 repliesIn review
  2. v38 patches 10 repliesSuperseded
  3. v28 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches13 repliesSuperseded

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 filesSizeRepliesApplied
1/8powerpc/pseries: Remove syslog prefix in uncompressed oops textarch/powerpc/platforms/pseries/nvram.c+1 -10 replies
2/8powerpc/pseries: Add version and timestamp to oops headerarch/powerpc/platforms/pseries/nvram.c+38 -190 replies
3/8powerpc/pseries: Introduce generic read function to read nvram-partitionsarch/powerpc/platforms/pseries/nvram.c+22 -100 replies
4/8powerpc/pseries: Read/Write oops nvram partition via pstorearch/powerpc/platforms/pseries/nvram.c+157 -150 replies
5/8powerpc/pseries: Read rtas partition via pstorearch/powerpc/platforms/pseries/nvram.c fs/pstore/inode.c include/linux/pstore.h+31 -70 replies
6/8powerpc/pseries: Distinguish between a os-partition and non-os partitionarch/powerpc/platforms/pseries/nvram.c+5 -20 replies
7/8powerpc/pseries: Read of-config partition via pstorearch/powerpc/platforms/pseries/nvram.c fs/pstore/inode.c include/linux/pstore.h+50 -90 replies
8/8powerpc/pseries: Read common partition via pstorearch/powerpc/platforms/pseries/nvram.c fs/pstore/inode.c include/linux/pstore.h+20 -10 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchJim Keniston
1/8R-b
2/8R-b
3/8R-b
4/8
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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