linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/8] ath9k: ASPM fixes
@ 2011-08-05 11:10 Stanislaw Gruszka
  2011-08-05 11:10 ` [PATCH -next 1/8] ath9k: remove ->config_pci_powersave() redundant argument Stanislaw Gruszka
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Stanislaw Gruszka @ 2011-08-05 11:10 UTC (permalink / raw)
  To: John W. Linville, linux-wireless
  Cc: ath9k-devel, camilo, Jonathan Nieder, Tony Houghton,
	Rajkumar Manoharan, ath9k-devel, Adrian Chadd, lrodriguez

This patch series try to fix ath9k ASPM. Some of patches are cleanup
only or do merging common code (with e1000e driver).

With CONFIG_PCIEASPM it's possible to change ASPM settings on runtime
via /sys/module/pcie_aspm/parameters/policy . However most drivers
I looked at assume this setting is constant. I add a callback to pci
driver to inform about the change, and allow driver to do needed hw
related changes. Currently only ath9k implement the callback, but
I think it will be useful for other drivers i.e. iwlwifi, rtlwifi
that do some own ASPM handling.

Would be nice to get some testing on patches on different
platforms with ath9k devices on kernel compiled with CONFIG_PCIEASPM
(default) and mixing up commands:

echo powersave > /sys/module/pcie_aspm/parameters/policy  
echo performance > /sys/module/pcie_aspm/parameters/policy  
ifconfig wlan0 down
ifconfig wlan0 up
pm-suspend

Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: linux-pci@vger.kernel.org
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: e1000-devel@lists.sourceforge.net
---
 drivers/net/e1000e/netdev.c                |   31 ----------
 drivers/net/wireless/ath/ath9k/ar9002_hw.c |   12 ---
 drivers/net/wireless/ath/ath9k/ar9003_hw.c |   12 ---
 drivers/net/wireless/ath/ath9k/hw-ops.h    |    9 +-
 drivers/net/wireless/ath/ath9k/hw.c        |   17 +++--
 drivers/net/wireless/ath/ath9k/hw.h        |   12 +--
 drivers/net/wireless/ath/ath9k/main.c      |    8 --
 drivers/net/wireless/ath/ath9k/pci.c       |   88 ++++++++++++++++++++++-------
 drivers/pci/pcie/Makefile                  |    3 
 drivers/pci/pcie/aspm.c                    |   46 ++++++++++++++-
 include/linux/pci-aspm.h                   |    2 
 include/linux/pci.h                        |    3 
 12 files changed, 148 insertions(+), 95 deletions(-)

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

end of thread, other threads:[~2011-08-17 15:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 11:10 [PATCH -next 0/8] ath9k: ASPM fixes Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 1/8] ath9k: remove ->config_pci_powersave() redundant argument Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 2/8] ath9k: merge common ->config_pci_powersave() checks Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 3/8] ath9k: do btcoex ASPM disabling at initialization time Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 4/8] pci: aspm: add function for disabling ASPM Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 5/8] ath9k: use common " Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 6/8] e1000e: " Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 7/8] pci: aspm: add settings changed callback Stanislaw Gruszka
2011-08-05 11:10 ` [PATCH -next 8/8] ath9k: be prepare for dynamic ASPM settings change Stanislaw Gruszka
2011-08-11 16:08 ` [PATCH -next 0/8] ath9k: ASPM fixes John W. Linville
2011-08-12 12:35   ` Stanislaw Gruszka
2011-08-12 18:49     ` Jeff Kirsher
2011-08-17 15:41       ` Stanislaw Gruszka

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).