Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756232AbYGIWYY (ORCPT ); Wed, 9 Jul 2008 18:24:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751879AbYGIWYP (ORCPT ); Wed, 9 Jul 2008 18:24:15 -0400 Received: from www.church-of-our-saviour.org ([69.25.196.31]:37592 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751410AbYGIWYO (ORCPT ); Wed, 9 Jul 2008 18:24:14 -0400 Date: Wed, 9 Jul 2008 18:23:47 -0400 From: Theodore Tso To: "Rafael J. Wysocki" Cc: Pavel Machek , David Miller , alan@lxorguk.ukuu.org.uk, mchan@broadcom.com, dwmw2@infradead.org, bastian@waldi.eu.org, linux-kernel@vger.kernel.org Subject: Re: request_firmware vs. resume (was Re: [PATCH] bnx2 - use request_firmware()) Message-ID: <20080709222347.GB10976@mit.edu> Mail-Followup-To: Theodore Tso , "Rafael J. Wysocki" , Pavel Machek , David Miller , alan@lxorguk.ukuu.org.uk, mchan@broadcom.com, dwmw2@infradead.org, bastian@waldi.eu.org, linux-kernel@vger.kernel.org References: <20080707221950.3dfba435@the-village.bc.nu> <200807092313.55777.rjw@sisk.pl> <20080709212024.GB8517@mit.edu> <200807092358.32605.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807092358.32605.rjw@sisk.pl> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 19 On Wed, Jul 09, 2008 at 11:58:31PM +0200, Rafael J. Wysocki wrote: > > Translation: so much for saving "non-swappable kernel memory". > > Unless, of course we add a pre-suspend hook. (Which doesn't exist > > yet, AFAICT from a quick perusal of Documentation/power/devices.txt.) > > No, it doesn't. > > You will be able to register a suspend notifier instead, but this requires > one fix which is in the works. Will a suspend notifier be able to block the suspend until userspace gets back to the device driver calling request_firmware()? - Ted -- 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/