summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>2013-06-06 00:21:44 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-20 17:04:52 +1000
commit69020eea973d95766e905ee0ce7773e0027377a3 (patch)
treea95233fbe6e307ceb991722a72188428210f9067 /include
parentd7563c94f728d8c9228cfddbb044c843b2e243e8 (diff)
downloadlinux-69020eea973d95766e905ee0ce7773e0027377a3.tar.gz
linux-69020eea973d95766e905ee0ce7773e0027377a3.tar.bz2
linux-69020eea973d95766e905ee0ce7773e0027377a3.zip
powerpc/pseries: Read rtas partition via pstore
This patch set exploits the pstore subsystem to read details of rtas partition in NVRAM to a separate file in /dev/pstore. For instance, rtas details will be stored in a file named [rtas-nvram-4]. 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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pstore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h
index 75d01760c911..d7a8fe938c0f 100644
--- a/include/linux/pstore.h
+++ b/include/linux/pstore.h
@@ -35,6 +35,8 @@ enum pstore_type_id {
PSTORE_TYPE_MCE = 1,
PSTORE_TYPE_CONSOLE = 2,
PSTORE_TYPE_FTRACE = 3,
+ /* PPC64 partition types */
+ PSTORE_TYPE_PPC_RTAS = 4,
PSTORE_TYPE_UNKNOWN = 255
};