From: "John W. Linville" <linville@tuxdriver.com>
To: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
ath9k-devel@venema.h4ckr.net, camilo@mesias.co.uk,
Jonathan Nieder <jrnieder@gmail.com>,
Tony Houghton <h@realh.co.uk>,
Rajkumar Manoharan <rmanoharan@atheros.com>,
Adrian Chadd <adrian@freebsd.org>,
lrodriguez@atheros.com
Subject: Re: [PATCH -next 0/8] ath9k: ASPM fixes
Date: Thu, 11 Aug 2011 12:08:48 -0400 [thread overview]
Message-ID: <20110811160847.GD2566@tuxdriver.com> (raw)
In-Reply-To: <1312542639-4274-1-git-send-email-sgruszka@redhat.com>
On Fri, Aug 05, 2011 at 01:10:31PM +0200, Stanislaw Gruszka wrote:
> 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(-)
I'm happy to take patches 1-3 through my tree. But maybe patches 4-8
should go through a PCI tree? Or at least get some ACKS from the
appropriate maintainers to take these changes through the wireless
trees?
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
next prev parent reply other threads:[~2011-08-11 16:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` John W. Linville [this message]
2011-08-12 12:35 ` [PATCH -next 0/8] ath9k: ASPM fixes Stanislaw Gruszka
2011-08-12 18:49 ` Jeff Kirsher
2011-08-17 15:41 ` Stanislaw Gruszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110811160847.GD2566@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=adrian@freebsd.org \
--cc=ath9k-devel@venema.h4ckr.net \
--cc=camilo@mesias.co.uk \
--cc=h@realh.co.uk \
--cc=jrnieder@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
--cc=rmanoharan@atheros.com \
--cc=sgruszka@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).