1
0
Fork 0
alistair23-linux/drivers/net/wireless/rt2x00
Stanislaw Gruszka f4e1a4d3ec rt2800: change initialization sequence to fix system freeze
My commit

commit c630ccf1a1
Author: Stanislaw Gruszka <stf_xl@wp.pl>
Date:   Sat Mar 16 19:19:46 2013 +0100

    rt2800: rearrange bbp/rfcsr initialization

make Maxim machine freeze when try to start wireless device.

Initialization order and sending MCU_BOOT_SIGNAL request, changed in
above commit, is important. Doing things incorrectly make PCIe bus
problems, which can froze the machine.

This patch change initialization sequence like vendor driver do:
function NICInitializeAsic() from
2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO (PCI devices) and
DPO_RT5572_LinuxSTA_2.6.1.3_20121022 (according Mediatek, latest driver
for RT8070/RT3070/RT3370/RT3572/RT5370/RT5372/RT5572 USB devices).
It fixes freezes on Maxim system.

Resolve:
https://bugzilla.redhat.com/show_bug.cgi?id=1000679

Reported-and-tested-by: Maxim Polyakov <polyakov@dexmalabs.com>
Bisected-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-09-09 14:44:34 -04:00
..
Kconfig Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-07-25 16:48:01 -04:00
Makefile rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00.h rt2x00: rt2800lib: add default_power3 field for three-chain devices 2013-07-22 16:54:33 -04:00
rt2x00config.c mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan 2013-03-25 19:19:35 +01:00
rt2x00crypto.c rt2x00: Don't use queue entry as parameter when creating TX descriptor. 2011-07-07 13:20:58 -04:00
rt2x00debug.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00debug.h rt2x00: Add debugfs access for rfcsr register 2012-05-08 21:53:46 -04:00
rt2x00dev.c drivers/net: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-03 22:28:04 -04:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00leds.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00leds.h
rt2x00lib.h rt2x00: Use GFP_KERNEL for rx buffer allocation on USB devices 2012-04-23 15:35:29 -04:00
rt2x00link.c rt2x00:Add VCO recalibration 2012-02-27 14:05:44 -05:00
rt2x00mac.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00mmio.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00mmio.h rt2x00: rt2x00mmio: remove unused rt2x00pci_* defines 2013-04-10 14:10:32 -04:00
rt2x00pci.c rt2x00pci: Use PCI MSIs whenever possible 2013-05-22 15:05:32 -04:00
rt2x00pci.h rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00queue.c net: wireless: rt2x00: Staticize rt2x00queue_pause_queue_nocheck() 2013-08-09 15:57:55 -04:00
rt2x00queue.h rt2x00: remove data_queue_desc struct 2013-06-12 14:59:38 -04:00
rt2x00reg.h
rt2x00soc.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00soc.h
rt2x00usb.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00usb.h
rt61pci.c rt2x00: read 5GHz TX power values from the correct offset 2013-06-24 14:44:25 -04:00
rt61pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt73usb.c rt2x00: read 5GHz TX power values from the correct offset 2013-06-24 14:44:25 -04:00
rt73usb.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2400pci.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2400pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2500pci.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2500pci.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2500usb.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2500usb.h rt2x00: Unify GPIO register field namings 2012-09-07 15:08:40 -04:00
rt2800.h rt2x00: rt2800lib: don't hardcode beacon offsets 2013-08-26 14:09:01 -04:00
rt2800lib.c rt2800: change initialization sequence to fix system freeze 2013-09-09 14:44:34 -04:00
rt2800lib.h rt2x00: rt2800lib: introduce rt2800_get_txwi_rxwi_size helper 2013-08-16 14:17:50 -04:00
rt2800pci.c rt2x00: rt2800pci: fix AUX_CTRL register setup for RT3090/3390/3593/5592 2013-08-16 14:17:51 -04:00
rt2800pci.h rt2x00 : RT3290 chip support v4 2012-06-20 14:41:49 -04:00
rt2800usb.c rt2800usb: Add WLI-UC-G300HP's Product ID. 2013-08-28 13:58:28 -04:00
rt2800usb.h