Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934625AbZLPXpf (ORCPT ); Wed, 16 Dec 2009 18:45:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934393AbZLPXpc (ORCPT ); Wed, 16 Dec 2009 18:45:32 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:33072 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933946AbZLPXpc (ORCPT ); Wed, 16 Dec 2009 18:45:32 -0500 Date: Thu, 17 Dec 2009 10:45:29 +1100 From: Simon Horman To: Roland Dreier Cc: linux-kernel@vger.kernel.org, Dan Williams , kexec@lists.infradead.org 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 34 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/