Re: [PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 8)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Stern
Date: Sunday, April 13, 2008 - 4:23 pm

On Mon, 14 Apr 2008, Nigel Cunningham wrote:


In practical terms, it will be easier to keep the freezer where it is 
for now.  This is because prepare() requires drivers to change their 
behavior; they aren't allowed to register new children any more.

But if userspace isn't frozen then user programs can interact with
drivers in a way that does cause new children to be created.  For
example this happens in USB, where opening an audio device and
selecting its bitrate causes a new set of endpoints to be realized,
along with their representations in sysfs.

Thus, in addition to making all the interface changes implied by the 
new callbacks, drivers would also have to change the way they interact 
with userspace.  Yes, this will have to be done eventually in any case, 
as the freezer goes away -- but it shouldn't have to be done right now.

Alan Stern

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] PM: New suspend and hibernation callbacks, Rafael J. Wysocki, (Thu Apr 3, 4:11 pm)
[PATCH 2/3] PM: New suspend and hibernation callbacks for ..., Rafael J. Wysocki, (Thu Apr 3, 4:13 pm)
[PATCH 3/3] PM: New suspend and hibernation callbacks for ..., Rafael J. Wysocki, (Thu Apr 3, 4:15 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 6:31 am)
[PATCH 1/3] PM: Introduce new top level suspend and hibern ..., Rafael J. Wysocki, (Sun Apr 13, 6:33 am)
[PATCH 2/3] PM: New suspend and hibernation callbacks for ..., Rafael J. Wysocki, (Sun Apr 13, 6:33 am)
[PATCH 3/3] PM: New suspend and hibernation callbacks for ..., Rafael J. Wysocki, (Sun Apr 13, 6:34 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 2:05 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 2:39 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 3:10 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 3:27 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 3:47 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 4:08 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 4:17 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Alan Stern, (Sun Apr 13, 4:23 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 4:33 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 4:46 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 4:48 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 4:49 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 5:07 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 5:31 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 5:40 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 5:43 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 5:46 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 5:50 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 5:59 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Sun Apr 13, 6:09 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Sun Apr 13, 8:23 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Mon Apr 14, 12:23 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Mon Apr 14, 12:50 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Mon Apr 14, 5:11 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Mon Apr 14, 5:25 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Mon Apr 14, 5:34 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Mon Apr 14, 1:45 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Mon Apr 14, 1:47 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Benjamin Herrenschmidt, (Mon Apr 14, 1:48 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hi ..., Rafael J. Wysocki, (Mon Apr 14, 1:56 pm)
Re: PM: New suspend and hibernation callbacks for PCI bus type, Rafael J. Wysocki, (Wed Apr 30, 5:09 am)