powerpc/powernv: Add OPAL message log interface
authorJoel Stanley <joel@jms.id.au>
Tue, 1 Apr 2014 03:58:19 +0000 (14:28 +1030)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Apr 2014 02:53:19 +0000 (12:53 +1000)
OPAL provides an in-memory circular buffer containing a message log
populated with various runtime messages produced by the firmware.

Provide a sysfs interface /sys/firmware/opal/msglog for userspace to
view the messages.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-msglog.c [new file with mode: 0644]
arch/powerpc/platforms/powernv/opal.c

Simple merge
Simple merge