[Skiboot] [PATCH V3 4/6] opal/errorlog : Generalize the errorlog read path

Stewart Smith stewart at linux.vnet.ibm.com
Thu Jun 30 19:10:14 AEST 2016


Mukesh Ojha <mukesh02 at linux.vnet.ibm.com> writes:
> Introduces platform hooks for errorlog info, read, ack, and resend pending logs
> by adding four new function pointers in the platform structure.
>
> Adds opal generic function for read, info, ack and resend pending logs as
> callback, which will be called from kernel.
>
> Moving the opal call registration from fsp-elog-read.c to core/elog-host.c
> and the calling the fsp specific function via platform hooks, which will
> be initialised once the platform is known, otherwise it will be NULL.
> Declarations of fsp specific routine are kept in fsp-elog.h .

What would the platform implementation look like if there was a flash
backed store? Or just memory (we could do this for mambo/qemu)?

In fact, adding mambo platform support for it would be excellent.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list