Re: [RFC] Runtime power management on ipw2100

Amit Kucheria
2007-01-31T11:04:00Z

On Wed, 2007-01-31 at 09:48 +0000, ext Matthew Garrett wrote:
> On Wed, Jan 31, 2007 at 11:13:07AM +0200, Amit Kucheria wrote:
>
> > What is the latency in changing between different PCI power states for
> > peripherals?
>
> I'm not sure in the general case, but the power-down path for the
> ipw2100 involves a static wait of 100ms in ipw2100_hw_stop_adapter().

Ouch!

<snip>

> PCI seems to require a delay of 10ms when sequencing from D3 to D0,
> which probably isn't acceptable latency for an "up" state. While there's

It might be acceptable to users who are just browsing the web, but not
to users who are streaming music from internet radio stations. IOW,
expose the interface (disabled by default) and leave policy to userspace
through a library.

> definitely a benefit to the sort of PM you're describing (it's a model
> we've already started using on the desktop as far as the CPU goes), I
> think we still want to be able to expose as much power saving as
> possible.

I agree that this is a good start.

Regards,
Amit