linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* is L1 really disabled in iwlwifi
@ 2013-03-04  8:41 Emmanuel Grumbach
  2013-03-04 13:44 ` John W. Linville
  2013-03-04 13:49 ` Stanislaw Gruszka
  0 siblings, 2 replies; 24+ messages in thread
From: Emmanuel Grumbach @ 2013-03-04  8:41 UTC (permalink / raw)
  To: linux-pci, linux-wireless, John Linville

Hi,

In 1a7123cdd9f49cf1c908fb2c16d26f279c88d8c9, John Linville disabled
ASPM for iwlwifi:

	/* W/A - seems to solve weird behavior. We need to remove this if we
	 * don't want to stay in L1 all the time. This wastes a lot of power */
	pci_disable_link_state(pdev, PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1 |
			       PCIE_LINK_STATE_CLKPM);

Now, I took a laptop with 3.7.9 (that supports L1) and measured power.
I would expect to see that as long as the driver isn't loaded, the
power consumption is low (L1 enabled), and when I load the driver, the
power consumption rises because L1 gets disabled.
But this is not what I see. I see more the less the same numbers
before and after driver load.
I don't remember exactly the numbers, but I do remember they were low
(around 1mA or so) - but I really need to check.
I also removed the code above, and it didn't change anything.
Can it be that this code doesn't have any effect?

And as you can see, I am not an expert at this...


Emmanuel Grumbach
egrumbach@gmail.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2013-05-17  5:49 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04  8:41 is L1 really disabled in iwlwifi Emmanuel Grumbach
2013-03-04 13:44 ` John W. Linville
2013-03-04 13:49 ` Stanislaw Gruszka
2013-03-04 14:57   ` Emmanuel Grumbach
2013-03-04 15:11     ` John W. Linville
2013-03-04 15:48     ` Stanislaw Gruszka
2013-03-04 17:58       ` Emmanuel Grumbach
2013-03-17 15:59         ` Roman Yepishev
2013-03-29 18:24         ` Bjorn Helgaas
2013-03-30 18:38           ` Emmanuel Grumbach
2013-03-30 21:26             ` Bjorn Helgaas
     [not found]               ` <CANUX_P2Hy02SnyYS24dyUGLv3wB3L5xkXt8Y1s+8_RG9d5ReAw@mail.gmail.com>
2013-04-02 11:12                 ` Emmanuel Grumbach
2013-04-07 12:23                   ` Emmanuel Grumbach
2013-04-08 16:28                     ` Bjorn Helgaas
     [not found]                       ` <CANUX_P0hpx8NNvX6cJXfOZMNYN8hrEF-gzf9hBN2Uz=k0WiwgA@mail.gmail.com>
2013-04-30 10:57                         ` Emmanuel Grumbach
2013-04-30 22:45                           ` Bjorn Helgaas
2013-04-30 22:55                             ` Matthew Garrett
2013-05-01  8:31                               ` Emmanuel Grumbach
2013-05-01 17:13                                 ` Bjorn Helgaas
2013-05-10 22:52                                   ` Bjorn Helgaas
2013-05-11 20:26                                     ` Rafael J. Wysocki
2013-05-11 20:22                                       ` Matthew Garrett
2013-05-16 22:55                                         ` Bjorn Helgaas
2013-05-17  5:49                                           ` Emmanuel Grumbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).