linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/RFT v2 00/12] ath9k: ASPM fixes
@ 2011-07-27 12:14 Stanislaw Gruszka
  2011-07-27 12:14 ` [RFC/RFT v2 01/12] ath9k: skip ->config_pci_powersave() if PCIe port has ASPM disabled Stanislaw Gruszka
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Stanislaw Gruszka @ 2011-07-27 12:14 UTC (permalink / raw)
  To: linux-wireless
  Cc: ath9k-devel, camilo, Jonathan Nieder, Tony Houghton,
	Rajkumar Manoharan, ath9k-devel, Adrian Chadd, Jesse Barnes,
	linux-pci, Jeff Kirsher, e1000-devel

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.

These patches needs wide testing as they may work on some systems
and not work on others, that can depend on PCIe bridges.

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] 15+ messages in thread

end of thread, other threads:[~2011-07-29 13:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27 12:14 [RFC/RFT v2 00/12] ath9k: ASPM fixes Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 01/12] ath9k: skip ->config_pci_powersave() if PCIe port has ASPM disabled Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 02/12] ath9k: remove ->config_pci_powersave() redundant argument Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 03/12] ath9k: merge common ->config_pci_powersave() checks Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 04/12] ath9k: use common PCIe ASPM definces instead of custom ones Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 05/12] ath9k: do btcoex ASPM disabling at initialization time Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 06/12] ath9k: init PCIe PM and SERDES registers if ASPM is enabled Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 07/12] pci: aspm: add function for disabling ASPM Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 08/12] ath9k: use common " Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 09/12] e1000e: " Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 10/12] pci: aspm: add settings changed callback Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 11/12] ath9k: be prepare for dynamic ASPM settings change Stanislaw Gruszka
2011-07-27 12:14 ` [RFC/RFT v2 12/12] ath9k: fix initialization ordering issues Stanislaw Gruszka
2011-07-27 16:11 ` [RFC/RFT v2 00/12] ath9k: ASPM fixes Jesse Barnes
2011-07-29 13:20   ` 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).