linux_dsm_epyc7002/drivers/net/wireless
Maxim Levitsky 6ccf15a1a7 ath5k: disable ASPM L0s for all cards
Atheros PCIe wireless cards handled by ath5k do require L0s disabled.
For distributions shipping with CONFIG_PCIEASPM (this will be enabled
by default in the future in 2.6.36) this will also mean both L1 and L0s
will be disabled when a pre 1.1 PCIe device is detected. We do know L1
works correctly even for all ath5k pre 1.1 PCIe devices though but cannot
currently undue the effect of a blacklist, for details you can read
pcie_aspm_sanity_check() and see how it adjusts the device link
capability.

It may be possible in the future to implement some PCI API to allow
drivers to override blacklists for pre 1.1 PCIe but for now it is
best to accept that both L0s and L1 will be disabled completely for
distributions shipping with CONFIG_PCIEASPM rather than having this
issue present. Motivation for adding this new API will be to help
with power consumption for some of these devices.

Example of issues you'd see:

  - On the Acer Aspire One (AOA150, Atheros Communications Inc. AR5001
    Wireless Network Adapter [168c:001c] (rev 01)) doesn't work well
    with ASPM enabled, the card will eventually stall on heavy traffic
    with often 'unsupported jumbo' warnings appearing. Disabling
    ASPM L0s in ath5k fixes these problems.

  - On the same card you would see a storm of RXORN interrupts
    even though medium is idle.

Credit for root causing and fixing the bug goes to Jussi Kivilinna.

Cc: David Quan <David.Quan@atheros.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Tim Gardner <tim.gardner@canonical.com>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Cc: stable@kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-08-13 13:46:20 -04:00
..
ath ath5k: disable ASPM L0s for all cards 2010-08-13 13:46:20 -04:00
b43 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
b43legacy
hostap Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-08-04 15:31:02 -07:00
ipw2x00 ipw2100: register pm_qos request before registering pci driver 2010-08-11 16:18:01 -04:00
iwlwifi iwlagn: fix rts cts protection 2010-08-09 15:18:57 -04:00
iwmc3200wifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
libertas libertas: fix build break by including linux/sched.h 2010-08-09 15:14:21 -04:00
libertas_tf libertas_tf: add get_survey callback in order to get channel noise 2010-07-29 12:46:48 -04:00
orinoco Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-08-04 11:47:58 -07:00
p54 Revert "p54pci: Add PCI ID for SMC2802W" 2010-08-09 12:04:56 -04:00
prism54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-07-13 15:57:29 -04:00
rt2x00 rt2x00: do not use PCI resources before pci_enable_device() 2010-08-04 15:28:37 -04:00
rtl818x rtl8180: avoid potential NULL deref in rtl8180_beacon_work 2010-08-05 16:05:27 -04:00
wl12xx wl1251: fix trigger scan timeout usage 2010-08-13 13:46:19 -04:00
zd1211rw
adm8211.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
adm8211.h
airo_cs.c
airo.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
airo.h
at76c50x-usb.c drivers/net/wireless/at76c50x-usb.c: Neaten macros 2010-07-27 15:14:13 -04:00
at76c50x-usb.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
Makefile
mwl8k.c mwl8k: add get_survey callback in order to get channel noise 2010-07-29 12:46:45 -04:00
ray_cs.c wireless: use newly introduced hex_to_bin() 2010-07-23 12:50:51 -07:00
ray_cs.h
rayctl.h
rndis_wlan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-07-01 17:34:14 -07:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h