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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <benh@...>
Cc: Rafael J. Wysocki <rjw@...>, Greg KH <greg@...>, pm list <linux-pm@...>, ACPI Devel Maling List <linux-acpi@...>, Alan Stern <stern@...>, Len Brown <lenb@...>, LKML <linux-kernel@...>, Alexey Starikovskiy <astarikovskiy@...>, David Brownell <david-b@...>, Pavel Machek <pavel@...>, Nigel Cunningham <ncunningham@...>, Jesse Barnes <jbarnes@...>, Andrew Morton <akpm@...>
Date: Monday, April 14, 2008 - 2:43 am

Am Montag, 14. April 2008 05:23:00 schrieb Benjamin Herrenschmidt:

Which is the problem. Suspension is supposed to be transparent.
We cannot start returning error codes for operations which never
failed in practice (eg. switching configurations in USB), just because
the system is about to be suspended.

If you want to request firmware in a PM callback, which makes a certain
sense, as we should move to a comprehensive API, if we change the API
at all, we need a model with 3 callbacks.

	Regards
		Oliver
--
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, 7:11 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 9:31 am)
[PATCH 3/3] PM: New suspend and hibernation callbacks for PC..., Rafael J. Wysocki, (Sun Apr 13, 9:34 am)
Re: PM: New suspend and hibernation callbacks for PCI bus type, Rafael J. Wysocki, (Wed Apr 30, 8:09 am)
[PATCH 2/3] PM: New suspend and hibernation callbacks for pl..., Rafael J. Wysocki, (Sun Apr 13, 9:33 am)
[PATCH 1/3] PM: Introduce new top level suspend and hibernat..., Rafael J. Wysocki, (Sun Apr 13, 9:33 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 5:05 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 5:39 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 6:10 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 6:27 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 6:47 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Mon Apr 14, 4:45 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Mon Apr 14, 4:56 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Mon Apr 14, 4:47 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Mon Apr 14, 8:34 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 7:48 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 8:07 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 8:43 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 8:50 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 8:40 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 8:59 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 7:33 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 7:49 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 7:17 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 7:08 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 7:46 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 8:31 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 8:46 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Mon Apr 14, 8:25 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Sun Apr 13, 9:09 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Sun Apr 13, 11:23 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Rafael J. Wysocki, (Mon Apr 14, 8:11 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Mon Apr 14, 4:48 pm)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Oliver Neukum, (Mon Apr 14, 2:43 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Mon Apr 14, 3:23 am)
Re: [PATCH 1/3] PM: Introduce new top level suspend and hibe..., Benjamin Herrenschmidt, (Mon Apr 14, 3:50 am)