[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200803191424.49443.rjw@sisk.pl>
Date: Wed, 19 Mar 2008 14:24:48 +0100
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Greg KH <greg@...ah.com>
Cc: pm list <linux-pm@...ts.linux-foundation.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
Alan Stern <stern@...land.harvard.edu>,
Len Brown <lenb@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Alexey Starikovskiy <astarikovskiy@...e.de>,
David Brownell <david-b@...bell.net>,
Pavel Machek <pavel@....cz>
Subject: Re: [RFC][PATCH 3/3] PM: New suspend and hibernation callbacks for PCI bus type
On Wednesday, 19 of March 2008, Greg KH wrote:
> On Mon, Mar 17, 2008 at 12:25:15AM +0100, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rjw@...k.pl>
> >
> > Implement new suspend and hibernation callbacks for the PCI busi type.
> >
> > Signed-off-by: Rafael J. Wysocki <rjw@...k.pl>
> > ---
> > drivers/pci/pci-driver.c | 497 ++++++++++++++++++++++++++++++++++++++++++-----
> > include/linux/pci.h | 2
> > 2 files changed, 453 insertions(+), 46 deletions(-)
>
> Hm, that's a lot of code added. What additional functionality did we
> just get?
The possibility to handle suspend/hibernation in a more flexible way, provided
that the drivers define the new callbacks.
> Are we going to have to create a noirq version for every driver and bus
> type now?
No, we aren't. The PCI and platform bus types already have the noirq callbacks
implemented (they are called _late and _early, but that's the same
essentially).
Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists