Re: kexec reboot broken with ioatdma?

From: Simon Horman
Date: Wed Dec 16 2009 - 18:45:38 EST


On Wed, Dec 16, 2009 at 03:42:20PM -0800, Roland Dreier wrote:
>
> > 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.

Yes, I think we all agree :-)

--
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/