Re: [RFC][PATCH] PM: Introduce new top level suspend and hibernation callbacks (rev. 6)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nigel Cunningham
Date: Tuesday, April 1, 2008 - 1:15 am

Hi Rafael.

Please excuse me, but I'm going to ask the questions you get from
someone who hasn't followed development to date, and is thus reading the
explanation without prior knowledge. Hopefully that will be helpful when
you come to finalising the commit message.

On Mon, 2008-03-31 at 23:29 +0200, Rafael J. Wysocki wrote:

Does ..._ext_... mean extended? (external?) If 'extended' (or if not),
does that imply that they're mutually exclusive alternatives for drivers
to use?


'Respectively' doesn't look like the right word to use, but I'm not sure
I understand correctly what you're trying to say. The way it's written
at the moment, it sounds to me like you're saying that suspend_late()
and resume_early are deprecated, but you're modifying the PM core to use
them.


s/particualr,/particular

So drivers can never validly fail to resume. That sounds fair enough. If
the hardware has gone away while in lower power mode (USB, say), should
the driver then just printk an error and return success?


Do these changes allow for other power state possibilities besides
suspend to ram and hibernate (eg on other platforms)?


Why?


That doesn't sound good. It would be good to be able to get drivers to
request firmware early in the process.


s/unsucessfully/unsuccessfully

Regards,

Nigel


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

Messages in current thread:
[RFC][PATCH 0/3] PM: Rework suspend and hibernation code f ..., Rafael J. Wysocki, (Sat Mar 29, 3:17 pm)
[RFC][PATCH 1/3] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Sat Mar 29, 3:20 pm)
[RFC][PATCH 2/3] PM: New suspend and hibernation callbacks ..., Rafael J. Wysocki, (Sat Mar 29, 3:22 pm)
[RFC][PATCH 3/3] PM: New suspend and hibernation callbacks ..., Rafael J. Wysocki, (Sat Mar 29, 3:23 pm)
Re: [RFC][PATCH 1/3] PM: Introduce new top level suspend a ..., Rafael J. Wysocki, (Sat Mar 29, 7:54 pm)
Re: [RFC][PATCH 2/3] PM: New suspend and hibernation callb ..., Rafael J. Wysocki, (Sat Mar 29, 7:56 pm)
[RFC][PATCH] PM: Introduce new top level suspend and hiber ..., Rafael J. Wysocki, (Mon Mar 31, 2:29 pm)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Nigel Cunningham, (Tue Apr 1, 1:15 am)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Benjamin Herrenschmidt, (Tue Apr 1, 1:27 am)