From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755846AbYDNDY1 (ORCPT ); Sun, 13 Apr 2008 23:24:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753642AbYDNDYE (ORCPT ); Sun, 13 Apr 2008 23:24:04 -0400 Received: from gate.crashing.org ([63.228.1.57]:49772 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753080AbYDNDYC (ORCPT ); Sun, 13 Apr 2008 23:24:02 -0400 Subject: Re: [PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 8) From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: "Rafael J. Wysocki" Cc: Greg KH , pm list , ACPI Devel Maling List , Alan Stern , Len Brown , LKML , Alexey Starikovskiy , David Brownell , Pavel Machek , Oliver Neukum , Nigel Cunningham , Jesse Barnes , Andrew Morton In-Reply-To: <200804140309.22057.rjw@sisk.pl> References: <200804040111.15255.rjw@sisk.pl> <200804140231.32245.rjw@sisk.pl> <1208134017.6958.94.camel@pasglop> <200804140309.22057.rjw@sisk.pl> Content-Type: text/plain Date: Mon, 14 Apr 2008 13:23:00 +1000 Message-Id: <1208143380.6958.105.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > To avoid breaking things (from the functional point of view) unnecessarily. > > In short, I don't really see the difference between moving ->prepare() before > the freezer and droppig the freezer, which I'm not going to do right now. I believe the use of prepare for things like request_firmware etc... is worth the effort of fixing the known breakage of not having the freezer while preventing insertion of new devices (mostly USB). In fact, it won't be such a big issue as the core should/will return an error from attempting to add the device in that case. Ben.