From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from out02.mta.xmission.com ([166.70.13.232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VJSgG-0005ax-8e for kexec@lists.infradead.org; Tue, 10 Sep 2013 18:28:53 +0000 From: ebiederm@xmission.com (Eric W. Biederman) References: <20130908120947.GA360@x4> <87bo42eswi.fsf@xmission.com> <20130909092140.GA359@x4> Date: Tue, 10 Sep 2013 11:27:59 -0700 In-Reply-To: (Alex Deucher's message of "Mon, 9 Sep 2013 09:04:01 -0400") Message-ID: <87ppsg8rbk.fsf@xmission.com> MIME-Version: 1.0 Subject: Re: [PATCH 0/3] drm/radeon kexec fixes 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" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Alex Deucher Cc: Christian =?utf-8?Q?K=C3=B6nig?= , kexec@lists.infradead.org, Maling list - DRI developers , Markus Trippelsdorf Alex Deucher writes: > On Mon, Sep 9, 2013 at 5:21 AM, Markus Trippelsdorf > wrote: > >> IIRC Alex said the sanity checks are expensive and boot-time could be >> improved by dropping them. Maybe he can chime in? > > They shouldn't be necessary with a proper shutdown, but in this > particular case, they are not very expensive. What is expensive is > having a separate sanity check functions for all the various hw blocks > to teardown everything on startup prior to starting it up in case > kexec, etc. left the system in a bad state. It ends up amounting to a > full tear down sequence followed by a full start up sequence every > time you load the driver. > > I can't really comment on the first patch, but the rest seem fine. Let me reask the question just a little bit. Is it the sanity checks that are expensive? Or is it the reinitialization that is triggered by the sanity checks that is expensive? >From what Christian said in the other reply it sounds like this is a game we will never completely win, but it would be nice to have half a chance in the kexec on panic case to have video. So I am curious to know if the checks are expensive when we are coming at hardware in a clean state. Eric _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec