From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [patch 1/2] fastboot: Add a module parameter to skip probing of specific ports Date: Tue, 12 Aug 2008 04:36:03 -0700 Message-ID: <20080812043603.3d8471d4@infradead.org> References: <20080811153542.61095e5c@infradead.org> <20080811153641.706726ec@infradead.org> <20080812083903.6d402c2e@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from casper.infradead.org ([85.118.1.10]:37062 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751439AbYHLLfz (ORCPT ); Tue, 12 Aug 2008 07:35:55 -0400 In-Reply-To: <20080812083903.6d402c2e@lxorguk.ukuu.org.uk> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org On Tue, 12 Aug 2008 08:39:03 +0100 Alan Cox wrote: > On Mon, 11 Aug 2008 15:36:41 -0700 > Arjan van de Ven wrote: > > > > > From: Kristen Accardi > > Subject: [PATCH] libata: Add a module parameter to skip probing of > > specific ports > > > > Port probing by libata can easily take 10% or more of the kernel > > boot time (2%+ of total). For cases where one knows there is nothing > > connected to certain ports (for example on netbooks) this is a waste > > of boot time. > > > > This patch adds a module parameter that allows the admin to specify > > to skip ports (specified by a bitmask) and recoup this boot time. > > This capability is potentially also useful to get systems to boot > > for cases where port-probing on a certain ports causes crashes. > > > > A follow-on patch will add the capability to use DMI identification > > to automate this for certain known systems. > > What happens if I plug in an additional libata using device ? on an eeepc ? ;) at least for the command line option the owner (or whoever sets up grub) knows the order and could adjust. For the DMI patch you do have a point. > What > defines the probe order here particularly as people are pushing for > parallel probing of multiple devices. the patches I'm pushing for this don't change probe order; that has been tried before and wasn't a great success. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org