Re: [PATCH] Re: NAK new drivers without proper power management?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Barkalow
Date: Sunday, February 11, 2007 - 10:27 am

On Sun, 11 Feb 2007, Rafael J. Wysocki wrote:


The kernel wouldn't necessarily have to refuse to suspend. It could just 
warn (and list the drivers that aren't marked), or could require some 
extra insistance from the user. It would be good to have it log a message 
saying something like: "If you can read this, report that ne2000 seems to 
be safe for suspend/resume". Having drivers explicitly marked as to 
whether they are safe is a good kernel feature; what to do if they're not 
is policy.


I don't see any reason not to do (2) regardless of (1). That was (my idea 
of) the statement that started this thread: new drivers need to not mess 
up on suspend/resume, as a matter of suitability for inclusion. Of course, 
we need some way for drivers to indicate that they work fine with the 
PCI-layer defaults. And it should probably more machine-readable than the 
author telling reviewers that it works.


I think the only interesting case here is when a device resumes fine with 
no driver support if the BIOS manages to deal effectively with it, but the 
BIOS generally doesn't. Otherwise, I think it's only going to work at 
all if the author put in the effort to make it work (so it should be 
"known good"), but there may be bugs (firmware, BIOS, driver, etc). But 
that's true of any functionality.

	-Daniel
*This .sig left intentionally blank*
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: NAK new drivers without proper power management?, Robert Hancock, (Fri Feb 9, 6:50 pm)
Re: NAK new drivers without proper power management?, Nigel Cunningham, (Fri Feb 9, 7:05 pm)
Re: NAK new drivers without proper power management?, Nigel Cunningham, (Fri Feb 9, 7:09 pm)
[PATCH] Re: NAK new drivers without proper power management?, Nigel Cunningham, (Fri Feb 9, 8:02 pm)
Re: NAK new drivers without proper power management?, Dmitry Torokhov, (Fri Feb 9, 8:27 pm)
Re: NAK new drivers without proper power management?, Nigel Cunningham, (Fri Feb 9, 9:18 pm)
Re: NAK new drivers without proper power management?, Joseph Fannin, (Fri Feb 9, 9:35 pm)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sat Feb 10, 2:34 am)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sat Feb 10, 3:30 am)
Re: NAK new drivers without proper power management?, Stefan Richter, (Sat Feb 10, 5:47 am)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sat Feb 10, 12:50 pm)
Re: NAK new drivers without proper power management?, Adrian Bunk, (Sat Feb 10, 1:40 pm)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sun Feb 11, 6:50 am)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sun Feb 11, 7:36 am)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Daniel Barkalow, (Sun Feb 11, 10:27 am)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sun Feb 11, 11:31 am)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sun Feb 11, 11:53 am)
Re: [PATCH] Re: NAK new drivers without proper power manag ..., Rafael J. Wysocki, (Sun Feb 11, 4:10 pm)
Re: NAK new drivers without proper power management?, Pavel Machek, (Tue Feb 13, 2:08 pm)