[PATCH V2 1/2] powerpc/powernv: new function to access OPAL msglog

Stewart Smith stewart at linux.vnet.ibm.com
Thu Feb 11 17:32:48 AEDT 2016


Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:

> Currently, the OPAL msglog/console buffer is exposed as a sysfs file, with
> the sysfs read handler responsible for retrieving the log from the OPAL
> buffer. We'd like to be able to use it in xmon as well.
>
> Refactor the OPAL msglog code to create a new function, opal_msglog_copy(),
> that copies to an arbitrary buffer. Separate the initialisation code into
> generic memcons init and sysfs file creation.
>
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Linuxppc-dev mailing list