Closed vishwabmc closed 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
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.
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.
Some additional work this entailed:
Still in process:
Everything tested and ready. Waiting on kernel dts change to get in:
proc-control changes:
state-manager changes:
Everything is in and verified on witherspoon-128
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