powerpc/pseries: Read common partition via pstore
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Wed, 5 Jun 2013 18:52:20 +0000 (00:22 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:05:02 +0000 (17:05 +1000)
commita5e4797b0f46819a74a7233825137ed5d2f51b51
tree2b7df1fd50f6b046a259eb21d046c70dbb70a1d2
parentf33f748c964f6a6ee272b1c794b52f54f4da1d04
powerpc/pseries: Read common partition via pstore

This patch exploits pstore subsystem to read details of common partition
in NVRAM to a separate file in /dev/pstore. For instance, common partition
details will be stored in a file named [common-nvram-6].

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/nvram.c
fs/pstore/inode.c
include/linux/pstore.h