[SeaBIOS] [PATCH 0/2] Improve reboot races during post and reboot

Gonglei (Arei) arei.gonglei at huawei.com
Sat Jan 16 02:13:13 CET 2016


> 
> On Tue, Jan 12, 2016 at 02:57:25PM -0500, Kevin O'Connor wrote:
> > This is a follow up to an email chain that in November:
> >
> >   http://www.seabios.org/pipermail/seabios/2015-November/009887.html
> >
> > It was possible for the SeaBIOS code to get confused if an external
> > reboot request occurs while seabios is already in the process of
> > handling a boot or reboot.
> >
> > This two patch series attempts to make the SeaBIOS reboot code more
> > robust.  With these patches the code maintains an invariant - if
> > HaveRunPost is false then the BIOS code will be in a pristine state
> > and it is okay to run the "post" boot logic; if HaveRunPost is true
> > then the reboot logic must be run before starting the "post" boot
> > logic.  The reboot handler should always return the BIOS code to a
> > pristine state prior to clearing HaveRunPost.
> 
> FYI, I committed this series.
> 
Thanks, they are very useful !

Regards,
-Gonglei



More information about the SeaBIOS mailing list