From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753170AbYJDKJW (ORCPT ); Sat, 4 Oct 2008 06:09:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752240AbYJDKJL (ORCPT ); Sat, 4 Oct 2008 06:09:11 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:43060 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179AbYJDKJJ (ORCPT ); Sat, 4 Oct 2008 06:09:09 -0400 From: "Rafael J. Wysocki" To: Alan Cox Subject: Re: [PATCH 1/6] Hibernation: Introduce system_entering_hibernation Date: Sat, 4 Oct 2008 12:13:21 +0200 User-Agent: KMail/1.9.9 Cc: Andrew Morton , Jeff Garzik , Tejun Heo , ACPI Devel Maling List , linux-ide@vger.kernel.org, Thomas Renninger , Robert Hancock , LKML , Frans Pop , Maciej Rutecki References: <200808290002.55026.rjw@sisk.pl> <200810032351.46869.rjw@sisk.pl> <20081004002724.47fab174@lxorguk.ukuu.org.uk> In-Reply-To: <20081004002724.47fab174@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810041213.22249.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, 4 of October 2008, Alan Cox wrote: > > in the final phase of hibernation. In particular, some SATA drivers > > are going to use it for blacklisting systems in which the disks > > should not be spun down during the last phase of hibernation (the > > BIOS will do that anyway). > > If you added the PCI ids for the controller to your tables you could > implement this series once instead of in multiple drivers Hm, I'm not sure what you mean exactly, but the point is to blacklist the on-board controllers only and a devfn of the controller is needed for that, or a part of it (like the slot number I'm using). Could that be done above the driver level?