<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net, branch v3.0-rc7</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>ath5k: Add missing breaks in switch/case</title>
<updated>2011-07-11T19:46:02+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-07-10T09:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=404ba3f029a53597928a20ce33351e77e3259840'/>
<id>404ba3f029a53597928a20ce33351e77e3259840</id>
<content type='text'>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Acked-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Acked-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vmxnet3: round down # of queues to power of two</title>
<updated>2011-07-07T07:25:52+00:00</updated>
<author>
<name>Shreyas Bhatewara</name>
<email>sbhatewara@vmware.com</email>
</author>
<published>2011-07-07T07:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=eebb02b1f03b3722d678bfcb560f3b26661ab0d2'/>
<id>eebb02b1f03b3722d678bfcb560f3b26661ab0d2</id>
<content type='text'>
vmxnet3 device supports only power-of-two number of queues. The driver
therefore needs to check this and rounds down the number of queues to the
nearest power of two.

Signed-off-by: Yong Wang &lt;yongwang@vmware.com&gt;
Signed-off-by: Shreyas N Bhatewara &lt;sbhatewara@vmware.com&gt;
Reviewed-by: Dmitry Torokhov &lt;dtor@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vmxnet3 device supports only power-of-two number of queues. The driver
therefore needs to check this and rounds down the number of queues to the
nearest power of two.

Signed-off-by: Yong Wang &lt;yongwang@vmware.com&gt;
Signed-off-by: Shreyas N Bhatewara &lt;sbhatewara@vmware.com&gt;
Reviewed-by: Dmitry Torokhov &lt;dtor@vmware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: sh_eth: fix the parameter for the ETHER of SH7757</title>
<updated>2011-07-06T06:41:17+00:00</updated>
<author>
<name>Yoshihiro Shimoda</name>
<email>yoshihiro.shimoda.uh@renesas.com</email>
</author>
<published>2011-07-05T20:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2e98e7974de208de0dab9e9969bd47576d07ff10'/>
<id>2e98e7974de208de0dab9e9969bd47576d07ff10</id>
<content type='text'>
If the driver didn't set this parameter on the ETHER, the CPU will
encounter the "data address error" exception.

Signed-off-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the driver didn't set this parameter on the ETHER, the CPU will
encounter the "data address error" exception.

Signed-off-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: sh_eth: fix cannot work half-duplex mode</title>
<updated>2011-07-06T06:41:17+00:00</updated>
<author>
<name>Yoshihiro Shimoda</name>
<email>yoshihiro.shimoda.uh@renesas.com</email>
</author>
<published>2011-07-05T20:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=91a5615203355bb34e0b9e68e94f27f24719a74c'/>
<id>91a5615203355bb34e0b9e68e94f27f24719a74c</id>
<content type='text'>
When link was down, the bit of DM in ECMR was always set.
So, we could not use half-duplex mode on the controller.

Signed-off-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When link was down, the bit of DM in ECMR was always set.
So, we could not use half-duplex mode on the controller.

Signed-off-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vmxnet3: fix starving rx ring whenoc_skb kb fails</title>
<updated>2011-07-06T01:39:40+00:00</updated>
<author>
<name>Shreyas Bhatewara</name>
<email>sbhatewara@vmware.com</email>
</author>
<published>2011-07-05T14:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5318d809d7b4975ce5e5303e8508f89a5458c2b6'/>
<id>5318d809d7b4975ce5e5303e8508f89a5458c2b6</id>
<content type='text'>
If the rx ring is completely empty, then the device may never fire an rx
interrupt. Unfortunately, the rx interrupt is what triggers populating the
rx ring with fresh buffers, so this will cause networking to lock up.

This patch replenishes the skb in recv descriptor as soon as it is
peeled off while processing rx completions. If the skb/buffer
allocation fails, existing one is recycled and the packet in hand is
dropped. This way none of the RX desc is ever left empty, thus avoiding
starvation

Signed-off-by: Scott J. Goldman &lt;scottjg@vmware.com&gt;
Signed-off-by: Shreyas N Bhatewara &lt;sbhatewara@vmware.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the rx ring is completely empty, then the device may never fire an rx
interrupt. Unfortunately, the rx interrupt is what triggers populating the
rx ring with fresh buffers, so this will cause networking to lock up.

This patch replenishes the skb in recv descriptor as soon as it is
peeled off while processing rx completions. If the skb/buffer
allocation fails, existing one is recycled and the packet in hand is
dropped. This way none of the RX desc is ever left empty, thus avoiding
starvation

Signed-off-by: Scott J. Goldman &lt;scottjg@vmware.com&gt;
Signed-off-by: Shreyas N Bhatewara &lt;sbhatewara@vmware.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>greth: greth_set_mac_add would corrupt the MAC address.</title>
<updated>2011-07-05T04:39:10+00:00</updated>
<author>
<name>Kristoffer Glembo</name>
<email>kristoffer@gaisler.com</email>
</author>
<published>2011-07-05T04:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9b9cfe7cf663c16c0d93349cc0094bb28ae7135a'/>
<id>9b9cfe7cf663c16c0d93349cc0094bb28ae7135a</id>
<content type='text'>
The MAC address was set using the signed char sockaddr-&gt;sa_addr
field and thus the address could be corrupted through sign extension.

Signed-off-by: Kristoffer Glembo &lt;kristoffer@gaisler.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The MAC address was set using the signed char sockaddr-&gt;sa_addr
field and thus the address could be corrupted through sign extension.

Signed-off-by: Kristoffer Glembo &lt;kristoffer@gaisler.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>natsemi: silence dma-debug warnings</title>
<updated>2011-07-04T05:34:29+00:00</updated>
<author>
<name>FUJITA Tomonori</name>
<email>fujita.tomonori@lab.ntt.co.jp</email>
</author>
<published>2011-07-04T05:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2fb83cd618be34546fb526a9051eceaa95517026'/>
<id>2fb83cd618be34546fb526a9051eceaa95517026</id>
<content type='text'>
This silences dma-debug warnings:

https://lkml.org/lkml/2011/6/30/341

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820
check_unmap+0x1fe/0x56a()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with
different size [device address=0x0000000006ef0040] [map size=1538
bytes] [unmap size=1522 bytes]
Modules linked in: pc8736x_gpio pc87360 hwmon_vid scx200_gpio nsc_gpio
scx200_hrt scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6
cfg80211 pcspkr rfkill scx200 ide_gd_mod ide_pci_generic ohci_hcd
usbcore sc1200 ide_core
Pid: 870, comm: collector Not tainted 3.0.0-rc5-sk-00080-gca56a95 #1
Call Trace:
 [&lt;c011a556&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c02565cb&gt;] ? check_unmap+0x1fe/0x56a
 [&lt;c011a5cf&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c02565cb&gt;] check_unmap+0x1fe/0x56a
 [&lt;c0256aaa&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c029d6cd&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c029ea0a&gt;] natsemi_poll+0x343/0x5ca
 [&lt;c0116f41&gt;] ? try_to_wake_up+0xea/0xfc
 [&lt;c0122416&gt;] ? spin_unlock_irq.clone.28+0x18/0x23
 [&lt;c02d4667&gt;] net_rx_action+0x3f/0xe5
 [&lt;c011e35e&gt;] __do_softirq+0x5b/0xd1
 [&lt;c011e303&gt;] ? local_bh_enable+0xa/0xa
 &lt;IRQ&gt;  [&lt;c011e54b&gt;] ? irq_exit+0x34/0x75
 [&lt;c01034b9&gt;] ? do_IRQ+0x66/0x79
 [&lt;c034e869&gt;] ? common_interrupt+0x29/0x30
 [&lt;c0115ed0&gt;] ? finish_task_switch.clone.118+0x31/0x72
 [&lt;c034cb92&gt;] ? schedule+0x3b2/0x3f1
 [&lt;c012f4b0&gt;] ? hrtimer_start_range_ns+0x10/0x12
 [&lt;c012f4ce&gt;] ? hrtimer_start_expires+0x1c/0x24
 [&lt;c034d5aa&gt;] ? schedule_hrtimeout_range_clock+0x8e/0xb4
 [&lt;c012ed27&gt;] ? update_rmtp+0x68/0x68
 [&lt;c034d5da&gt;] ? schedule_hrtimeout_range+0xa/0xc
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b051&gt;] ? do_select+0x488/0x4cd
 [&lt;c0115ee2&gt;] ? finish_task_switch.clone.118+0x43/0x72
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c017a99e&gt;] ? poll_freewait+0x74/0x74
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cbc1&gt;] ? schedule+0x3e1/0x3f1
 [&lt;c011e55e&gt;] ? irq_exit+0x47/0x75
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024bc12&gt;] ? put_dec_full+0x7b/0xaa
 [&lt;c0240060&gt;] ? blkdev_ioctl+0x434/0x618
 [&lt;c024bc70&gt;] ? put_dec+0x2f/0x6d
 [&lt;c024c6a5&gt;] ? number.clone.1+0x10b/0x1d0
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024d046&gt;] ? vsnprintf+0x225/0x264
 [&lt;c024cea0&gt;] ? vsnprintf+0x7f/0x264
 [&lt;c018346f&gt;] ? seq_printf+0x22/0x40
 [&lt;c01a2fcc&gt;] ? do_task_stat+0x582/0x5a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b1b5&gt;] ? core_sys_select+0x11f/0x1a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c01a34a1&gt;] ? proc_tgid_stat+0xd/0xf
 [&lt;c012357c&gt;] ? recalc_sigpending+0x32/0x35
 [&lt;c0123b9c&gt;] ? __set_task_blocked+0x64/0x6a
 [&lt;c011dfb0&gt;] ? timespec_add_safe+0x24/0x48
 [&lt;c0123449&gt;] ? spin_unlock_irq.clone.16+0x18/0x23
 [&lt;c017b3a1&gt;] ? sys_pselect6+0xe5/0x13e
 [&lt;c034dd65&gt;] ? syscall_call+0x7/0xb
 [&lt;c0340000&gt;] ? rpc_clntdir_depopulate+0x26/0x30
---[ end trace 180dcac41a50938b ]---

Reported-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Tested-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This silences dma-debug warnings:

https://lkml.org/lkml/2011/6/30/341

------------[ cut here ]------------
WARNING: at /home/jimc/projects/lx/linux-2.6/lib/dma-debug.c:820
check_unmap+0x1fe/0x56a()
natsemi 0000:00:06.0: DMA-API: device driver frees DMA memory with
different size [device address=0x0000000006ef0040] [map size=1538
bytes] [unmap size=1522 bytes]
Modules linked in: pc8736x_gpio pc87360 hwmon_vid scx200_gpio nsc_gpio
scx200_hrt scx200_acb i2c_core arc4 rtl8180 mac80211 eeprom_93cx6
cfg80211 pcspkr rfkill scx200 ide_gd_mod ide_pci_generic ohci_hcd
usbcore sc1200 ide_core
Pid: 870, comm: collector Not tainted 3.0.0-rc5-sk-00080-gca56a95 #1
Call Trace:
 [&lt;c011a556&gt;] warn_slowpath_common+0x4a/0x5f
 [&lt;c02565cb&gt;] ? check_unmap+0x1fe/0x56a
 [&lt;c011a5cf&gt;] warn_slowpath_fmt+0x26/0x2a
 [&lt;c02565cb&gt;] check_unmap+0x1fe/0x56a
 [&lt;c0256aaa&gt;] debug_dma_unmap_page+0x53/0x5b
 [&lt;c029d6cd&gt;] pci_unmap_single+0x4d/0x57
 [&lt;c029ea0a&gt;] natsemi_poll+0x343/0x5ca
 [&lt;c0116f41&gt;] ? try_to_wake_up+0xea/0xfc
 [&lt;c0122416&gt;] ? spin_unlock_irq.clone.28+0x18/0x23
 [&lt;c02d4667&gt;] net_rx_action+0x3f/0xe5
 [&lt;c011e35e&gt;] __do_softirq+0x5b/0xd1
 [&lt;c011e303&gt;] ? local_bh_enable+0xa/0xa
 &lt;IRQ&gt;  [&lt;c011e54b&gt;] ? irq_exit+0x34/0x75
 [&lt;c01034b9&gt;] ? do_IRQ+0x66/0x79
 [&lt;c034e869&gt;] ? common_interrupt+0x29/0x30
 [&lt;c0115ed0&gt;] ? finish_task_switch.clone.118+0x31/0x72
 [&lt;c034cb92&gt;] ? schedule+0x3b2/0x3f1
 [&lt;c012f4b0&gt;] ? hrtimer_start_range_ns+0x10/0x12
 [&lt;c012f4ce&gt;] ? hrtimer_start_expires+0x1c/0x24
 [&lt;c034d5aa&gt;] ? schedule_hrtimeout_range_clock+0x8e/0xb4
 [&lt;c012ed27&gt;] ? update_rmtp+0x68/0x68
 [&lt;c034d5da&gt;] ? schedule_hrtimeout_range+0xa/0xc
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b051&gt;] ? do_select+0x488/0x4cd
 [&lt;c0115ee2&gt;] ? finish_task_switch.clone.118+0x43/0x72
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c017a99e&gt;] ? poll_freewait+0x74/0x74
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cbc1&gt;] ? schedule+0x3e1/0x3f1
 [&lt;c011e55e&gt;] ? irq_exit+0x47/0x75
 [&lt;c01157ad&gt;] ? need_resched+0x14/0x1e
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024bc12&gt;] ? put_dec_full+0x7b/0xaa
 [&lt;c0240060&gt;] ? blkdev_ioctl+0x434/0x618
 [&lt;c024bc70&gt;] ? put_dec+0x2f/0x6d
 [&lt;c024c6a5&gt;] ? number.clone.1+0x10b/0x1d0
 [&lt;c034cf8a&gt;] ? preempt_schedule_irq+0x44/0x4a
 [&lt;c034dd1e&gt;] ? need_resched+0x17/0x19
 [&lt;c024d046&gt;] ? vsnprintf+0x225/0x264
 [&lt;c024cea0&gt;] ? vsnprintf+0x7f/0x264
 [&lt;c018346f&gt;] ? seq_printf+0x22/0x40
 [&lt;c01a2fcc&gt;] ? do_task_stat+0x582/0x5a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c017b1b5&gt;] ? core_sys_select+0x11f/0x1a3
 [&lt;c017a913&gt;] ? poll_schedule_timeout+0x27/0x3e
 [&lt;c01a34a1&gt;] ? proc_tgid_stat+0xd/0xf
 [&lt;c012357c&gt;] ? recalc_sigpending+0x32/0x35
 [&lt;c0123b9c&gt;] ? __set_task_blocked+0x64/0x6a
 [&lt;c011dfb0&gt;] ? timespec_add_safe+0x24/0x48
 [&lt;c0123449&gt;] ? spin_unlock_irq.clone.16+0x18/0x23
 [&lt;c017b3a1&gt;] ? sys_pselect6+0xe5/0x13e
 [&lt;c034dd65&gt;] ? syscall_call+0x7/0xb
 [&lt;c0340000&gt;] ? rpc_clntdir_depopulate+0x26/0x30
---[ end trace 180dcac41a50938b ]---

Reported-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt;
Tested-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: 8139too: Initial necessary vlan_features to support vlan</title>
<updated>2011-07-04T02:54:10+00:00</updated>
<author>
<name>Shan Wei</name>
<email>shanwei@cn.fujitsu.com</email>
</author>
<published>2011-07-01T22:06:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=60b677034fcb3e48ffa30d638b09ac925afb4b36'/>
<id>60b677034fcb3e48ffa30d638b09ac925afb4b36</id>
<content type='text'>
Offload setting of vlan device requires
vlan_features to be initialized.

Signed-off-by: Shan Wei &lt;shanwei@cn.fujitsu.com&gt;
Acked-by: Francois Romieu &lt;romieu@fr.zoreil.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Offload setting of vlan device requires
vlan_features to be initialized.

Signed-off-by: Shan Wei &lt;shanwei@cn.fujitsu.com&gt;
Acked-by: Francois Romieu &lt;romieu@fr.zoreil.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix call trace when interrupts are disabled while sleeping function kzalloc is called</title>
<updated>2011-07-02T00:49:45+00:00</updated>
<author>
<name>Shyam Iyer</name>
<email>shyam.iyer.t@gmail.com</email>
</author>
<published>2011-06-28T08:58:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5f77898de17ff983ff0e2988b73a6bdf4b6f9f8b'/>
<id>5f77898de17ff983ff0e2988b73a6bdf4b6f9f8b</id>
<content type='text'>
request_threaded irq will call kzalloc that can sleep. Initializing the flags variable outside of spin_lock_irqsave/restore in bnad_mbox_irq_alloc will avoid call traces like below.

Jun 27 08:15:24 home-t710 kernel: [11735.634550] Brocade 10G Ethernet driver
Jun 27 08:15:24 home-t710 kernel: [11735.634590] bnad_pci_probe : (0xffff880427f3d000, 0xffffffffa020f3e0) PCI Func : (2)
Jun 27 08:15:24 home-t710 kernel: [11735.637677] bna 0000:82:00.2: PCI INT A -&gt; GSI 66 (level, low) -&gt; IRQ 66
Jun 27 08:15:24 home-t710 kernel: [11735.638290] bar0 mapped to ffffc90014980000, len 262144
Jun 27 08:15:24 home-t710 kernel: [11735.638732] BUG: sleeping function called from invalid context at mm/slub.c:847
Jun 27 08:15:24 home-t710 kernel: [11735.638736] in_atomic(): 0, irqs_disabled(): 1, pid: 11243, name: insmod
Jun 27 08:15:24 home-t710 kernel: [11735.638740] Pid: 11243, comm: insmod Not tainted 3.0.0-rc4+ #6
Jun 27 08:15:24 home-t710 kernel: [11735.638743] Call Trace:
Jun 27 08:15:24 home-t710 kernel: [11735.638755]  [&lt;ffffffff81046427&gt;] __might_sleep+0xeb/0xf0
Jun 27 08:15:24 home-t710 kernel: [11735.638766]  [&lt;ffffffffa01fe469&gt;] ? netif_wake_queue+0x3d/0x3d [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638773]  [&lt;ffffffff8111201c&gt;] kmem_cache_alloc_trace+0x43/0xd8
Jun 27 08:15:24 home-t710 kernel: [11735.638782]  [&lt;ffffffffa01fe469&gt;] ? netif_wake_queue+0x3d/0x3d [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638787]  [&lt;ffffffff810ab791&gt;] request_threaded_irq+0xa1/0x113
Jun 27 08:15:24 home-t710 kernel: [11735.638798]  [&lt;ffffffffa020f0c0&gt;] bnad_pci_probe+0x612/0x8e5 [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638807]  [&lt;ffffffffa01fe469&gt;] ? netif_wake_queue+0x3d/0x3d [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638816]  [&lt;ffffffff81482ef4&gt;] ? _raw_spin_unlock_irqrestore+0x17/0x19
Jun 27 08:15:24 home-t710 kernel: [11735.638822]  [&lt;ffffffff8124d17a&gt;] local_pci_probe+0x44/0x75
Jun 27 08:15:24 home-t710 kernel: [11735.638826]  [&lt;ffffffff8124dc06&gt;] pci_device_probe+0xd0/0xff
Jun 27 08:15:24 home-t710 kernel: [11735.638832]  [&lt;ffffffff812ef8ab&gt;] driver_probe_device+0x131/0x213
Jun 27 08:15:24 home-t710 kernel: [11735.638836]  [&lt;ffffffff812ef9e7&gt;] __driver_attach+0x5a/0x7e
Jun 27 08:15:24 home-t710 kernel: [11735.638840]  [&lt;ffffffff812ef98d&gt;] ? driver_probe_device+0x213/0x213
Jun 27 08:15:24 home-t710 kernel: [11735.638844]  [&lt;ffffffff812ee933&gt;] bus_for_each_dev+0x53/0x89
Jun 27 08:15:24 home-t710 kernel: [11735.638848]  [&lt;ffffffff812ef48a&gt;] driver_attach+0x1e/0x20
Jun 27 08:15:24 home-t710 kernel: [11735.638852]  [&lt;ffffffff812ef0ae&gt;] bus_add_driver+0xd1/0x224
Jun 27 08:15:24 home-t710 kernel: [11735.638858]  [&lt;ffffffffa01b8000&gt;] ? 0xffffffffa01b7fff
Jun 27 08:15:24 home-t710 kernel: [11735.638862]  [&lt;ffffffff812efe57&gt;] driver_register+0x98/0x105
Jun 27 08:15:24 home-t710 kernel: [11735.638866]  [&lt;ffffffffa01b8000&gt;] ? 0xffffffffa01b7fff
Jun 27 08:15:24 home-t710 kernel: [11735.638871]  [&lt;ffffffff8124e4c9&gt;] __pci_register_driver+0x56/0xc1
Jun 27 08:15:24 home-t710 kernel: [11735.638875]  [&lt;ffffffffa01b8000&gt;] ? 0xffffffffa01b7fff
Jun 27 08:15:24 home-t710 kernel: [11735.638884]  [&lt;ffffffffa01b8040&gt;] bnad_module_init+0x40/0x60 [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638892]  [&lt;ffffffff81002099&gt;] do_one_initcall+0x7f/0x136
Jun 27 08:15:24 home-t710 kernel: [11735.638899]  [&lt;ffffffff8108608b&gt;] sys_init_module+0x88/0x1d0
Jun 27 08:15:24 home-t710 kernel: [11735.638906]  [&lt;ffffffff81489682&gt;] system_call_fastpath+0x16/0x1b
Jun 27 08:15:24 home-t710 kernel: [11735.639642] bnad_pci_probe : (0xffff880427f3e000, 0xffffffffa020f3e0) PCI Func : (3)
Jun 27 08:15:24 home-t710 kernel: [11735.639665] bna 0000:82:00.3: PCI INT A -&gt; GSI 66 (level, low) -&gt; IRQ 66
Jun 27 08:15:24 home-t710 kernel: [11735.639735] bar0 mapped to ffffc90014400000, len 262144

Signed-off-by: Shyam Iyer &lt;shyam_iyer@dell.com&gt;
Acked-by: Rasesh Mody &lt;rmody@brocade.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
request_threaded irq will call kzalloc that can sleep. Initializing the flags variable outside of spin_lock_irqsave/restore in bnad_mbox_irq_alloc will avoid call traces like below.

Jun 27 08:15:24 home-t710 kernel: [11735.634550] Brocade 10G Ethernet driver
Jun 27 08:15:24 home-t710 kernel: [11735.634590] bnad_pci_probe : (0xffff880427f3d000, 0xffffffffa020f3e0) PCI Func : (2)
Jun 27 08:15:24 home-t710 kernel: [11735.637677] bna 0000:82:00.2: PCI INT A -&gt; GSI 66 (level, low) -&gt; IRQ 66
Jun 27 08:15:24 home-t710 kernel: [11735.638290] bar0 mapped to ffffc90014980000, len 262144
Jun 27 08:15:24 home-t710 kernel: [11735.638732] BUG: sleeping function called from invalid context at mm/slub.c:847
Jun 27 08:15:24 home-t710 kernel: [11735.638736] in_atomic(): 0, irqs_disabled(): 1, pid: 11243, name: insmod
Jun 27 08:15:24 home-t710 kernel: [11735.638740] Pid: 11243, comm: insmod Not tainted 3.0.0-rc4+ #6
Jun 27 08:15:24 home-t710 kernel: [11735.638743] Call Trace:
Jun 27 08:15:24 home-t710 kernel: [11735.638755]  [&lt;ffffffff81046427&gt;] __might_sleep+0xeb/0xf0
Jun 27 08:15:24 home-t710 kernel: [11735.638766]  [&lt;ffffffffa01fe469&gt;] ? netif_wake_queue+0x3d/0x3d [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638773]  [&lt;ffffffff8111201c&gt;] kmem_cache_alloc_trace+0x43/0xd8
Jun 27 08:15:24 home-t710 kernel: [11735.638782]  [&lt;ffffffffa01fe469&gt;] ? netif_wake_queue+0x3d/0x3d [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638787]  [&lt;ffffffff810ab791&gt;] request_threaded_irq+0xa1/0x113
Jun 27 08:15:24 home-t710 kernel: [11735.638798]  [&lt;ffffffffa020f0c0&gt;] bnad_pci_probe+0x612/0x8e5 [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638807]  [&lt;ffffffffa01fe469&gt;] ? netif_wake_queue+0x3d/0x3d [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638816]  [&lt;ffffffff81482ef4&gt;] ? _raw_spin_unlock_irqrestore+0x17/0x19
Jun 27 08:15:24 home-t710 kernel: [11735.638822]  [&lt;ffffffff8124d17a&gt;] local_pci_probe+0x44/0x75
Jun 27 08:15:24 home-t710 kernel: [11735.638826]  [&lt;ffffffff8124dc06&gt;] pci_device_probe+0xd0/0xff
Jun 27 08:15:24 home-t710 kernel: [11735.638832]  [&lt;ffffffff812ef8ab&gt;] driver_probe_device+0x131/0x213
Jun 27 08:15:24 home-t710 kernel: [11735.638836]  [&lt;ffffffff812ef9e7&gt;] __driver_attach+0x5a/0x7e
Jun 27 08:15:24 home-t710 kernel: [11735.638840]  [&lt;ffffffff812ef98d&gt;] ? driver_probe_device+0x213/0x213
Jun 27 08:15:24 home-t710 kernel: [11735.638844]  [&lt;ffffffff812ee933&gt;] bus_for_each_dev+0x53/0x89
Jun 27 08:15:24 home-t710 kernel: [11735.638848]  [&lt;ffffffff812ef48a&gt;] driver_attach+0x1e/0x20
Jun 27 08:15:24 home-t710 kernel: [11735.638852]  [&lt;ffffffff812ef0ae&gt;] bus_add_driver+0xd1/0x224
Jun 27 08:15:24 home-t710 kernel: [11735.638858]  [&lt;ffffffffa01b8000&gt;] ? 0xffffffffa01b7fff
Jun 27 08:15:24 home-t710 kernel: [11735.638862]  [&lt;ffffffff812efe57&gt;] driver_register+0x98/0x105
Jun 27 08:15:24 home-t710 kernel: [11735.638866]  [&lt;ffffffffa01b8000&gt;] ? 0xffffffffa01b7fff
Jun 27 08:15:24 home-t710 kernel: [11735.638871]  [&lt;ffffffff8124e4c9&gt;] __pci_register_driver+0x56/0xc1
Jun 27 08:15:24 home-t710 kernel: [11735.638875]  [&lt;ffffffffa01b8000&gt;] ? 0xffffffffa01b7fff
Jun 27 08:15:24 home-t710 kernel: [11735.638884]  [&lt;ffffffffa01b8040&gt;] bnad_module_init+0x40/0x60 [bna]
Jun 27 08:15:24 home-t710 kernel: [11735.638892]  [&lt;ffffffff81002099&gt;] do_one_initcall+0x7f/0x136
Jun 27 08:15:24 home-t710 kernel: [11735.638899]  [&lt;ffffffff8108608b&gt;] sys_init_module+0x88/0x1d0
Jun 27 08:15:24 home-t710 kernel: [11735.638906]  [&lt;ffffffff81489682&gt;] system_call_fastpath+0x16/0x1b
Jun 27 08:15:24 home-t710 kernel: [11735.639642] bnad_pci_probe : (0xffff880427f3e000, 0xffffffffa020f3e0) PCI Func : (3)
Jun 27 08:15:24 home-t710 kernel: [11735.639665] bna 0000:82:00.3: PCI INT A -&gt; GSI 66 (level, low) -&gt; IRQ 66
Jun 27 08:15:24 home-t710 kernel: [11735.639735] bar0 mapped to ffffc90014400000, len 262144

Signed-off-by: Shyam Iyer &lt;shyam_iyer@dell.com&gt;
Acked-by: Rasesh Mody &lt;rmody@brocade.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>qlge:Version change to v1.00.00.29</title>
<updated>2011-07-02T00:36:04+00:00</updated>
<author>
<name>Jitendra Kalsaria</name>
<email>jitendra.kalsaria@qlogic.com</email>
</author>
<published>2011-06-30T10:02:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b4e4fe848c25af645a069bb2f21ba6456246e5de'/>
<id>b4e4fe848c25af645a069bb2f21ba6456246e5de</id>
<content type='text'>
Signed-off-by: Jitendra Kalsaria &lt;jitendra.kalsaria@qlogic.com&gt;
Signed-off-by: Ron Mercer &lt;ron.mercer@qlogic.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jitendra Kalsaria &lt;jitendra.kalsaria@qlogic.com&gt;
Signed-off-by: Ron Mercer &lt;ron.mercer@qlogic.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
