[Skiboot] [PATCH v7 08/22] hdata: Add support for early OPAL crash

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue May 14 21:33:03 AEST 2019


On 05/09/2019 10:59 AM, Nicholas Piggin wrote:
> Vasant Hegde's on April 13, 2019 7:15 pm:
>> Lets hardcode few entries in MDST and MDDT table.. so that we can capture
>> early OPAL crash. Note that we will have 1 to 1 mapping between MDST and
>> MDDT table entry.
> 
> How useful is this? It could be useful if:
> - crash is not reproducable, and
> - customer site where we can't access the BMC, and
> - system eventually boots so crash dump can be saved, and
> - dump is sufficient to debug (i.e., debugging does not involve hardware
>    registers etc).

Correct.

> 
> I'm a bit skeptical. I reckon we'd get more milage out of changing assert
> to trap so we get regs.

We do capture registers.. but yes, its useful only when system boots eventually.

-Vasant



More information about the Skiboot mailing list