ibm-openbmc / dev

Product Development Project Mgmt and Tracking
16 stars 2 forks source link

eBMC State Management: Enable Warm IPL ( Warm Re-IPL ) #1466

Closed vishwabmc closed 4 years ago

vishwabmc commented 4 years ago

In the scenarios where the Host crashes and thus demanding a reboot of the Host, we don't have to start all over again doing powerOff + PowerOn. Instead, we could bypass the whole PowerOn sequence and directly jump to Host portion of it. This story is to enable such a Warm Re-IPL

vishwabmc commented 4 years ago

There are 2 usecases of this:

1/. Host asking the BMC to do the Warm Reboot: This will be the case during OS lid updates. --> This would be a PLDM command asking for such a Re-IPL.

2/. Host crash --> Need to chain the sequence post Quiesce

geissonator commented 4 years ago

Stop Instructions Story: https://github.com/ibm-openbmc/dev/issues/736 Although, we may be able to just do a "pdbg -a" initially to stop instructions.

geissonator commented 4 years ago

My plan is to at least get the target framework and basic services in place. May need to move a few points from this into a follow on story depending on how much extra application work is needed to do the full warm reboot.

geissonator commented 4 years ago

Some additional work this entailed:

Still in process:

geissonator commented 4 years ago

Everything tested and ready. Waiting on kernel dts change to get in:

proc-control changes:

state-manager changes:

geissonator commented 4 years ago

Everything is in and verified on witherspoon-128