Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Matthew Garrett
On Wed, Jan 31, 2007 at 02:44:16PM +0100, Pavel Machek wrote: > Okay, but I'm somehow not sure if ipw2100 can do this kind of > tricks. Yes, n800 is likely very nice toy :-). Well, to an extent - if you use the wext power features, you can get it into a relatively low-power state at the cost of

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Pavel Machek
Hi! > > > Yes. Low power states without ability to respond to wakeup interrupts > > > would be broken behaviour generally. > > > > Do you realy expect wifi to save significant ammount of power, while > > still listening for packets on wireless network? > > >From N800 specs (not meant as a shamel

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Amit Kucheria
On Wed, 2007-01-31 at 14:04 +0100, ext Pavel Machek wrote: > On Wed 2007-01-31 13:53:20, Amit Kucheria wrote: > > > > Yes. Low power states without ability to respond to wakeup interrupts > > would be broken behaviour generally. > > Do you realy expect wifi to save significant ammount of power, w

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread samuel
On 1/31/2007, "Pavel Machek" <[EMAIL PROTECTED]> wrote: >On Wed 2007-01-31 13:53:20, Amit Kucheria wrote: >> On Wed, 2007-01-31 at 11:48 +0100, ext Andi Kleen wrote: >> > On Wednesday 31 January 2007 11:27, Matthew Garrett wrote: >> > > On Wed, Jan 31, 2007 at 12:13:04PM +0100, Andi Kleen wrote:

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Oliver Neukum
Am Mittwoch, 31. Januar 2007 14:04 schrieb Pavel Machek: > On Wed 2007-01-31 13:53:20, Amit Kucheria wrote: > > On Wed, 2007-01-31 at 11:48 +0100, ext Andi Kleen wrote: > > > On Wednesday 31 January 2007 11:27, Matthew Garrett wrote: > > > > On Wed, Jan 31, 2007 at 12:13:04PM +0100, Andi Kleen wrot

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Pavel Machek
On Wed 2007-01-31 13:53:20, Amit Kucheria wrote: > On Wed, 2007-01-31 at 11:48 +0100, ext Andi Kleen wrote: > > On Wednesday 31 January 2007 11:27, Matthew Garrett wrote: > > > On Wed, Jan 31, 2007 at 12:13:04PM +0100, Andi Kleen wrote: > > > > Matthew Garrett <[EMAIL PROTECTED]> writes: > > > > >

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Amit Kucheria
On Wed, 2007-01-31 at 11:48 +0100, ext Andi Kleen wrote: > On Wednesday 31 January 2007 11:27, Matthew Garrett wrote: > > On Wed, Jan 31, 2007 at 12:13:04PM +0100, Andi Kleen wrote: > > > Matthew Garrett <[EMAIL PROTECTED]> writes: > > > > > > > > PCI seems to require a delay of 10ms when sequenci

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Amit Kucheria
On Wed, 2007-01-31 at 09:48 +, 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 > ipw

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Andi Kleen
On Wednesday 31 January 2007 11:27, Matthew Garrett wrote: > On Wed, Jan 31, 2007 at 12:13:04PM +0100, Andi Kleen wrote: > > Matthew Garrett <[EMAIL PROTECTED]> writes: > > > > > > PCI seems to require a delay of 10ms when sequencing from D3 to D0, > > > which probably isn't acceptable latency fo

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Pavel Machek
Hi! > Based on previous discussions, I've implemented a rough attempt at > providing some level of basic runtime power management on the ipw2100 > chipset. This patch does the following: > > 1) On load, it initialises the hardware and then quiesces it again > 2) On interface up, it powers the h

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Matthew Garrett
On Wed, Jan 31, 2007 at 12:13:04PM +0100, Andi Kleen wrote: > Matthew Garrett <[EMAIL PROTECTED]> writes: > > > > PCI seems to require a delay of 10ms when sequencing from D3 to D0, > > which probably isn't acceptable latency for an "up" state. > > It might be if the interface has been idle for

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Andi Kleen
Matthew Garrett <[EMAIL PROTECTED]> writes: > > PCI seems to require a delay of 10ms when sequencing from D3 to D0, > which probably isn't acceptable latency for an "up" state. It might be if the interface has been idle for some time (and the delay is not busy looping of course) How idle should

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Amit Kucheria
On Wed, 2007-01-31 at 07:52 +, ext Matthew Garrett wrote: > Based on previous discussions, I've implemented a rough attempt at > providing some level of basic runtime power management on the ipw2100 > chipset. This patch does the following: > > 1) On load, it initialises the hardware and the

Re: [linux-pm] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Matthew Garrett
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(). > Would