[Skiboot] [PATCH] ipmi-sel: Fix esel event logger to handle early boot PANIC events

Stewart Smith stewart at linux.vnet.ibm.com
Fri Mar 11 15:48:06 AEDT 2016


Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:

> We pre-allocate IPMI message for PANIC event and use that memory to send
> PANIC event to BMC. Presently we return NULL if we have not initiated PANIC
> event message. So we won't be able to log early failure events.
>
> This patch tries to initialize ipmi message instead of returning NULL.
>
> Also intialize elog before ipmi_sel_init. Otherwise we will not be able
> to create elog message.
>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> ---
> Stewart,
>   I've tested this patch by manually adding ELOG in early path. Seems to be working
>   fine.

Thanks, merged to master as of 6da1679

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list