Re: NAK new drivers without proper power management?

From: Nigel Cunningham
Date: Mon Feb 12 2007 - 17:39:48 EST


Hi.

On Mon, 2007-02-12 at 21:06 +0100, Rafael J. Wysocki wrote:
> On Monday, 12 February 2007 05:08, Nigel Cunningham wrote:
> > Nope. I'm assuming that the driver author knows what needs to be done to
> > get the driver out of whatever state the BIOS puts it in to start with,
> > and into an operational state, and that they therefore also know what
> > needs to be done to take it out of the operational state again. I'm
> > admitting that there's also another state - the post suspend-to-ram
> > driver state - that they may not know how to deal with. But for
> > suspend-to-disk, if you know how to get the driver to work in the first
> > place, you know enough to stop it working (.suspend) and start it up
> > again (.resume) for the hibernate case at least.
>
> We're talking about _both_ the STR and STD. The drivers that have problems
> with the STR cannot be regarded as suspend/resume-safe IMO.

Yeah, I'm not disagreeing at all. I'm just admitting my bias toward the
bit I concentrate on more.

[...]

> > Mmm, so that's a case where we need to prod those who write
> > documentation and bus support first. You're probably closer! :)
>
> Actually, the lack of documentation is a major problem that we all should
> try to fix in the first place. Unfortunately the code has been recently
> changing quite often, so that's difficult.

Yeah.

Nigel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/