Re: kexec reboot broken with ioatdma?

From: Roland Dreier
Date: Wed Dec 16 2009 - 18:42:29 EST



> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/