[PATCH v3 0/3] powerpc/pstore: Add pstore support for nvram partitions

Hari Bathini hbathini at linux.vnet.ibm.com
Wed Dec 24 22:58:11 AEDT 2014


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.

Changes from v2:
Added an empty version of clobbering_unread_rtas_event()
routine for !PSERIES, to avoid ifdef at the call sites

---

Hari Bathini (3):
      powerpc/nvram: move generic code for nvram and pstore
      pstore: Add pstore type id for firmware partition
      pstore: add pstore support on powernv


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

--
- Hari



More information about the Linuxppc-dev mailing list