Skip to content

powerpc/pstore: Add pstore support for nvram partitions

Hari Bathini linuxppc-dev lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 3 repliesIn review
  2. v43 patches 2 repliesSuperseded
  3. v33 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches2 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v5 from the cover letter

1. Added a patch for y2038-safe code changes

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc/nvram: move generic code for nvram and pstorearch/powerpc/include/asm/nvram.h arch/powerpc/include/asm/rtas.h arch/powerpc/kernel/nvram_64.c +1 more+714 -6611 reply
2/4pstore: Add pstore type id for PPC64 opal nvram partitionfs/pstore/inode.c include/linux/pstore.h+4 -01 reply
3/4pstore: add pstore support on powernvarch/powerpc/kernel/nvram_64.c arch/powerpc/platforms/powernv/opal-nvram.c+33 -20 replies
4/4powerpc: make timestamp related code y2038-safearch/powerpc/include/asm/rtas.h arch/powerpc/kernel/nvram_64.c arch/powerpc/platforms/pseries/nvram.c+10 -90 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKees Cook
SeriesR-b
1/4
2/4R-b
3/4
4/4

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

Read the v5 thread

Cover letter [PATCH v5 0/4] powerpc/pstore: Add pstore support for nvram partitions

This patch series adds pstore support on powernv platform to read different nvram partitions and write compressed data to oops-log nvram partition. As pseries platform already has pstore support, this series moves most of the common code for pseries and powernv platforms to a common file. Tested the patches successfully on both pseries and powernv platforms. Also, tested the patches successfully, on a kernel compiled with both CONFIG_PPC_PSERIES=y & CONFIG_PPC_POWERNV=y.

Changes from v4:
1. Added a patch for y2038-safe code changes

---

Hari Bathini (4):
powerpc/nvram: move generic code for nvram and pstore
pstore: Add pstore type id for PPC64 opal nvram partition
pstore: add pstore support on powernv
powerpc: make timestamp related code y2038-safe

 arch/powerpc/include/asm/nvram.h            |   50 ++
 arch/powerpc/include/asm/rtas.h             |    5 
 arch/powerpc/kernel/nvram_64.c              |  677 +++++++++++++++++++++++++++
 arch/powerpc/platforms/powernv/opal-nvram.c |   10 
 arch/powerpc/platforms/pseries/nvram.c      |  673 ---------------------------
 fs/pstore/inode.c                           |    3 
 include/linux/pstore.h                      |    1 
 7 files changed, 754 insertions(+), 665 deletions(-)

--
-Hari