From: Roland Dreier <rdreier@cisco.com>
To: Simon Horman <horms@verge.net.au>
Cc: Dan Williams <dan.j.williams@intel.com>,
kexec@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: kexec reboot broken with ioatdma?
Date: Wed, 16 Dec 2009 15:42:20 -0800 [thread overview]
Message-ID: <adapr6e7ag3.fsf@roland-alpha.cisco.com> (raw)
In-Reply-To: <20091216233613.GA22449@verge.net.au> (Simon Horman's message of "Thu, 17 Dec 2009 10:36:13 +1100")
> 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.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
WARNING: multiple messages have this Message-ID (diff)
From: Roland Dreier <rdreier@cisco.com>
To: Simon Horman <horms@verge.net.au>
Cc: linux-kernel@vger.kernel.org,
Dan Williams <dan.j.williams@intel.com>,
kexec@lists.infradead.org
Subject: Re: kexec reboot broken with ioatdma?
Date: Wed, 16 Dec 2009 15:42:20 -0800 [thread overview]
Message-ID: <adapr6e7ag3.fsf@roland-alpha.cisco.com> (raw)
In-Reply-To: <20091216233613.GA22449@verge.net.au> (Simon Horman's message of "Thu, 17 Dec 2009 10:36:13 +1100")
> 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.
next prev parent reply other threads:[~2009-12-16 23:42 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 21:32 kexec reboot broken with ioatdma? Roland Dreier
2009-12-16 21:32 ` Roland Dreier
2009-12-16 22:49 ` Simon Horman
2009-12-16 22:49 ` Simon Horman
2009-12-16 23:04 ` Roland Dreier
2009-12-16 23:04 ` Roland Dreier
2009-12-16 23:11 ` Dan Williams
2009-12-16 23:11 ` Dan Williams
2009-12-16 23:23 ` Roland Dreier
2009-12-16 23:23 ` Roland Dreier
2009-12-18 22:10 ` Dan Williams
2009-12-18 22:10 ` Dan Williams
2009-12-18 22:20 ` Roland Dreier
2009-12-18 22:20 ` Roland Dreier
2009-12-18 22:23 ` Dan Williams
2009-12-18 22:23 ` Dan Williams
2009-12-18 22:32 ` Roland Dreier
2009-12-18 22:32 ` Roland Dreier
2009-12-19 7:34 ` Simon Horman
2009-12-19 7:34 ` Simon Horman
2009-12-16 23:36 ` Simon Horman
2009-12-16 23:36 ` Simon Horman
2009-12-16 23:42 ` Roland Dreier [this message]
2009-12-16 23:42 ` Roland Dreier
2009-12-16 23:45 ` Simon Horman
2009-12-16 23:45 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=adapr6e7ag3.fsf@roland-alpha.cisco.com \
--to=rdreier@cisco.com \
--cc=dan.j.williams@intel.com \
--cc=horms@verge.net.au \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.