<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/wireless, branch v3.12.35</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>rt2x00: do not align payload on modern H/W</title>
<updated>2014-12-06T14:18:25+00:00</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>sgruszka@redhat.com</email>
</author>
<published>2014-11-11T13:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8c3b78ffdeff62372503e92c606a262be51fb19a'/>
<id>8c3b78ffdeff62372503e92c606a262be51fb19a</id>
<content type='text'>
commit cfd9167af14eb4ec21517a32911d460083ee3d59 upstream.

RT2800 and newer hardware require padding between header and payload if
header length is not multiple of 4.

For historical reasons we also align payload to to 4 bytes boundary, but
such alignment is not needed on modern H/W.

Patch fixes skb_under_panic problems reported from time to time:

https://bugzilla.kernel.org/show_bug.cgi?id=84911
https://bugzilla.kernel.org/show_bug.cgi?id=72471
http://marc.info/?l=linux-wireless&amp;m=139108549530402&amp;w=2
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1087591

Panic happened because we eat 4 bytes of skb headroom on each
(re)transmission when sending frame without the payload and the header
length not being multiple of 4 (i.e. QoS header has 26 bytes). On such
case because paylad_aling=2 is bigger than header_align=0 we increase
header_align by 4 bytes. To prevent that we could change the check to:

	if (payload_length &amp;&amp; payload_align &gt; header_align)
		header_align += 4;

but not aligning payload at all is more effective and alignment is not
really needed by H/W (that has been tested on OpenWrt project for few
years now).

Reported-and-tested-by: Antti S. Lankila &lt;alankila@bel.fi&gt;
Debugged-by: Antti S. Lankila &lt;alankila@bel.fi&gt;
Reported-by: Henrik Asp &lt;solenskiner@gmail.com&gt;
Originally-From: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit cfd9167af14eb4ec21517a32911d460083ee3d59 upstream.

RT2800 and newer hardware require padding between header and payload if
header length is not multiple of 4.

For historical reasons we also align payload to to 4 bytes boundary, but
such alignment is not needed on modern H/W.

Patch fixes skb_under_panic problems reported from time to time:

https://bugzilla.kernel.org/show_bug.cgi?id=84911
https://bugzilla.kernel.org/show_bug.cgi?id=72471
http://marc.info/?l=linux-wireless&amp;m=139108549530402&amp;w=2
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1087591

Panic happened because we eat 4 bytes of skb headroom on each
(re)transmission when sending frame without the payload and the header
length not being multiple of 4 (i.e. QoS header has 26 bytes). On such
case because paylad_aling=2 is bigger than header_align=0 we increase
header_align by 4 bytes. To prevent that we could change the check to:

	if (payload_length &amp;&amp; payload_align &gt; header_align)
		header_align += 4;

but not aligning payload at all is more effective and alignment is not
really needed by H/W (that has been tested on OpenWrt project for few
years now).

Reported-and-tested-by: Antti S. Lankila &lt;alankila@bel.fi&gt;
Debugged-by: Antti S. Lankila &lt;alankila@bel.fi&gt;
Reported-by: Henrik Asp &lt;solenskiner@gmail.com&gt;
Originally-From: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath9k: Fix RTC_DERIVED_CLK usage</title>
<updated>2014-12-06T14:17:45+00:00</updated>
<author>
<name>Miaoqing Pan</name>
<email>miaoqing@qca.qualcomm.com</email>
</author>
<published>2014-11-06T05:22:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1043c385dd176fc1061781f9a9896cff540f6ea7'/>
<id>1043c385dd176fc1061781f9a9896cff540f6ea7</id>
<content type='text'>
commit 4e6ce4dc7ce71d0886908d55129d5d6482a27ff9 upstream.

Based on the reference clock, which could be 25MHz or 40MHz,
AR_RTC_DERIVED_CLK is programmed differently for AR9340 and AR9550.
But, when a chip reset is done, processing the initvals
sets the register back to the default value.

Fix this by moving the code in ath9k_hw_init_pll() to
ar9003_hw_override_ini(). Also, do this override for AR9531.

js: remove AR_SREV_9531 test as 9531 support is not in 3.12 yet

Signed-off-by: Miaoqing Pan &lt;miaoqing@qca.qualcomm.com&gt;
Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 4e6ce4dc7ce71d0886908d55129d5d6482a27ff9 upstream.

Based on the reference clock, which could be 25MHz or 40MHz,
AR_RTC_DERIVED_CLK is programmed differently for AR9340 and AR9550.
But, when a chip reset is done, processing the initvals
sets the register back to the default value.

Fix this by moving the code in ath9k_hw_init_pll() to
ar9003_hw_override_ini(). Also, do this override for AR9531.

js: remove AR_SREV_9531 test as 9531 support is not in 3.12 yet

Signed-off-by: Miaoqing Pan &lt;miaoqing@qca.qualcomm.com&gt;
Signed-off-by: Sujith Manoharan &lt;c_manoha@qca.qualcomm.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211_hwsim: release driver when ieee80211_register_hw fails</title>
<updated>2014-11-19T17:38:17+00:00</updated>
<author>
<name>Junjie Mao</name>
<email>eternal.n08@gmail.com</email>
</author>
<published>2014-10-28T01:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4d2ff0c7516b4e636e59a0d1e036dc33750c1f89'/>
<id>4d2ff0c7516b4e636e59a0d1e036dc33750c1f89</id>
<content type='text'>
commit 805dbe17d1c832ad341f14fae8cedf41b67ca6fa upstream.

The driver is not released when ieee80211_register_hw fails in
mac80211_hwsim_create_radio, leading to the access to the unregistered (and
possibly freed) device in platform_driver_unregister:

[    0.447547] mac80211_hwsim: ieee80211_register_hw failed (-2)
[    0.448292] ------------[ cut here ]------------
[    0.448854] WARNING: CPU: 0 PID: 1 at ../include/linux/kref.h:47 kobject_get+0x33/0x50()
[    0.449839] CPU: 0 PID: 1 Comm: swapper Not tainted 3.17.0-00001-gdd46990-dirty #2
[    0.450813] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.451512]  00000000 00000000 78025e38 7967c6c6 78025e68 7905e09b 7988b480 00000000
[    0.452579]  00000001 79887d62 0000002f 79170bb3 79170bb3 78397008 79ac9d74 00000001
[    0.453614]  78025e78 7905e15d 00000009 00000000 78025e84 79170bb3 78397000 78025e8c
[    0.454632] Call Trace:
[    0.454921]  [&lt;7967c6c6&gt;] dump_stack+0x16/0x18
[    0.455453]  [&lt;7905e09b&gt;] warn_slowpath_common+0x6b/0x90
[    0.456067]  [&lt;79170bb3&gt;] ? kobject_get+0x33/0x50
[    0.456612]  [&lt;79170bb3&gt;] ? kobject_get+0x33/0x50
[    0.457155]  [&lt;7905e15d&gt;] warn_slowpath_null+0x1d/0x20
[    0.457748]  [&lt;79170bb3&gt;] kobject_get+0x33/0x50
[    0.458274]  [&lt;7925824f&gt;] get_device+0xf/0x20
[    0.458779]  [&lt;7925b5cd&gt;] driver_detach+0x3d/0xa0
[    0.459331]  [&lt;7925a3ff&gt;] bus_remove_driver+0x8f/0xb0
[    0.459927]  [&lt;7925bf80&gt;] ? class_unregister+0x40/0x80
[    0.460660]  [&lt;7925bad7&gt;] driver_unregister+0x47/0x50
[    0.461248]  [&lt;7925c033&gt;] ? class_destroy+0x13/0x20
[    0.461824]  [&lt;7925d07b&gt;] platform_driver_unregister+0xb/0x10
[    0.462507]  [&lt;79b51ba0&gt;] init_mac80211_hwsim+0x3e8/0x3f9
[    0.463161]  [&lt;79b30c58&gt;] do_one_initcall+0x106/0x1a9
[    0.463758]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.464393]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.465001]  [&lt;79071935&gt;] ? parse_args+0x2f5/0x480
[    0.465569]  [&lt;7906b41e&gt;] ? __usermodehelper_set_disable_depth+0x3e/0x50
[    0.466345]  [&lt;79b30dd9&gt;] kernel_init_freeable+0xde/0x17d
[    0.466972]  [&lt;79b304d6&gt;] ? do_early_param+0x7a/0x7a
[    0.467546]  [&lt;79677b1b&gt;] kernel_init+0xb/0xe0
[    0.468072]  [&lt;79075f42&gt;] ? schedule_tail+0x12/0x40
[    0.468658]  [&lt;79686580&gt;] ret_from_kernel_thread+0x20/0x30
[    0.469303]  [&lt;79677b10&gt;] ? rest_init+0xc0/0xc0
[    0.469829] ---[ end trace ad8ac403ff8aef5c ]---
[    0.470509] ------------[ cut here ]------------
[    0.471047] WARNING: CPU: 0 PID: 1 at ../kernel/locking/lockdep.c:3161 __lock_acquire.isra.22+0x7aa/0xb00()
[    0.472163] DEBUG_LOCKS_WARN_ON(id &gt;= MAX_LOCKDEP_KEYS)
[    0.472774] CPU: 0 PID: 1 Comm: swapper Tainted: G        W      3.17.0-00001-gdd46990-dirty #2
[    0.473815] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.474492]  78025de0 78025de0 78025da0 7967c6c6 78025dd0 7905e09b 79888931 78025dfc
[    0.475515]  00000001 79888a93 00000c59 7907f33a 7907f33a 78028000 fffe9d09 00000000
[    0.476519]  78025de8 7905e10e 00000009 78025de0 79888931 78025dfc 78025e24 7907f33a
[    0.477523] Call Trace:
[    0.477821]  [&lt;7967c6c6&gt;] dump_stack+0x16/0x18
[    0.478352]  [&lt;7905e09b&gt;] warn_slowpath_common+0x6b/0x90
[    0.478976]  [&lt;7907f33a&gt;] ? __lock_acquire.isra.22+0x7aa/0xb00
[    0.479658]  [&lt;7907f33a&gt;] ? __lock_acquire.isra.22+0x7aa/0xb00
[    0.480417]  [&lt;7905e10e&gt;] warn_slowpath_fmt+0x2e/0x30
[    0.480479]  [&lt;7907f33a&gt;] __lock_acquire.isra.22+0x7aa/0xb00
[    0.480479]  [&lt;79078aa5&gt;] ? sched_clock_cpu+0xb5/0xf0
[    0.480479]  [&lt;7907fd06&gt;] lock_acquire+0x56/0x70
[    0.480479]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.480479]  [&lt;79682d11&gt;] mutex_lock_nested+0x61/0x2a0
[    0.480479]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.480479]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.480479]  [&lt;7925b5e8&gt;] driver_detach+0x58/0xa0
[    0.480479]  [&lt;7925a3ff&gt;] bus_remove_driver+0x8f/0xb0
[    0.480479]  [&lt;7925bf80&gt;] ? class_unregister+0x40/0x80
[    0.480479]  [&lt;7925bad7&gt;] driver_unregister+0x47/0x50
[    0.480479]  [&lt;7925c033&gt;] ? class_destroy+0x13/0x20
[    0.480479]  [&lt;7925d07b&gt;] platform_driver_unregister+0xb/0x10
[    0.480479]  [&lt;79b51ba0&gt;] init_mac80211_hwsim+0x3e8/0x3f9
[    0.480479]  [&lt;79b30c58&gt;] do_one_initcall+0x106/0x1a9
[    0.480479]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.480479]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.480479]  [&lt;79071935&gt;] ? parse_args+0x2f5/0x480
[    0.480479]  [&lt;7906b41e&gt;] ? __usermodehelper_set_disable_depth+0x3e/0x50
[    0.480479]  [&lt;79b30dd9&gt;] kernel_init_freeable+0xde/0x17d
[    0.480479]  [&lt;79b304d6&gt;] ? do_early_param+0x7a/0x7a
[    0.480479]  [&lt;79677b1b&gt;] kernel_init+0xb/0xe0
[    0.480479]  [&lt;79075f42&gt;] ? schedule_tail+0x12/0x40
[    0.480479]  [&lt;79686580&gt;] ret_from_kernel_thread+0x20/0x30
[    0.480479]  [&lt;79677b10&gt;] ? rest_init+0xc0/0xc0
[    0.480479] ---[ end trace ad8ac403ff8aef5d ]---
[    0.495478] BUG: unable to handle kernel paging request at 00200200
[    0.496257] IP: [&lt;79682de5&gt;] mutex_lock_nested+0x135/0x2a0
[    0.496923] *pde = 00000000
[    0.497290] Oops: 0002 [#1]
[    0.497653] CPU: 0 PID: 1 Comm: swapper Tainted: G        W      3.17.0-00001-gdd46990-dirty #2
[    0.498659] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.499321] task: 78028000 ti: 78024000 task.ti: 78024000
[    0.499955] EIP: 0060:[&lt;79682de5&gt;] EFLAGS: 00010097 CPU: 0
[    0.500620] EIP is at mutex_lock_nested+0x135/0x2a0
[    0.501145] EAX: 00200200 EBX: 78397434 ECX: 78397460 EDX: 78025e70
[    0.501816] ESI: 00000246 EDI: 78028000 EBP: 78025e8c ESP: 78025e54
[    0.502497]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.503076] CR0: 8005003b CR2: 00200200 CR3: 01b9d000 CR4: 00000690
[    0.503773] Stack:
[    0.503998]  00000000 00000001 00000000 7925b5e8 78397460 7925b5e8 78397474 78397460
[    0.504944]  00200200 11111111 78025e70 78397000 79ac9d74 00000001 78025ea0 7925b5e8
[    0.505451]  79ac9d74 fffffffe 00000001 78025ebc 7925a3ff 7a251398 78025ec8 7925bf80
[    0.505451] Call Trace:
[    0.505451]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.505451]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.505451]  [&lt;7925b5e8&gt;] driver_detach+0x58/0xa0
[    0.505451]  [&lt;7925a3ff&gt;] bus_remove_driver+0x8f/0xb0
[    0.505451]  [&lt;7925bf80&gt;] ? class_unregister+0x40/0x80
[    0.505451]  [&lt;7925bad7&gt;] driver_unregister+0x47/0x50
[    0.505451]  [&lt;7925c033&gt;] ? class_destroy+0x13/0x20
[    0.505451]  [&lt;7925d07b&gt;] platform_driver_unregister+0xb/0x10
[    0.505451]  [&lt;79b51ba0&gt;] init_mac80211_hwsim+0x3e8/0x3f9
[    0.505451]  [&lt;79b30c58&gt;] do_one_initcall+0x106/0x1a9
[    0.505451]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.505451]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.505451]  [&lt;79071935&gt;] ? parse_args+0x2f5/0x480
[    0.505451]  [&lt;7906b41e&gt;] ? __usermodehelper_set_disable_depth+0x3e/0x50
[    0.505451]  [&lt;79b30dd9&gt;] kernel_init_freeable+0xde/0x17d
[    0.505451]  [&lt;79b304d6&gt;] ? do_early_param+0x7a/0x7a
[    0.505451]  [&lt;79677b1b&gt;] kernel_init+0xb/0xe0
[    0.505451]  [&lt;79075f42&gt;] ? schedule_tail+0x12/0x40
[    0.505451]  [&lt;79686580&gt;] ret_from_kernel_thread+0x20/0x30
[    0.505451]  [&lt;79677b10&gt;] ? rest_init+0xc0/0xc0
[    0.505451] Code: 89 d8 e8 cf 9b 9f ff 8b 4f 04 8d 55 e4 89 d8 e8 72 9d 9f ff 8d 43 2c 89 c1 89 45 d8 8b 43 30 8d 55 e4 89 53 30 89 4d e4 89 45 e8 &lt;89&gt; 10 8b 55 dc 8b 45 e0 89 7d ec e8 db af 9f ff eb 11 90 31 c0
[    0.505451] EIP: [&lt;79682de5&gt;] mutex_lock_nested+0x135/0x2a0 SS:ESP 0068:78025e54
[    0.505451] CR2: 0000000000200200
[    0.505451] ---[ end trace ad8ac403ff8aef5e ]---
[    0.505451] Kernel panic - not syncing: Fatal exception

Fixes: 9ea927748ced ("mac80211_hwsim: Register and bind to driver")
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Junjie Mao &lt;eternal.n08@gmail.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 805dbe17d1c832ad341f14fae8cedf41b67ca6fa upstream.

The driver is not released when ieee80211_register_hw fails in
mac80211_hwsim_create_radio, leading to the access to the unregistered (and
possibly freed) device in platform_driver_unregister:

[    0.447547] mac80211_hwsim: ieee80211_register_hw failed (-2)
[    0.448292] ------------[ cut here ]------------
[    0.448854] WARNING: CPU: 0 PID: 1 at ../include/linux/kref.h:47 kobject_get+0x33/0x50()
[    0.449839] CPU: 0 PID: 1 Comm: swapper Not tainted 3.17.0-00001-gdd46990-dirty #2
[    0.450813] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.451512]  00000000 00000000 78025e38 7967c6c6 78025e68 7905e09b 7988b480 00000000
[    0.452579]  00000001 79887d62 0000002f 79170bb3 79170bb3 78397008 79ac9d74 00000001
[    0.453614]  78025e78 7905e15d 00000009 00000000 78025e84 79170bb3 78397000 78025e8c
[    0.454632] Call Trace:
[    0.454921]  [&lt;7967c6c6&gt;] dump_stack+0x16/0x18
[    0.455453]  [&lt;7905e09b&gt;] warn_slowpath_common+0x6b/0x90
[    0.456067]  [&lt;79170bb3&gt;] ? kobject_get+0x33/0x50
[    0.456612]  [&lt;79170bb3&gt;] ? kobject_get+0x33/0x50
[    0.457155]  [&lt;7905e15d&gt;] warn_slowpath_null+0x1d/0x20
[    0.457748]  [&lt;79170bb3&gt;] kobject_get+0x33/0x50
[    0.458274]  [&lt;7925824f&gt;] get_device+0xf/0x20
[    0.458779]  [&lt;7925b5cd&gt;] driver_detach+0x3d/0xa0
[    0.459331]  [&lt;7925a3ff&gt;] bus_remove_driver+0x8f/0xb0
[    0.459927]  [&lt;7925bf80&gt;] ? class_unregister+0x40/0x80
[    0.460660]  [&lt;7925bad7&gt;] driver_unregister+0x47/0x50
[    0.461248]  [&lt;7925c033&gt;] ? class_destroy+0x13/0x20
[    0.461824]  [&lt;7925d07b&gt;] platform_driver_unregister+0xb/0x10
[    0.462507]  [&lt;79b51ba0&gt;] init_mac80211_hwsim+0x3e8/0x3f9
[    0.463161]  [&lt;79b30c58&gt;] do_one_initcall+0x106/0x1a9
[    0.463758]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.464393]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.465001]  [&lt;79071935&gt;] ? parse_args+0x2f5/0x480
[    0.465569]  [&lt;7906b41e&gt;] ? __usermodehelper_set_disable_depth+0x3e/0x50
[    0.466345]  [&lt;79b30dd9&gt;] kernel_init_freeable+0xde/0x17d
[    0.466972]  [&lt;79b304d6&gt;] ? do_early_param+0x7a/0x7a
[    0.467546]  [&lt;79677b1b&gt;] kernel_init+0xb/0xe0
[    0.468072]  [&lt;79075f42&gt;] ? schedule_tail+0x12/0x40
[    0.468658]  [&lt;79686580&gt;] ret_from_kernel_thread+0x20/0x30
[    0.469303]  [&lt;79677b10&gt;] ? rest_init+0xc0/0xc0
[    0.469829] ---[ end trace ad8ac403ff8aef5c ]---
[    0.470509] ------------[ cut here ]------------
[    0.471047] WARNING: CPU: 0 PID: 1 at ../kernel/locking/lockdep.c:3161 __lock_acquire.isra.22+0x7aa/0xb00()
[    0.472163] DEBUG_LOCKS_WARN_ON(id &gt;= MAX_LOCKDEP_KEYS)
[    0.472774] CPU: 0 PID: 1 Comm: swapper Tainted: G        W      3.17.0-00001-gdd46990-dirty #2
[    0.473815] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.474492]  78025de0 78025de0 78025da0 7967c6c6 78025dd0 7905e09b 79888931 78025dfc
[    0.475515]  00000001 79888a93 00000c59 7907f33a 7907f33a 78028000 fffe9d09 00000000
[    0.476519]  78025de8 7905e10e 00000009 78025de0 79888931 78025dfc 78025e24 7907f33a
[    0.477523] Call Trace:
[    0.477821]  [&lt;7967c6c6&gt;] dump_stack+0x16/0x18
[    0.478352]  [&lt;7905e09b&gt;] warn_slowpath_common+0x6b/0x90
[    0.478976]  [&lt;7907f33a&gt;] ? __lock_acquire.isra.22+0x7aa/0xb00
[    0.479658]  [&lt;7907f33a&gt;] ? __lock_acquire.isra.22+0x7aa/0xb00
[    0.480417]  [&lt;7905e10e&gt;] warn_slowpath_fmt+0x2e/0x30
[    0.480479]  [&lt;7907f33a&gt;] __lock_acquire.isra.22+0x7aa/0xb00
[    0.480479]  [&lt;79078aa5&gt;] ? sched_clock_cpu+0xb5/0xf0
[    0.480479]  [&lt;7907fd06&gt;] lock_acquire+0x56/0x70
[    0.480479]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.480479]  [&lt;79682d11&gt;] mutex_lock_nested+0x61/0x2a0
[    0.480479]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.480479]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.480479]  [&lt;7925b5e8&gt;] driver_detach+0x58/0xa0
[    0.480479]  [&lt;7925a3ff&gt;] bus_remove_driver+0x8f/0xb0
[    0.480479]  [&lt;7925bf80&gt;] ? class_unregister+0x40/0x80
[    0.480479]  [&lt;7925bad7&gt;] driver_unregister+0x47/0x50
[    0.480479]  [&lt;7925c033&gt;] ? class_destroy+0x13/0x20
[    0.480479]  [&lt;7925d07b&gt;] platform_driver_unregister+0xb/0x10
[    0.480479]  [&lt;79b51ba0&gt;] init_mac80211_hwsim+0x3e8/0x3f9
[    0.480479]  [&lt;79b30c58&gt;] do_one_initcall+0x106/0x1a9
[    0.480479]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.480479]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.480479]  [&lt;79071935&gt;] ? parse_args+0x2f5/0x480
[    0.480479]  [&lt;7906b41e&gt;] ? __usermodehelper_set_disable_depth+0x3e/0x50
[    0.480479]  [&lt;79b30dd9&gt;] kernel_init_freeable+0xde/0x17d
[    0.480479]  [&lt;79b304d6&gt;] ? do_early_param+0x7a/0x7a
[    0.480479]  [&lt;79677b1b&gt;] kernel_init+0xb/0xe0
[    0.480479]  [&lt;79075f42&gt;] ? schedule_tail+0x12/0x40
[    0.480479]  [&lt;79686580&gt;] ret_from_kernel_thread+0x20/0x30
[    0.480479]  [&lt;79677b10&gt;] ? rest_init+0xc0/0xc0
[    0.480479] ---[ end trace ad8ac403ff8aef5d ]---
[    0.495478] BUG: unable to handle kernel paging request at 00200200
[    0.496257] IP: [&lt;79682de5&gt;] mutex_lock_nested+0x135/0x2a0
[    0.496923] *pde = 00000000
[    0.497290] Oops: 0002 [#1]
[    0.497653] CPU: 0 PID: 1 Comm: swapper Tainted: G        W      3.17.0-00001-gdd46990-dirty #2
[    0.498659] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.499321] task: 78028000 ti: 78024000 task.ti: 78024000
[    0.499955] EIP: 0060:[&lt;79682de5&gt;] EFLAGS: 00010097 CPU: 0
[    0.500620] EIP is at mutex_lock_nested+0x135/0x2a0
[    0.501145] EAX: 00200200 EBX: 78397434 ECX: 78397460 EDX: 78025e70
[    0.501816] ESI: 00000246 EDI: 78028000 EBP: 78025e8c ESP: 78025e54
[    0.502497]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.503076] CR0: 8005003b CR2: 00200200 CR3: 01b9d000 CR4: 00000690
[    0.503773] Stack:
[    0.503998]  00000000 00000001 00000000 7925b5e8 78397460 7925b5e8 78397474 78397460
[    0.504944]  00200200 11111111 78025e70 78397000 79ac9d74 00000001 78025ea0 7925b5e8
[    0.505451]  79ac9d74 fffffffe 00000001 78025ebc 7925a3ff 7a251398 78025ec8 7925bf80
[    0.505451] Call Trace:
[    0.505451]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.505451]  [&lt;7925b5e8&gt;] ? driver_detach+0x58/0xa0
[    0.505451]  [&lt;7925b5e8&gt;] driver_detach+0x58/0xa0
[    0.505451]  [&lt;7925a3ff&gt;] bus_remove_driver+0x8f/0xb0
[    0.505451]  [&lt;7925bf80&gt;] ? class_unregister+0x40/0x80
[    0.505451]  [&lt;7925bad7&gt;] driver_unregister+0x47/0x50
[    0.505451]  [&lt;7925c033&gt;] ? class_destroy+0x13/0x20
[    0.505451]  [&lt;7925d07b&gt;] platform_driver_unregister+0xb/0x10
[    0.505451]  [&lt;79b51ba0&gt;] init_mac80211_hwsim+0x3e8/0x3f9
[    0.505451]  [&lt;79b30c58&gt;] do_one_initcall+0x106/0x1a9
[    0.505451]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.505451]  [&lt;79b517b8&gt;] ? if_spi_init_module+0xac/0xac
[    0.505451]  [&lt;79071935&gt;] ? parse_args+0x2f5/0x480
[    0.505451]  [&lt;7906b41e&gt;] ? __usermodehelper_set_disable_depth+0x3e/0x50
[    0.505451]  [&lt;79b30dd9&gt;] kernel_init_freeable+0xde/0x17d
[    0.505451]  [&lt;79b304d6&gt;] ? do_early_param+0x7a/0x7a
[    0.505451]  [&lt;79677b1b&gt;] kernel_init+0xb/0xe0
[    0.505451]  [&lt;79075f42&gt;] ? schedule_tail+0x12/0x40
[    0.505451]  [&lt;79686580&gt;] ret_from_kernel_thread+0x20/0x30
[    0.505451]  [&lt;79677b10&gt;] ? rest_init+0xc0/0xc0
[    0.505451] Code: 89 d8 e8 cf 9b 9f ff 8b 4f 04 8d 55 e4 89 d8 e8 72 9d 9f ff 8d 43 2c 89 c1 89 45 d8 8b 43 30 8d 55 e4 89 53 30 89 4d e4 89 45 e8 &lt;89&gt; 10 8b 55 dc 8b 45 e0 89 7d ec e8 db af 9f ff eb 11 90 31 c0
[    0.505451] EIP: [&lt;79682de5&gt;] mutex_lock_nested+0x135/0x2a0 SS:ESP 0068:78025e54
[    0.505451] CR2: 0000000000200200
[    0.505451] ---[ end trace ad8ac403ff8aef5e ]---
[    0.505451] Kernel panic - not syncing: Fatal exception

Fixes: 9ea927748ced ("mac80211_hwsim: Register and bind to driver")
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Junjie Mao &lt;eternal.n08@gmail.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: configure the LTR</title>
<updated>2014-11-19T17:29:16+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2014-11-19T16:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=9546673d9dc0c6c642d7f4740622d15d7fb980f9'/>
<id>9546673d9dc0c6c642d7f4740622d15d7fb980f9</id>
<content type='text'>
commit 9180ac50716a097a407c6d7e7e4589754a922260 upstream.

The LTR is the handshake between the device and the root
complex about the latency allowed when the bus exits power
save. This configuration was missing and this led to high
latency in the link power up. The end user could experience
high latency in the network because of this.

Cc: &lt;stable@vger.kernel.org&gt; [3.10+]
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 9180ac50716a097a407c6d7e7e4589754a922260 upstream.

The LTR is the handshake between the device and the root
complex about the latency allowed when the bus exits power
save. This configuration was missing and this led to high
latency in the link power up. The end user could experience
high latency in the network because of this.

Cc: &lt;stable@vger.kernel.org&gt; [3.10+]
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wireless: rt2x00: add new rt2800usb device</title>
<updated>2014-11-13T18:02:47+00:00</updated>
<author>
<name>Cyril Brulebois</name>
<email>kibi@debian.org</email>
</author>
<published>2014-10-28T15:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=28af2ea590152b183494a6b05d5c04fb3374d10a'/>
<id>28af2ea590152b183494a6b05d5c04fb3374d10a</id>
<content type='text'>
commit 664d6a792785cc677c2091038ce10322c8d04ae1 upstream.

0x1b75 0xa200 AirLive WN-200USB wireless 11b/g/n dongle

References: https://bugs.debian.org/766802
Reported-by: Martin Mokrejs &lt;mmokrejs@fold.natur.cuni.cz&gt;
Signed-off-by: Cyril Brulebois &lt;kibi@debian.org&gt;
Acked-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 664d6a792785cc677c2091038ce10322c8d04ae1 upstream.

0x1b75 0xa200 AirLive WN-200USB wireless 11b/g/n dongle

References: https://bugs.debian.org/766802
Reported-by: Martin Mokrejs &lt;mmokrejs@fold.natur.cuni.cz&gt;
Signed-off-by: Cyril Brulebois &lt;kibi@debian.org&gt;
Acked-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wireless: rt2x00: add new rt2800usb devices</title>
<updated>2014-11-13T18:02:47+00:00</updated>
<author>
<name>Xose Vazquez Perez</name>
<email>xose.vazquez@gmail.com</email>
</author>
<published>2014-07-11T19:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=538563b0cc1371790a946bd227dc4e7069f18f83'/>
<id>538563b0cc1371790a946bd227dc4e7069f18f83</id>
<content type='text'>
commit 6a06e554daef86c4e8d290284927b081fedb249e upstream.

0x0b05 0x17e8 RT5372 USB 2.0  bgn 2x2 ASUS USB-N14
0x0411 0x0253 RT5572 USB 2.0 abgn 2x2 BUFFALO WLP-U2-300D
0x0df6 0x0078 RT???? Sitecom N300

Cc: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Cc: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Cc: John W. Linville &lt;linville@tuxdriver.com&gt;
Cc: users@rt2x00.serialmonkey.com
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Xose Vazquez Perez &lt;xose.vazquez@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 6a06e554daef86c4e8d290284927b081fedb249e upstream.

0x0b05 0x17e8 RT5372 USB 2.0  bgn 2x2 ASUS USB-N14
0x0411 0x0253 RT5572 USB 2.0 abgn 2x2 BUFFALO WLP-U2-300D
0x0df6 0x0078 RT???? Sitecom N300

Cc: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Cc: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Cc: John W. Linville &lt;linville@tuxdriver.com&gt;
Cc: users@rt2x00.serialmonkey.com
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Xose Vazquez Perez &lt;xose.vazquez@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rt2x00: support Ralink 5362.</title>
<updated>2014-11-13T18:02:46+00:00</updated>
<author>
<name>Canek Peláez Valdés</name>
<email>canek@ciencias.unam.mx</email>
</author>
<published>2014-08-25T00:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8237ba542301c82a86768dbb814d34226ade79b4'/>
<id>8237ba542301c82a86768dbb814d34226ade79b4</id>
<content type='text'>
commit ac0372abf8524a7572a9cdaac6495eb2eba20457 upstream.

Signed-off-by: Canek Peláez Valdés &lt;canek@ciencias.unam.mx&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit ac0372abf8524a7572a9cdaac6495eb2eba20457 upstream.

Signed-off-by: Canek Peláez Valdés &lt;canek@ciencias.unam.mx&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rt2x00: rt2800usb: mark D-Link DWA-137 as supported</title>
<updated>2014-11-13T18:02:05+00:00</updated>
<author>
<name>Roman Dubtsov</name>
<email>dubtsov@gmail.com</email>
</author>
<published>2014-01-21T07:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=dd58b9eff8500d0c4b6a9a47079731d08a322e47'/>
<id>dd58b9eff8500d0c4b6a9a47079731d08a322e47</id>
<content type='text'>
commit 7f6d740753ff0d29a330b06eb3efa0dfc791bbba upstream.

Signed-off-by: Roman Dubtsov &lt;dubtsov@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 7f6d740753ff0d29a330b06eb3efa0dfc791bbba upstream.

Signed-off-by: Roman Dubtsov &lt;dubtsov@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wireless: rt2x00: rt2800usb: add new devices</title>
<updated>2014-11-13T18:02:04+00:00</updated>
<author>
<name>Xose Vazquez Perez</name>
<email>xose.vazquez@gmail.com</email>
</author>
<published>2013-09-28T11:07:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f8c0eb576c0dc53ecf22087359a7f0d79abeb277'/>
<id>f8c0eb576c0dc53ecf22087359a7f0d79abeb277</id>
<content type='text'>
commit 274dede8c52036a1849ea970fab8d185fb0dce2b upstream.

0411,0241  RT5572  BUFFALO WI-U2-300D Wireless LAN Adapter
0789,0170  RT3572  Logitec LAN-W300AN/U2
0846,9013  RT3573  NETGEAR Adaptador USB Inalambrico Movistar
0df6,006e  RT3573  Sitecom WiFi USB adapter N900
2001,3c1f  RT3573  D-Link DWA-162 Wireless N900 Dual Band Adapter
2001,3c20  RT5372  D-Link DWA-140 Wireless N USB Adapter(rev.D)
2001,3c21  RT5572  D-Link DWA-160 Xtreme N Dual Band USB Adapter(rev.C)
2001,3c22  RT5372  D-Link DWA-132 Wireless N USB Adapter(rev.B)
2001,3c23  RT5372  D-Link GO-USB-N300 Wireless N Easy USB Adapter
2019,ab29  ?       Planex GW-USMirco300
20f4,724a  RT5572  TRENDnet N600 Wireless Dual Band USB Adapter

Cc: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Cc: Gertjan van Wingerde &lt;gwingerde@gmail.com&gt;
Cc: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Cc: John W. Linville &lt;linville@tuxdriver.com&gt;
Cc: users@rt2x00.serialmonkey.com
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Xose Vazquez Perez &lt;xose.vazquez@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 274dede8c52036a1849ea970fab8d185fb0dce2b upstream.

0411,0241  RT5572  BUFFALO WI-U2-300D Wireless LAN Adapter
0789,0170  RT3572  Logitec LAN-W300AN/U2
0846,9013  RT3573  NETGEAR Adaptador USB Inalambrico Movistar
0df6,006e  RT3573  Sitecom WiFi USB adapter N900
2001,3c1f  RT3573  D-Link DWA-162 Wireless N900 Dual Band Adapter
2001,3c20  RT5372  D-Link DWA-140 Wireless N USB Adapter(rev.D)
2001,3c21  RT5572  D-Link DWA-160 Xtreme N Dual Band USB Adapter(rev.C)
2001,3c22  RT5372  D-Link DWA-132 Wireless N USB Adapter(rev.B)
2001,3c23  RT5372  D-Link GO-USB-N300 Wireless N Easy USB Adapter
2019,ab29  ?       Planex GW-USMirco300
20f4,724a  RT5572  TRENDnet N600 Wireless Dual Band USB Adapter

Cc: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Cc: Gertjan van Wingerde &lt;gwingerde@gmail.com&gt;
Cc: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;
Cc: John W. Linville &lt;linville@tuxdriver.com&gt;
Cc: users@rt2x00.serialmonkey.com
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Xose Vazquez Perez &lt;xose.vazquez@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rt2800: correct BBP1_TX_POWER_CTRL mask</title>
<updated>2014-10-31T14:11:22+00:00</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>sgruszka@redhat.com</email>
</author>
<published>2014-09-24T09:24:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=82176ab062d34f524121f11af4aa770c517d1898'/>
<id>82176ab062d34f524121f11af4aa770c517d1898</id>
<content type='text'>
commit 01f7feeaf4528bec83798316b3c811701bac5d3e upstream.

Two bits control TX power on BBP_R1 register. Correct the mask,
otherwise we clear additional bit on BBP_R1 register, what can have
unknown, possible negative effect.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 01f7feeaf4528bec83798316b3c811701bac5d3e upstream.

Two bits control TX power on BBP_R1 register. Correct the mask,
otherwise we clear additional bit on BBP_R1 register, what can have
unknown, possible negative effect.

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
</feed>
