Re: Put unused PCI devices in D3

From: Matthew Garrett
Date: Mon Sep 29 2008 - 21:06:27 EST


On Mon, Sep 29, 2008 at 05:55:47PM -0700, Jeffrey W. Baker wrote:

> No, you couldn't, but that isn't really the point. If I have my laptop
> on a transoceanic flight it may be useful for me to be able to set a
> power policy turning off all the extraneous junk on my machine, because
> I know /a priori/ that no hotplug events will happen. There's no way
> the kernel could know that, but userspace can tell the kernel to turn
> off an unneeded device.

The majority (though it's not universal) of modern hardware can be put
into a state where you get most of the power savings of the entire part
being in D3 but with little functional regression. While I'm not averse
to adding features that aid the power user who's happy to poke around
with individual drivers, this shouldn't be at the expense of
implementing good runtime power management for the more common case.

Not that I'm suggesting you're doing that, I just want to emphasise that
you're working on a slightly more niche concern :)
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/