OSDN Git Service

powerpc/pseries: Read of-config partition via pstore
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Wed, 5 Jun 2013 18:52:10 +0000 (00:22 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:04:59 +0000 (17:04 +1000)
commitf33f748c964f6a6ee272b1c794b52f54f4da1d04
treecb755efb8c8fa22fed3e2e537e1854468ff5d612
parentedf38465a32c2820350da45a2231d2c53ad2d3c0
powerpc/pseries: Read of-config partition via pstore

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

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