linux_dsm_epyc7002/arch/powerpc/platforms
Aruna Balakrishnaiah d7563c94f7 powerpc/pseries: Read/Write oops nvram partition via pstore
IBM's p series machines provide persistent storage for LPARs through NVRAM.
NVRAM's lnx,oops-log partition is used to log oops messages.
Currently the kernel provides the contents of p-series NVRAM only as a
simple stream of bytes via /dev/nvram, which must be interpreted in user
space by the nvram command in the powerpc-utils package.

This patch set exploits the pstore subsystem to expose oops partition in
NVRAM as a separate file in /dev/pstore. For instance, Oops messages will be
stored in a file named [dmesg-nvram-2]. In case pstore registration fails it
will fall back to kmsg_dump mechanism.

This patch will read/write the oops messages from/to this partition via pstore.

Signed-off-by: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-06-20 17:04:49 +10:00
..
8xx powerpc: Mark low level irq handlers NO_THREAD 2013-06-20 16:55:08 +10:00
40x Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
44x powerpc: Update currituck pci/usb fixup for new board revision 2013-06-20 16:55:13 +10:00
52xx Merge remote-tracking branch 'agust/next' into next 2013-02-20 11:39:05 +11:00
82xx powerpc/82xx: fix checkpatch warnings for km82xx.c 2013-02-13 07:49:04 -06:00
83xx powerpc/83xx: apply mpc8360e quirk for kmeter1 only when par_io is present 2013-02-13 07:49:07 -06:00
85xx Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
86xx powerpc: remove redundant GENERIC_GPIO selection 2013-03-20 22:48:15 +09:00
512x Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-02 10:16:16 -07:00
amigaone pcspkr: Cleanup Kconfig dependencies 2011-06-09 15:01:41 +02:00
cell powerpc/smp: Use '==' instead of '<' for system_state 2013-06-20 17:04:23 +10:00
chrp mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
embedded6xx powerpc/pci: Support per-aperture memory offset 2013-05-06 13:40:40 +10:00
maple POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
pasemi cpufreq: Notify all policy->cpus in cpufreq_notify_transition() 2013-04-02 15:24:00 +02:00
powermac powerpc/pci: Support per-aperture memory offset 2013-05-06 13:40:40 +10:00
powernv powerpc/smp: Use '==' instead of '<' for system_state 2013-06-20 17:04:23 +10:00
ps3 powerpc: Decode the pte-lp-encoding bits correctly. 2013-04-30 16:00:14 +10:00
pseries powerpc/pseries: Read/Write oops nvram partition via pstore 2013-06-20 17:04:49 +10:00
wsp powerpc: Fix irq_set_affinity() return values 2013-05-14 16:00:18 +10:00
fsl_uli1575.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
Kconfig Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-14 07:43:11 -07:00
Kconfig.cputype Merge remote-tracking branch 'kumar/next' into next 2013-04-30 11:10:09 +10:00
Makefile powerpc: Remove the main legacy iSerie platform code 2012-03-09 10:35:11 +11:00