openbmc / openpower-proc-control

Routines to start and stop OpenPower processors.
Apache License 2.0
1 stars 6 forks source link

Handle exceptions gracefully by creating a PEL during IPL #10

Open devenrao opened 2 years ago

devenrao commented 2 years ago

If there are any exceptions raised during IPL and not handled it will result in openpower-proc-control application crash. It would be better to create a PEL and then decide to continue IPL / crash based on the error type.

This issue was noticed when reading guard records from PNOR as part of startHost HWP, and as PNOR was not initialized properly the call to read guard record fail and the application crashed when GuardRecordInvalid exception was thrown.

https://github.com/open-power/ipl/pull/56/commits

Need to revisit in the future