Larry Finger
664899786c
rtlwifi: rtl8192cu: Fix schedule while atomic bug splat
When run at debug 3 or higher, rtl8192cu reports a BUG as follows:
BUG: scheduling while atomic: kworker/u:0/5281/0x00000002
INFO: lockdep is turned off.
Modules linked in: rtl8192cu rtl8192c_common rtlwifi fuse af_packet bnep bluetooth b43 mac80211 cfg80211 ipv6 snd_hda_codec_conexant kvm_amd k
vm snd_hda_intel snd_hda_codec bcma rng_core snd_pcm ssb mmc_core snd_seq snd_timer snd_seq_device snd i2c_nforce2 sr_mod pcmcia forcedeth i2c_core soundcore
cdrom sg serio_raw k8temp hwmon joydev ac battery pcmcia_core snd_page_alloc video button wmi autofs4 ext4 mbcache jbd2 crc16 thermal processor scsi_dh_alua
scsi_dh_hp_sw scsi_dh_rdac scsi_dh_emc scsi_dh ata_generic pata_acpi pata_amd [last unloaded: rtlwifi]
Pid: 5281, comm: kworker/u:0 Tainted: G W 3.8.0-wl+ #119
Call Trace:
[<ffffffff814531e7>] __schedule_bug+0x62/0x70
[<ffffffff81459af0>] __schedule+0x730/0xa30
[<ffffffff81326e49>] ? usb_hcd_link_urb_to_ep+0x19/0xa0
[<ffffffff8145a0d4>] schedule+0x24/0x70
[<ffffffff814575ec>] schedule_timeout+0x18c/0x2f0
[<ffffffff81459ec0>] ? wait_for_common+0x40/0x180
[<ffffffff8133f461>] ? ehci_urb_enqueue+0xf1/0xee0
[<ffffffff810a579d>] ? trace_hardirqs_on+0xd/0x10
[<ffffffff81459f65>] wait_for_common+0xe5/0x180
[<ffffffff8107d1c0>] ? try_to_wake_up+0x2d0/0x2d0
[<ffffffff8145a08e>] wait_for_completion_timeout+0xe/0x10
[<ffffffff8132ab1c>] usb_start_wait_urb+0x8c/0x100
[<ffffffff8132adf9>] usb_control_msg+0xd9/0x130
[<ffffffffa057dd8d>] _usb_read_sync+0xcd/0x140 [rtlwifi]
[<ffffffffa057de0e>] _usb_read32_sync+0xe/0x10 [rtlwifi]
[<ffffffffa04b0555>] rtl92cu_update_hal_rate_table+0x1a5/0x1f0 [rtl8192cu]
The cause is a synchronous read from routine rtl92cu_update_hal_rate_table().
The resulting output is not critical, thus the debug statement is
deleted.
Reported-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-03-08 15:58:07 -05:00
..
2012-12-03 11:16:10 -08:00
2013-02-26 17:30:38 -05:00
2013-02-21 13:41:04 -08:00
2013-02-21 13:41:04 -08:00
2013-01-06 21:06:31 -08:00
2013-01-10 00:04:34 -08:00
2013-03-06 14:57:17 -05:00
2012-12-07 14:22:22 -05:00
2013-02-21 13:41:04 -08:00
2013-01-22 12:01:34 -08:00
2013-02-21 13:57:13 -08:00
2013-02-15 15:35:34 -05:00
2013-02-21 17:40:58 -08:00
2013-02-28 15:37:30 -05:00
2013-02-27 19:10:18 -08:00
2013-01-18 16:15:27 -08:00
2013-02-21 12:05:51 -08:00
2013-03-03 01:43:47 -05:00
2013-02-24 20:18:55 -05:00
2013-02-26 20:16:07 -08:00
2013-02-20 18:58:50 -08:00
2013-03-08 15:58:07 -05:00
2013-02-19 13:04:34 -05:00
2012-12-28 15:24:19 -08:00
2013-01-14 15:13:39 -05:00
2013-02-26 11:44:11 -08:00
2013-01-27 01:30:35 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:18 -08:00
2013-01-17 19:11:14 -08:00
2013-01-08 17:56:10 -08:00
2013-01-20 15:48:14 -08:00
2013-01-06 21:06:31 -08:00
2013-01-22 10:39:56 -05:00
2012-11-19 14:31:35 +01:00
2013-02-27 19:10:24 -08:00
2013-02-10 20:41:43 -05:00
2013-02-26 14:49:12 -08:00
2013-03-06 02:47:05 -05:00
2013-01-07 19:51:19 -08:00