lkml.org 
[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: kexec reboot broken with ioatdma?
Date

> If its reset in a standard path, then yes that seems sensible to me.
> I'm mainly concerned about avoiding something along the lines of:
>
> if (is_booting_from_kexec)
> reset_hw();

I think we all agree... the idea is to change from

init_hw()
{
/* assume hw is in pristine state */
do_init();
}

to

init_hw()
{
/* hw is in unknown state */
reset_hw();
do_init();
}

- R.


\
 
 \ /
  Last update: 2009-12-17 00:45    [W:0.077 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site