<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net, branch v2.6.32.4</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>libertas: Remove carrier signaling from the scan code</title>
<updated>2010-01-18T18:19:49+00:00</updated>
<author>
<name>Samuel Ortiz</name>
<email>sameo@linux.intel.com</email>
</author>
<published>2009-12-18T10:36:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=904e3733fd1c50e81f4726f56759343207874a95'/>
<id>904e3733fd1c50e81f4726f56759343207874a95</id>
<content type='text'>
commit 659c8e5243caf14564155ad8421404f044dd8031 upstream.

There is no reason to signal a carrier off when doing a 802.11 scan.

Cc: Holger Schurig &lt;holgerschurig@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Acked-by: Dan Williams &lt;dcbw@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

There is no reason to signal a carrier off when doing a 802.11 scan.

Cc: Holger Schurig &lt;holgerschurig@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Acked-by: Dan Williams &lt;dcbw@redhat.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwl: off by one bug</title>
<updated>2010-01-18T18:19:46+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2010-01-03T09:19:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0ea5505e18a1cb8eebf3384f825840897894ceda'/>
<id>0ea5505e18a1cb8eebf3384f825840897894ceda</id>
<content type='text'>
commit 8a9ac160e844c7ce8074f6aa531feefb4acdee7c upstream.

tid is used as an array offset.
	agg = &amp;priv-&gt;stations[sta_id].tid[tid].agg;
	iwl4965_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);

It should be limitted to MAX_TID_COUNT - 1;
        struct iwl_tid_data tid[MAX_TID_COUNT];

regards,
dan carpenter

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

tid is used as an array offset.
	agg = &amp;priv-&gt;stations[sta_id].tid[tid].agg;
	iwl4965_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);

It should be limitted to MAX_TID_COUNT - 1;
        struct iwl_tid_data tid[MAX_TID_COUNT];

regards,
dan carpenter

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ath5k: Fix eeprom checksum check for custom sized eeproms</title>
<updated>2010-01-18T18:19:45+00:00</updated>
<author>
<name>Luis R. Rodriguez</name>
<email>lrodriguez@atheros.com</email>
</author>
<published>2010-01-04T15:40:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e6efac7b7c4ce45d40f5e07d3105e07704e95673'/>
<id>e6efac7b7c4ce45d40f5e07d3105e07704e95673</id>
<content type='text'>
commit 359207c687cc8f4f9845c8dadd0d6dabad44e584 upstream.

Commit 8bf3d79bc401ca417ccf9fc076d3295d1a71dbf5 enabled EEPROM
checksum checks to avoid bogus bug reports but failed to address
updating the code to consider devices with custom EEPROM sizes.
Devices with custom sized EEPROMs have the upper limit size stuffed
in the EEPROM. Use this as the upper limit instead of the static
default size. In case of a checksum error also provide back the
max size and whether or not this was the default size or a custom
one. If the EEPROM is busted we add a failsafe check to ensure
we don't loop forever or try to read bogus areas of hardware.

This closes bug 14874

http://bugzilla.kernel.org/show_bug.cgi?id=14874

Cc: David Quan &lt;david.quan@atheros.com&gt;
Cc: Stephen Beahm &lt;stephenbeahm@comcast.net&gt;
Reported-by: Joshua Covington &lt;joshuacov@googlemail.com&gt;
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

Commit 8bf3d79bc401ca417ccf9fc076d3295d1a71dbf5 enabled EEPROM
checksum checks to avoid bogus bug reports but failed to address
updating the code to consider devices with custom EEPROM sizes.
Devices with custom sized EEPROMs have the upper limit size stuffed
in the EEPROM. Use this as the upper limit instead of the static
default size. In case of a checksum error also provide back the
max size and whether or not this was the default size or a custom
one. If the EEPROM is busted we add a failsafe check to ensure
we don't loop forever or try to read bogus areas of hardware.

This closes bug 14874

http://bugzilla.kernel.org/show_bug.cgi?id=14874

Cc: David Quan &lt;david.quan@atheros.com&gt;
Cc: Stephen Beahm &lt;stephenbeahm@comcast.net&gt;
Reported-by: Joshua Covington &lt;joshuacov@googlemail.com&gt;
Signed-off-by: Luis R. Rodriguez &lt;lrodriguez@atheros.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: fix iwl_queue_used bug when read_ptr == write_ptr</title>
<updated>2010-01-18T18:19:44+00:00</updated>
<author>
<name>Zhu Yi</name>
<email>yi.zhu@intel.com</email>
</author>
<published>2010-01-08T18:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fc95845f174a07d4200a30681067d22c9e34723c'/>
<id>fc95845f174a07d4200a30681067d22c9e34723c</id>
<content type='text'>
commit c8106d7625a58ee4387cb2efe3e82320ad44b467 upstream.

When txq read_ptr equals to write_ptr, iwl_queue_used should
always return false. Because there is no used TFD in this case.

This is a complementary fix to the fix already included in commit "iwl3945:
fix panic in iwl3945 driver". Both fixes are needed to address the panic
below.

This problem was discussed on linux-wireless in
http://thread.gmane.org/gmane.linux.kernel.wireless.general/43568

&lt;1&gt;[ 7290.414172] IP: [&lt;ffffffffa0dd53a1&gt;] iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;4&gt;[ 7290.414205] PGD 0
&lt;1&gt;[ 7290.414214] Thread overran stack, or stack corrupted
&lt;0&gt;[ 7290.414229] Oops: 0002 [#1] PREEMPT SMP
&lt;0&gt;[ 7290.414246] last sysfs file: /sys/devices/platform/coretemp.1/temp1_input
&lt;4&gt;[ 7290.414265] CPU 0
&lt;4&gt;[ 7290.414274] Modules linked in: af_packet nfsd usb_storage usb_libusual cpufreq_powersave exportfs cpufreq_conservative iwl3945 nfs cpufreq_userspace snd_hda_codec_realtek acpi_cpufreq uvcvideo lockd iwlcore snd_hda_intel joydev coretemp nfs_acl videodev snd_hda_codec mac80211 v4l1_compat snd_hwdep sbp2 v4l2_compat_ioctl32 uhci_hcd psmouse auth_rpcgss ohci1394 cfg80211 ehci_hcd video ieee1394 snd_pcm serio_raw battery ac nvidia(P) usbcore output sunrpc evdev lirc_ene0100 snd_page_alloc rfkill tg3 libphy fuse lzo lzo_decompress lzo_compress
&lt;6&gt;[ 7290.414486] Pid: 0, comm: swapper Tainted: P           2.6.32-rc8-wl #213 Aspire 5720
&lt;6&gt;[ 7290.414507] RIP: 0010:[&lt;ffffffffa0dd53a1&gt;]  [&lt;ffffffffa0dd53a1&gt;] iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;6&gt;[ 7290.414541] RSP: 0018:ffff880002203d60  EFLAGS: 00010246
&lt;6&gt;[ 7290.414557] RAX: 000000000000004f RBX: ffff880064c11600 RCX: 0000000000000013
&lt;6&gt;[ 7290.414576] RDX: ffffffffa0ddcf20 RSI: ffff8800512b7008 RDI: 0000000000000038
&lt;6&gt;[ 7290.414596] RBP: ffff880002203dd0 R08: 0000000000000000 R09: 0000000000000100
&lt;6&gt;[ 7290.414616] R10: 0000000000000001 R11: 0000000000000000 R12: 00000000000000a0
&lt;6&gt;[ 7290.414635] R13: 0000000000000002 R14: 0000000000000013 R15: 0000000000020201
&lt;6&gt;[ 7290.414655] FS:  0000000000000000(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
&lt;6&gt;[ 7290.414677] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
&lt;6&gt;[ 7290.414693] CR2: 0000000000000041 CR3: 0000000001001000 CR4: 00000000000006f0
&lt;6&gt;[ 7290.414712] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&lt;6&gt;[ 7290.414732] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&lt;4&gt;[ 7290.414752] Process swapper (pid: 0, threadinfo ffffffff81524000, task ffffffff81528b60)
&lt;0&gt;[ 7290.414772] Stack:
&lt;4&gt;[ 7290.414780]  ffff880002203da0 0000000000000046 0000000000000000 0000000000000046
&lt;4&gt;[ 7290.414804] &lt;0&gt; 0000000000000282 0000000000000282 0000000000000282 ffff880064c12010
&lt;4&gt;[ 7290.414830] &lt;0&gt; ffff880002203db0 ffff880064c11600 ffff880064c12e50 ffff8800512b7000
&lt;0&gt;[ 7290.414858] Call Trace:
&lt;0&gt;[ 7290.414867]  &lt;IRQ&gt;
&lt;4&gt;[ 7290.414884]  [&lt;ffffffffa0dc8c47&gt;] iwl3945_irq_tasklet+0x657/0x1740 [iwl3945]
&lt;4&gt;[ 7290.414910]  [&lt;ffffffff8138fc60&gt;] ? _spin_unlock+0x30/0x60
&lt;4&gt;[ 7290.414931]  [&lt;ffffffff81049a21&gt;] tasklet_action+0x101/0x110
&lt;4&gt;[ 7290.414950]  [&lt;ffffffff8104a3d0&gt;] __do_softirq+0xc0/0x160
&lt;4&gt;[ 7290.414968]  [&lt;ffffffff8100d01c&gt;] call_softirq+0x1c/0x30
&lt;4&gt;[ 7290.414986]  [&lt;ffffffff8100eff5&gt;] do_softirq+0x75/0xb0
&lt;4&gt;[ 7290.415003]  [&lt;ffffffff81049ee5&gt;] irq_exit+0x95/0xa0
&lt;4&gt;[ 7290.415020]  [&lt;ffffffff8100e547&gt;] do_IRQ+0x77/0xf0
&lt;4&gt;[ 7290.415038]  [&lt;ffffffff8100c7d3&gt;] ret_from_intr+0x0/0xf
&lt;0&gt;[ 7290.415052]  &lt;EOI&gt;
&lt;4&gt;[ 7290.415067]  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415087]  [&lt;ffffffff81234f04&gt;] ? acpi_idle_enter_bm+0x27a/0x2a5
&lt;4&gt;[ 7290.415107]  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415130]  [&lt;ffffffff812c11f3&gt;] ? cpuidle_idle_call+0x93/0xf0
&lt;4&gt;[ 7290.415149]  [&lt;ffffffff8100b0d7&gt;] ? cpu_idle+0xa7/0x110
&lt;4&gt;[ 7290.415168]  [&lt;ffffffff8137b3d5&gt;] ? rest_init+0x75/0x80
&lt;4&gt;[ 7290.415187]  [&lt;ffffffff8158cd0a&gt;] ? start_kernel+0x3a7/0x3b3
&lt;4&gt;[ 7290.415206]  [&lt;ffffffff8158c315&gt;] ? x86_64_start_reservations+0x125/0x129
&lt;4&gt;[ 7290.415227]  [&lt;ffffffff8158c3fd&gt;] ? x86_64_start_kernel+0xe4/0xeb
&lt;0&gt;[ 7290.415243] Code: 00 41 39 ce 0f 8d e8 01 00 00 48 8b 47 40 48 63 d2 48 69 d2 98 00 00 00 4c 8b 04 02 48 c7 c2 20 cf dd a0 49 8d 78 38 49 8d 40 4f &lt;c6&gt; 47 09 00 c6 47 0c 00 c6 47 0f 00 c6 47 12 00 c6 47 15 00 49
&lt;1&gt;[ 7290.415382] RIP  [&lt;ffffffffa0dd53a1&gt;] iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;4&gt;[ 7290.415410]  RSP &lt;ffff880002203d60&gt;
&lt;0&gt;[ 7290.415421] CR2: 0000000000000041
&lt;4&gt;[ 7290.415436] ---[ end trace ec46807277caa515 ]---
&lt;0&gt;[ 7290.415450] Kernel panic - not syncing: Fatal exception in interrupt
&lt;4&gt;[ 7290.415468] Pid: 0, comm: swapper Tainted: P      D    2.6.32-rc8-wl #213
&lt;4&gt;[ 7290.415486] Call Trace:
&lt;4&gt;[ 7290.415495]  &lt;IRQ&gt;  [&lt;ffffffff8138c040&gt;] panic+0x7d/0x13a
&lt;4&gt;[ 7290.415519]  [&lt;ffffffff8101071a&gt;] oops_end+0xda/0xe0
&lt;4&gt;[ 7290.415538]  [&lt;ffffffff8102e1ea&gt;] no_context+0xea/0x250
&lt;4&gt;[ 7290.415557]  [&lt;ffffffff81038991&gt;] ? select_task_rq_fair+0x511/0x780
&lt;4&gt;[ 7290.415578]  [&lt;ffffffff8102e475&gt;] __bad_area_nosemaphore+0x125/0x1e0
&lt;4&gt;[ 7290.415597]  [&lt;ffffffff81038d0c&gt;] ? __enqueue_entity+0x7c/0x80
&lt;4&gt;[ 7290.415616]  [&lt;ffffffff81039201&gt;] ? enqueue_task_fair+0x111/0x150
&lt;4&gt;[ 7290.415636]  [&lt;ffffffff8102e53e&gt;] bad_area_nosemaphore+0xe/0x10
&lt;4&gt;[ 7290.415656]  [&lt;ffffffff8102e8fa&gt;] do_page_fault+0x26a/0x320
&lt;4&gt;[ 7290.415674]  [&lt;ffffffff813905df&gt;] page_fault+0x1f/0x30
&lt;4&gt;[ 7290.415697]  [&lt;ffffffffa0dd53a1&gt;] ? iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;4&gt;[ 7290.415723]  [&lt;ffffffffa0dc8c47&gt;] iwl3945_irq_tasklet+0x657/0x1740 [iwl3945]
&lt;4&gt;[ 7290.415746]  [&lt;ffffffff8138fc60&gt;] ? _spin_unlock+0x30/0x60
&lt;4&gt;[ 7290.415764]  [&lt;ffffffff81049a21&gt;] tasklet_action+0x101/0x110
&lt;4&gt;[ 7290.415783]  [&lt;ffffffff8104a3d0&gt;] __do_softirq+0xc0/0x160
&lt;4&gt;[ 7290.415801]  [&lt;ffffffff8100d01c&gt;] call_softirq+0x1c/0x30
&lt;4&gt;[ 7290.415818]  [&lt;ffffffff8100eff5&gt;] do_softirq+0x75/0xb0
&lt;4&gt;[ 7290.415835]  [&lt;ffffffff81049ee5&gt;] irq_exit+0x95/0xa0
&lt;4&gt;[ 7290.415852]  [&lt;ffffffff8100e547&gt;] do_IRQ+0x77/0xf0
&lt;4&gt;[ 7290.415869]  [&lt;ffffffff8100c7d3&gt;] ret_from_intr+0x0/0xf
&lt;4&gt;[ 7290.415883]  &lt;EOI&gt;  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415911]  [&lt;ffffffff81234f04&gt;] ? acpi_idle_enter_bm+0x27a/0x2a5
&lt;4&gt;[ 7290.415931]  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415952]  [&lt;ffffffff812c11f3&gt;] ? cpuidle_idle_call+0x93/0xf0
&lt;4&gt;[ 7290.415971]  [&lt;ffffffff8100b0d7&gt;] ? cpu_idle+0xa7/0x110
&lt;4&gt;[ 7290.415989]  [&lt;ffffffff8137b3d5&gt;] ? rest_init+0x75/0x80
&lt;4&gt;[ 7290.416007]  [&lt;ffffffff8158cd0a&gt;] ? start_kernel+0x3a7/0x3b3
&lt;4&gt;[ 7290.416026]  [&lt;ffffffff8158c315&gt;] ? x86_64_start_reservations+0x125/0x129
&lt;4&gt;[ 7290.416047]  [&lt;ffffffff8158c3fd&gt;] ? x86_64_start_kernel+0xe4/0xeb

Reported-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Tested-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Signed-off-by: Zhu Yi &lt;yi.zhu@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

When txq read_ptr equals to write_ptr, iwl_queue_used should
always return false. Because there is no used TFD in this case.

This is a complementary fix to the fix already included in commit "iwl3945:
fix panic in iwl3945 driver". Both fixes are needed to address the panic
below.

This problem was discussed on linux-wireless in
http://thread.gmane.org/gmane.linux.kernel.wireless.general/43568

&lt;1&gt;[ 7290.414172] IP: [&lt;ffffffffa0dd53a1&gt;] iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;4&gt;[ 7290.414205] PGD 0
&lt;1&gt;[ 7290.414214] Thread overran stack, or stack corrupted
&lt;0&gt;[ 7290.414229] Oops: 0002 [#1] PREEMPT SMP
&lt;0&gt;[ 7290.414246] last sysfs file: /sys/devices/platform/coretemp.1/temp1_input
&lt;4&gt;[ 7290.414265] CPU 0
&lt;4&gt;[ 7290.414274] Modules linked in: af_packet nfsd usb_storage usb_libusual cpufreq_powersave exportfs cpufreq_conservative iwl3945 nfs cpufreq_userspace snd_hda_codec_realtek acpi_cpufreq uvcvideo lockd iwlcore snd_hda_intel joydev coretemp nfs_acl videodev snd_hda_codec mac80211 v4l1_compat snd_hwdep sbp2 v4l2_compat_ioctl32 uhci_hcd psmouse auth_rpcgss ohci1394 cfg80211 ehci_hcd video ieee1394 snd_pcm serio_raw battery ac nvidia(P) usbcore output sunrpc evdev lirc_ene0100 snd_page_alloc rfkill tg3 libphy fuse lzo lzo_decompress lzo_compress
&lt;6&gt;[ 7290.414486] Pid: 0, comm: swapper Tainted: P           2.6.32-rc8-wl #213 Aspire 5720
&lt;6&gt;[ 7290.414507] RIP: 0010:[&lt;ffffffffa0dd53a1&gt;]  [&lt;ffffffffa0dd53a1&gt;] iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;6&gt;[ 7290.414541] RSP: 0018:ffff880002203d60  EFLAGS: 00010246
&lt;6&gt;[ 7290.414557] RAX: 000000000000004f RBX: ffff880064c11600 RCX: 0000000000000013
&lt;6&gt;[ 7290.414576] RDX: ffffffffa0ddcf20 RSI: ffff8800512b7008 RDI: 0000000000000038
&lt;6&gt;[ 7290.414596] RBP: ffff880002203dd0 R08: 0000000000000000 R09: 0000000000000100
&lt;6&gt;[ 7290.414616] R10: 0000000000000001 R11: 0000000000000000 R12: 00000000000000a0
&lt;6&gt;[ 7290.414635] R13: 0000000000000002 R14: 0000000000000013 R15: 0000000000020201
&lt;6&gt;[ 7290.414655] FS:  0000000000000000(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
&lt;6&gt;[ 7290.414677] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
&lt;6&gt;[ 7290.414693] CR2: 0000000000000041 CR3: 0000000001001000 CR4: 00000000000006f0
&lt;6&gt;[ 7290.414712] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&lt;6&gt;[ 7290.414732] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&lt;4&gt;[ 7290.414752] Process swapper (pid: 0, threadinfo ffffffff81524000, task ffffffff81528b60)
&lt;0&gt;[ 7290.414772] Stack:
&lt;4&gt;[ 7290.414780]  ffff880002203da0 0000000000000046 0000000000000000 0000000000000046
&lt;4&gt;[ 7290.414804] &lt;0&gt; 0000000000000282 0000000000000282 0000000000000282 ffff880064c12010
&lt;4&gt;[ 7290.414830] &lt;0&gt; ffff880002203db0 ffff880064c11600 ffff880064c12e50 ffff8800512b7000
&lt;0&gt;[ 7290.414858] Call Trace:
&lt;0&gt;[ 7290.414867]  &lt;IRQ&gt;
&lt;4&gt;[ 7290.414884]  [&lt;ffffffffa0dc8c47&gt;] iwl3945_irq_tasklet+0x657/0x1740 [iwl3945]
&lt;4&gt;[ 7290.414910]  [&lt;ffffffff8138fc60&gt;] ? _spin_unlock+0x30/0x60
&lt;4&gt;[ 7290.414931]  [&lt;ffffffff81049a21&gt;] tasklet_action+0x101/0x110
&lt;4&gt;[ 7290.414950]  [&lt;ffffffff8104a3d0&gt;] __do_softirq+0xc0/0x160
&lt;4&gt;[ 7290.414968]  [&lt;ffffffff8100d01c&gt;] call_softirq+0x1c/0x30
&lt;4&gt;[ 7290.414986]  [&lt;ffffffff8100eff5&gt;] do_softirq+0x75/0xb0
&lt;4&gt;[ 7290.415003]  [&lt;ffffffff81049ee5&gt;] irq_exit+0x95/0xa0
&lt;4&gt;[ 7290.415020]  [&lt;ffffffff8100e547&gt;] do_IRQ+0x77/0xf0
&lt;4&gt;[ 7290.415038]  [&lt;ffffffff8100c7d3&gt;] ret_from_intr+0x0/0xf
&lt;0&gt;[ 7290.415052]  &lt;EOI&gt;
&lt;4&gt;[ 7290.415067]  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415087]  [&lt;ffffffff81234f04&gt;] ? acpi_idle_enter_bm+0x27a/0x2a5
&lt;4&gt;[ 7290.415107]  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415130]  [&lt;ffffffff812c11f3&gt;] ? cpuidle_idle_call+0x93/0xf0
&lt;4&gt;[ 7290.415149]  [&lt;ffffffff8100b0d7&gt;] ? cpu_idle+0xa7/0x110
&lt;4&gt;[ 7290.415168]  [&lt;ffffffff8137b3d5&gt;] ? rest_init+0x75/0x80
&lt;4&gt;[ 7290.415187]  [&lt;ffffffff8158cd0a&gt;] ? start_kernel+0x3a7/0x3b3
&lt;4&gt;[ 7290.415206]  [&lt;ffffffff8158c315&gt;] ? x86_64_start_reservations+0x125/0x129
&lt;4&gt;[ 7290.415227]  [&lt;ffffffff8158c3fd&gt;] ? x86_64_start_kernel+0xe4/0xeb
&lt;0&gt;[ 7290.415243] Code: 00 41 39 ce 0f 8d e8 01 00 00 48 8b 47 40 48 63 d2 48 69 d2 98 00 00 00 4c 8b 04 02 48 c7 c2 20 cf dd a0 49 8d 78 38 49 8d 40 4f &lt;c6&gt; 47 09 00 c6 47 0c 00 c6 47 0f 00 c6 47 12 00 c6 47 15 00 49
&lt;1&gt;[ 7290.415382] RIP  [&lt;ffffffffa0dd53a1&gt;] iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;4&gt;[ 7290.415410]  RSP &lt;ffff880002203d60&gt;
&lt;0&gt;[ 7290.415421] CR2: 0000000000000041
&lt;4&gt;[ 7290.415436] ---[ end trace ec46807277caa515 ]---
&lt;0&gt;[ 7290.415450] Kernel panic - not syncing: Fatal exception in interrupt
&lt;4&gt;[ 7290.415468] Pid: 0, comm: swapper Tainted: P      D    2.6.32-rc8-wl #213
&lt;4&gt;[ 7290.415486] Call Trace:
&lt;4&gt;[ 7290.415495]  &lt;IRQ&gt;  [&lt;ffffffff8138c040&gt;] panic+0x7d/0x13a
&lt;4&gt;[ 7290.415519]  [&lt;ffffffff8101071a&gt;] oops_end+0xda/0xe0
&lt;4&gt;[ 7290.415538]  [&lt;ffffffff8102e1ea&gt;] no_context+0xea/0x250
&lt;4&gt;[ 7290.415557]  [&lt;ffffffff81038991&gt;] ? select_task_rq_fair+0x511/0x780
&lt;4&gt;[ 7290.415578]  [&lt;ffffffff8102e475&gt;] __bad_area_nosemaphore+0x125/0x1e0
&lt;4&gt;[ 7290.415597]  [&lt;ffffffff81038d0c&gt;] ? __enqueue_entity+0x7c/0x80
&lt;4&gt;[ 7290.415616]  [&lt;ffffffff81039201&gt;] ? enqueue_task_fair+0x111/0x150
&lt;4&gt;[ 7290.415636]  [&lt;ffffffff8102e53e&gt;] bad_area_nosemaphore+0xe/0x10
&lt;4&gt;[ 7290.415656]  [&lt;ffffffff8102e8fa&gt;] do_page_fault+0x26a/0x320
&lt;4&gt;[ 7290.415674]  [&lt;ffffffff813905df&gt;] page_fault+0x1f/0x30
&lt;4&gt;[ 7290.415697]  [&lt;ffffffffa0dd53a1&gt;] ? iwl3945_rx_reply_tx+0xc1/0x450 [iwl3945]
&lt;4&gt;[ 7290.415723]  [&lt;ffffffffa0dc8c47&gt;] iwl3945_irq_tasklet+0x657/0x1740 [iwl3945]
&lt;4&gt;[ 7290.415746]  [&lt;ffffffff8138fc60&gt;] ? _spin_unlock+0x30/0x60
&lt;4&gt;[ 7290.415764]  [&lt;ffffffff81049a21&gt;] tasklet_action+0x101/0x110
&lt;4&gt;[ 7290.415783]  [&lt;ffffffff8104a3d0&gt;] __do_softirq+0xc0/0x160
&lt;4&gt;[ 7290.415801]  [&lt;ffffffff8100d01c&gt;] call_softirq+0x1c/0x30
&lt;4&gt;[ 7290.415818]  [&lt;ffffffff8100eff5&gt;] do_softirq+0x75/0xb0
&lt;4&gt;[ 7290.415835]  [&lt;ffffffff81049ee5&gt;] irq_exit+0x95/0xa0
&lt;4&gt;[ 7290.415852]  [&lt;ffffffff8100e547&gt;] do_IRQ+0x77/0xf0
&lt;4&gt;[ 7290.415869]  [&lt;ffffffff8100c7d3&gt;] ret_from_intr+0x0/0xf
&lt;4&gt;[ 7290.415883]  &lt;EOI&gt;  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415911]  [&lt;ffffffff81234f04&gt;] ? acpi_idle_enter_bm+0x27a/0x2a5
&lt;4&gt;[ 7290.415931]  [&lt;ffffffff81234efa&gt;] ? acpi_idle_enter_bm+0x270/0x2a5
&lt;4&gt;[ 7290.415952]  [&lt;ffffffff812c11f3&gt;] ? cpuidle_idle_call+0x93/0xf0
&lt;4&gt;[ 7290.415971]  [&lt;ffffffff8100b0d7&gt;] ? cpu_idle+0xa7/0x110
&lt;4&gt;[ 7290.415989]  [&lt;ffffffff8137b3d5&gt;] ? rest_init+0x75/0x80
&lt;4&gt;[ 7290.416007]  [&lt;ffffffff8158cd0a&gt;] ? start_kernel+0x3a7/0x3b3
&lt;4&gt;[ 7290.416026]  [&lt;ffffffff8158c315&gt;] ? x86_64_start_reservations+0x125/0x129
&lt;4&gt;[ 7290.416047]  [&lt;ffffffff8158c3fd&gt;] ? x86_64_start_kernel+0xe4/0xeb

Reported-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Tested-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Signed-off-by: Zhu Yi &lt;yi.zhu@intel.com&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>rt2x00: Disable powersaving for rt61pci and rt2800pci.</title>
<updated>2010-01-06T23:05:23+00:00</updated>
<author>
<name>Gertjan van Wingerde</name>
<email>gwingerde@gmail.com</email>
</author>
<published>2009-12-14T19:33:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3815270b3107d31c8b7bd69461f0bb3c350ee25c'/>
<id>3815270b3107d31c8b7bd69461f0bb3c350ee25c</id>
<content type='text'>
commit 93b6bd26b74efe46b4579592560f9f1cb7b61994 upstream.

We've had many reports of rt61pci failures with powersaving enabled.
Therefore, as a stop-gap measure, disable powersaving of the rt61pci
until we have found a proper solution.
Also disable powersaving on rt2800pci as it most probably will show
the same problem.

Signed-off-by: Gertjan van Wingerde &lt;gwingerde@gmail.com&gt;
Acked-by: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

We've had many reports of rt61pci failures with powersaving enabled.
Therefore, as a stop-gap measure, disable powersaving of the rt61pci
until we have found a proper solution.
Also disable powersaving on rt2800pci as it most probably will show
the same problem.

Signed-off-by: Gertjan van Wingerde &lt;gwingerde@gmail.com&gt;
Acked-by: Ivo van Doorn &lt;IvDoorn@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>orinoco: fix GFP_KERNEL in orinoco_set_key with interrupts disabled</title>
<updated>2010-01-06T23:04:59+00:00</updated>
<author>
<name>Andrey Borzenkov</name>
<email>arvidjaar@mail.ru</email>
</author>
<published>2009-12-22T18:38:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3196f989c52765aa202a7917ca381aeafa509a83'/>
<id>3196f989c52765aa202a7917ca381aeafa509a83</id>
<content type='text'>
commit 5b0691508aa99d309101a49b4b084dc16b3d7019 upstream.

orinoco_set_key is called from two places both with interrupts disabled
(under orinoco_lock). Use GFP_ATOMIC instead of GFP_KERNEL. Fixes following
warning:

[   77.254109] WARNING: at /home/bor/src/linux-git/kernel/lockdep.c:2465 lockdep_trace_alloc+0x9a/0xa0()
[   77.254109] Hardware name: PORTEGE 4000
[   77.254109] Modules linked in: af_packet irnet ppp_generic slhc ircomm_tty ircomm binfmt_misc dm_mirror dm_region_hash dm_log dm_round_robin dm_multipath dm_mod loop nvram toshiba cryptomgr aead pcompress crypto_blkcipher michael_mic crypto_hash crypto_algapi orinoco_cs orinoco cfg80211 smsc_ircc2 pcmcia irda toshiba_acpi yenta_socket video i2c_ali1535 backlight rsrc_nonstatic ali_agp pcmcia_core psmouse output crc_ccitt i2c_core alim1535_wdt rfkill sg evdev ohci_hcd agpgart usbcore pata_ali libata reiserfs [last unloaded: scsi_wait_scan]
[   77.254109] Pid: 2296, comm: wpa_supplicant Not tainted 2.6.32-1avb #1
[   77.254109] Call Trace:
[   77.254109]  [&lt;c011f0ad&gt;] warn_slowpath_common+0x6d/0xa0
[   77.254109]  [&lt;c014206a&gt;] ? lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c014206a&gt;] ? lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c011f0f5&gt;] warn_slowpath_null+0x15/0x20
[   77.254109]  [&lt;c014206a&gt;] lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c018d296&gt;] __kmalloc+0x36/0x130
[   77.254109]  [&lt;dffcb6a8&gt;] ? orinoco_set_key+0x48/0x1c0 [orinoco]
[   77.254109]  [&lt;dffcb6a8&gt;] orinoco_set_key+0x48/0x1c0 [orinoco]
[   77.254109]  [&lt;dffcb9fc&gt;] orinoco_ioctl_set_encodeext+0x1dc/0x2d0 [orinoco]
[   77.254109]  [&lt;c035b117&gt;] ioctl_standard_call+0x207/0x3b0
[   77.254109]  [&lt;dffcb820&gt;] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
[   77.254109]  [&lt;c0307f1f&gt;] ? rtnl_lock+0xf/0x20
[   77.254109]  [&lt;c0307f1f&gt;] ? rtnl_lock+0xf/0x20
[   77.254109]  [&lt;c02fb115&gt;] ? __dev_get_by_name+0x85/0xb0
[   77.254109]  [&lt;c035b616&gt;] wext_handle_ioctl+0x176/0x200
[   77.254109]  [&lt;dffcb820&gt;] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
[   77.254109]  [&lt;c030020f&gt;] dev_ioctl+0x6af/0x730
[   77.254109]  [&lt;c02eec65&gt;] ? move_addr_to_kernel+0x55/0x60
[   77.254109]  [&lt;c02eed59&gt;] ? sys_sendto+0xe9/0x130
[   77.254109]  [&lt;c02ed77e&gt;] sock_ioctl+0x7e/0x250
[   77.254109]  [&lt;c02ed700&gt;] ? sock_ioctl+0x0/0x250
[   77.254109]  [&lt;c019cf4c&gt;] vfs_ioctl+0x1c/0x70
[   77.254109]  [&lt;c019d1fa&gt;] do_vfs_ioctl+0x6a/0x590
[   77.254109]  [&lt;c0178e50&gt;] ? might_fault+0x90/0xa0
[   77.254109]  [&lt;c0178e0a&gt;] ? might_fault+0x4a/0xa0
[   77.254109]  [&lt;c02ef90e&gt;] ? sys_socketcall+0x17e/0x280
[   77.254109]  [&lt;c019d759&gt;] sys_ioctl+0x39/0x60
[   77.254109]  [&lt;c0102e3b&gt;] sysenter_do_call+0x12/0x32
[   77.254109] ---[ end trace 95ef563548d21efd ]---

Signed-off-by: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

orinoco_set_key is called from two places both with interrupts disabled
(under orinoco_lock). Use GFP_ATOMIC instead of GFP_KERNEL. Fixes following
warning:

[   77.254109] WARNING: at /home/bor/src/linux-git/kernel/lockdep.c:2465 lockdep_trace_alloc+0x9a/0xa0()
[   77.254109] Hardware name: PORTEGE 4000
[   77.254109] Modules linked in: af_packet irnet ppp_generic slhc ircomm_tty ircomm binfmt_misc dm_mirror dm_region_hash dm_log dm_round_robin dm_multipath dm_mod loop nvram toshiba cryptomgr aead pcompress crypto_blkcipher michael_mic crypto_hash crypto_algapi orinoco_cs orinoco cfg80211 smsc_ircc2 pcmcia irda toshiba_acpi yenta_socket video i2c_ali1535 backlight rsrc_nonstatic ali_agp pcmcia_core psmouse output crc_ccitt i2c_core alim1535_wdt rfkill sg evdev ohci_hcd agpgart usbcore pata_ali libata reiserfs [last unloaded: scsi_wait_scan]
[   77.254109] Pid: 2296, comm: wpa_supplicant Not tainted 2.6.32-1avb #1
[   77.254109] Call Trace:
[   77.254109]  [&lt;c011f0ad&gt;] warn_slowpath_common+0x6d/0xa0
[   77.254109]  [&lt;c014206a&gt;] ? lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c014206a&gt;] ? lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c011f0f5&gt;] warn_slowpath_null+0x15/0x20
[   77.254109]  [&lt;c014206a&gt;] lockdep_trace_alloc+0x9a/0xa0
[   77.254109]  [&lt;c018d296&gt;] __kmalloc+0x36/0x130
[   77.254109]  [&lt;dffcb6a8&gt;] ? orinoco_set_key+0x48/0x1c0 [orinoco]
[   77.254109]  [&lt;dffcb6a8&gt;] orinoco_set_key+0x48/0x1c0 [orinoco]
[   77.254109]  [&lt;dffcb9fc&gt;] orinoco_ioctl_set_encodeext+0x1dc/0x2d0 [orinoco]
[   77.254109]  [&lt;c035b117&gt;] ioctl_standard_call+0x207/0x3b0
[   77.254109]  [&lt;dffcb820&gt;] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
[   77.254109]  [&lt;c0307f1f&gt;] ? rtnl_lock+0xf/0x20
[   77.254109]  [&lt;c0307f1f&gt;] ? rtnl_lock+0xf/0x20
[   77.254109]  [&lt;c02fb115&gt;] ? __dev_get_by_name+0x85/0xb0
[   77.254109]  [&lt;c035b616&gt;] wext_handle_ioctl+0x176/0x200
[   77.254109]  [&lt;dffcb820&gt;] ? orinoco_ioctl_set_encodeext+0x0/0x2d0 [orinoco]
[   77.254109]  [&lt;c030020f&gt;] dev_ioctl+0x6af/0x730
[   77.254109]  [&lt;c02eec65&gt;] ? move_addr_to_kernel+0x55/0x60
[   77.254109]  [&lt;c02eed59&gt;] ? sys_sendto+0xe9/0x130
[   77.254109]  [&lt;c02ed77e&gt;] sock_ioctl+0x7e/0x250
[   77.254109]  [&lt;c02ed700&gt;] ? sock_ioctl+0x0/0x250
[   77.254109]  [&lt;c019cf4c&gt;] vfs_ioctl+0x1c/0x70
[   77.254109]  [&lt;c019d1fa&gt;] do_vfs_ioctl+0x6a/0x590
[   77.254109]  [&lt;c0178e50&gt;] ? might_fault+0x90/0xa0
[   77.254109]  [&lt;c0178e0a&gt;] ? might_fault+0x4a/0xa0
[   77.254109]  [&lt;c02ef90e&gt;] ? sys_socketcall+0x17e/0x280
[   77.254109]  [&lt;c019d759&gt;] sys_ioctl+0x39/0x60
[   77.254109]  [&lt;c0102e3b&gt;] sysenter_do_call+0x12/0x32
[   77.254109] ---[ end trace 95ef563548d21efd ]---

Signed-off-by: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>b43: avoid PPC fault during resume</title>
<updated>2010-01-06T23:04:45+00:00</updated>
<author>
<name>Larry Finger</name>
<email>Larry.Finger@lwfinger.net</email>
</author>
<published>2009-11-24T00:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7fcb55881eb7a15e58ccfe81b4fe35fb06b12a7e'/>
<id>7fcb55881eb7a15e58ccfe81b4fe35fb06b12a7e</id>
<content type='text'>
commit c2ff581acab16c6af56d9e8c1a579bf041ec00b1 upstream.

The routine b43_is_hw_radio_enabled() has long been a problem.
For PPC architecture with PHY Revision &lt; 3, a read of the register
B43_MMIO_HWENABLED_LO will cause a CPU fault unless b43_status()
returns a value of 2 (B43_STAT_STARTED) (BUG 14181). Fixing that
results in Bug 14538 in which the driver is unable to reassociate
after resuming from hibernation because b43_status() returns 0.

The correct fix would be to determine why the status is 0; however,
I have not yet found why that happens. The correct value is found for
my device, which has PHY revision &gt;= 3.

Returning TRUE when the PHY revision &lt; 3 and b43_status() returns 0 fixes
the regression for 2.6.32.

This patch fixes the problem in Red Hat Bugzilla #538523.

Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Tested-by: Christian Casteyde &lt;casteyde.christian@free.fr&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

The routine b43_is_hw_radio_enabled() has long been a problem.
For PPC architecture with PHY Revision &lt; 3, a read of the register
B43_MMIO_HWENABLED_LO will cause a CPU fault unless b43_status()
returns a value of 2 (B43_STAT_STARTED) (BUG 14181). Fixing that
results in Bug 14538 in which the driver is unable to reassociate
after resuming from hibernation because b43_status() returns 0.

The correct fix would be to determine why the status is 0; however,
I have not yet found why that happens. The correct value is found for
my device, which has PHY revision &gt;= 3.

Returning TRUE when the PHY revision &lt; 3 and b43_status() returns 0 fixes
the regression for 2.6.32.

This patch fixes the problem in Red Hat Bugzilla #538523.

Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Tested-by: Christian Casteyde &lt;casteyde.christian@free.fr&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>e100: Fix broken cbs accounting due to missing memset.</title>
<updated>2010-01-06T23:04:38+00:00</updated>
<author>
<name>Roger Oksanen</name>
<email>roger.oksanen@cs.helsinki.fi</email>
</author>
<published>2009-12-19T04:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ee6bfc69e69474840cacb2f665831aff29bdbb40'/>
<id>ee6bfc69e69474840cacb2f665831aff29bdbb40</id>
<content type='text'>
commit 70abc8cb90e679d8519721e2761d8366a18212a6 upstream.

Alan Stern noticed that e100 caused slab corruption.
commit 98468efddb101f8a29af974101c17ba513b07be1 changed
the allocation of cbs to use dma pools that don't return zeroed memory,
especially the cb-&gt;status field used to track which cb to clean, causing
(the visible) double freeing of skbs and a wrong free cbs count.

Now the cbs are explicitly zeroed at allocation time.

Reported-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Roger Oksanen &lt;roger.oksanen@cs.helsinki.fi&gt;
Acked-by: Jesse Brandeburg &lt;jesse.brandeburg@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

Alan Stern noticed that e100 caused slab corruption.
commit 98468efddb101f8a29af974101c17ba513b07be1 changed
the allocation of cbs to use dma pools that don't return zeroed memory,
especially the cb-&gt;status field used to track which cb to clean, causing
(the visible) double freeing of skbs and a wrong free cbs count.

Now the cbs are explicitly zeroed at allocation time.

Reported-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Roger Oksanen &lt;roger.oksanen@cs.helsinki.fi&gt;
Acked-by: Jesse Brandeburg &lt;jesse.brandeburg@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: fix 40MHz operation setting on cards that do not allow it</title>
<updated>2010-01-06T23:04:26+00:00</updated>
<author>
<name>Reinette Chatre</name>
<email>reinette.chatre@intel.com</email>
</author>
<published>2009-12-14T22:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=14b4d749ab35158853bca4868b42c0a8cb947206'/>
<id>14b4d749ab35158853bca4868b42c0a8cb947206</id>
<content type='text'>
commit 6c3069b1e7e983e176a5f826e2edffefdd404a08 upstream.

Some devices have 40MHz operation disabled entirely. Ensure that driver do
not enable 40MHz operation if a channel does not allow this.

This fixes http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2135

Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

Some devices have 40MHz operation disabled entirely. Ensure that driver do
not enable 40MHz operation if a channel does not allow this.

This fixes http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2135

Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: fix more eeprom endian bugs</title>
<updated>2010-01-06T23:04:25+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes@sipsolutions.net</email>
</author>
<published>2009-12-14T22:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c4ae8aea88809050e8ae76a8c3e252ba3fe6e2cc'/>
<id>c4ae8aea88809050e8ae76a8c3e252ba3fe6e2cc</id>
<content type='text'>
commit b7bb1756cb6a610cdbac8cfdad9e79bb5670b63b upstream.

I've also for a long time had a problem with the
temperature calculation code, which I had fixed
by byte-swapping the values, and now it turns out
that was the correct fix after all.

Also, any use of iwl_eeprom_query_addr() that is
for more than a u8 must be cast to little endian,
and some structs as well.

Fix all this. Again, no real impact on platforms
that already are little endian.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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

I've also for a long time had a problem with the
temperature calculation code, which I had fixed
by byte-swapping the values, and now it turns out
that was the correct fix after all.

Also, any use of iwl_eeprom_query_addr() that is
for more than a u8 must be cast to little endian,
and some structs as well.

Fix all this. Again, no real impact on platforms
that already are little endian.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: Reinette Chatre &lt;reinette.chatre@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
</feed>
