Re: Changes to PM layer break userspace
From: David Brownell
Date: Fri Dec 29 2006 - 00:30:41 EST
On Thursday 28 December 2006 5:31 am, Alan wrote:
> > Seems to me anyone really desperate to put PCI devices into a low
> > power mode, without driver support at the "ifdown" level, would be
> > able just "rmmod driver; setpci".
> Incorrect for very obvious reasons - there may be two devices driven by
> the same driver one up and one down.
Let me emphasize "desperate". ;)
The examples given were all cases where that didn't seem to be an issue.
But agreed, the best approach is really to make devices not in active
use (i.e. before "ifup", after "ifdown" ... maybe even whenever no
driver is bound to the device) stay in low power states.
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/