Return-path: Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NL3Yg-0005YC-Rw for kexec@lists.infradead.org; Wed, 16 Dec 2009 23:45:35 +0000 Date: Thu, 17 Dec 2009 10:45:29 +1100 From: Simon Horman Subject: Re: kexec reboot broken with ioatdma? Message-ID: <20091216234529.GB22449@verge.net.au> References: <20091216224912.GC16219@verge.net.au> <20091216233613.GA22449@verge.net.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Roland Dreier Cc: Dan Williams , kexec@lists.infradead.org, linux-kernel@vger.kernel.org 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 :-) _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec